120#define ROB_SECT_ROBOTS "Robots"
122#define ROB_LIST_INDEX "index"
124#define ROB_ATTR_NAME "name"
125#define ROB_ATTR_TEAM "team"
126#define ROB_ATTR_DESC "desc"
127#define ROB_ATTR_AUTHOR "author"
128#define ROB_ATTR_CAR "car name"
129#define ROB_ATTR_CATEGORY "category"
130#define ROB_ATTR_RACENUM "race number"
131#define ROB_ATTR_RED "red"
132#define ROB_ATTR_GREEN "green"
133#define ROB_ATTR_BLUE "blue"
135#define ROB_ATTR_TYPE "type"
137#define ROB_VAL_HUMAN "human"
138#define ROB_VAL_ROBOT "robot"
140#define ROB_ATTR_LEVEL "skill level"
142#define ROB_VAL_ROOKIE "rookie"
143#define ROB_VAL_AMATEUR "amateur"
144#define ROB_VAL_SEMI_PRO "semi-pro"
145#define ROB_VAL_PRO "pro"
struct CarElt tCarElt
Car structure (tCarElt).
int(* tfRbPitCmd)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, handing over pit stop commands.
struct RobotItf tRobotItf
Interface Structure for Robots.
void(* tfRbShutdown)(int index)
Callback function prototype for robot module, shutdown robot instance for given index.
void(* tfRbNewRace)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, initialization for new race.
void(* tfRbDrive)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, driving the car.
void(* tfRbNewTrack)(int index, tTrack *track, void *carHandle, void **myCarSettings, tSituation *s)
Callback function prototype for robot module, give the robot the track view, called for every track c...
void(* tfRbEndRace)(int index, tCarElt *car, tSituation *s)
Callback function prototype for robot module, teardown after race, this is currently NOT called by TO...
This is the race information structures.
struct Situation tSituation
cars situation used to inform the GUI and the drivers
Interface Structure for Robots.
int track(tModInfo *modInfo)