Defines | Enumerations

robodata.h File Reference

This graph shows which files directly or indirectly include this file:

Defines

#define SET_THREAD_PRIORITY(tid, prio)
 FSM MACROS.

Enumerations

enum  { ROBO_COMPETING = 0, ROBO_TESTING }
 

robodata.h 08/04/11

More...

Define Documentation

#define SET_THREAD_PRIORITY (   tid,
  prio 
)
Value:
sched_param param; \
pthread_attr_t tattr; \
pthread_attr_init (&tattr); \
pthread_attr_getschedparam (&tattr, &param); \
param.sched_priority = prio;\
pthread_attr_setschedparam (&tattr, &param);

FSM MACROS.

THREAD PRIORITIES


Enumeration Type Documentation

anonymous enum

robodata.h 08/04/11

Multi-purpose structures and defines for robots.

Copyright: (c) 2008 CTU Dragons CTU FEE - Department of Control Engineering License: GNU GPL v.2

Enumerator:
ROBO_COMPETING 
ROBO_TESTING