Robot Module Interface Definition.
More...
Go to the source code of this file.
|
| typedef 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 change or new race. More...
|
| |
| typedef void(* | tfRbNewRace) (int index, tCarElt *car, tSituation *s) |
| | Callback function prototype for robot module, initialization for new race. More...
|
| |
| typedef void(* | tfRbEndRace) (int index, tCarElt *car, tSituation *s) |
| | Callback function prototype for robot module, teardown after race, this is currently NOT called by TORCS. More...
|
| |
| typedef void(* | tfRbDrive) (int index, tCarElt *car, tSituation *s) |
| | Callback function prototype for robot module, driving the car. More...
|
| |
| typedef void(* | tfRbShutdown) (int index) |
| | Callback function prototype for robot module, shutdown robot instance for given index. More...
|
| |
| typedef int(* | tfRbPitCmd) (int index, tCarElt *car, tSituation *s) |
| | Callback function prototype for robot module, handing over pit stop commands. More...
|
| |
| typedef struct RobotItf | tRobotItf |
| | Interface Structure for Robots. More...
|
| |
Robot Module Interface Definition.
- Author
- Bernhard Wymann, Eric Espie
- Version
- $Id$
Definition in file robot.h.
◆ ROB_ATTR_AUTHOR
| #define ROB_ATTR_AUTHOR "author" |
◆ ROB_ATTR_BLUE
| #define ROB_ATTR_BLUE "blue" |
◆ ROB_ATTR_CAR
| #define ROB_ATTR_CAR "car name" |
◆ ROB_ATTR_CATEGORY
| #define ROB_ATTR_CATEGORY "category" |
◆ ROB_ATTR_DESC
| #define ROB_ATTR_DESC "desc" |
◆ ROB_ATTR_GREEN
| #define ROB_ATTR_GREEN "green" |
◆ ROB_ATTR_LEVEL
| #define ROB_ATTR_LEVEL "skill level" |
◆ ROB_ATTR_NAME
| #define ROB_ATTR_NAME "name" |
◆ ROB_ATTR_RACENUM
| #define ROB_ATTR_RACENUM "race number" |
◆ ROB_ATTR_RED
| #define ROB_ATTR_RED "red" |
◆ ROB_ATTR_TEAM
| #define ROB_ATTR_TEAM "team" |
◆ ROB_ATTR_TYPE
| #define ROB_ATTR_TYPE "type" |
◆ ROB_IDENT
◆ ROB_LIST_INDEX
| #define ROB_LIST_INDEX "index" |
◆ ROB_PIT_IM
Immediate return from pit command.
Definition at line 100 of file robot.h.
◆ ROB_PIT_MENU
Call the interactive menu for pit command.
Definition at line 101 of file robot.h.
◆ ROB_SECT_ROBOTS
| #define ROB_SECT_ROBOTS "Robots" |
◆ ROB_VAL_AMATEUR
| #define ROB_VAL_AMATEUR "amateur" |
◆ ROB_VAL_HUMAN
| #define ROB_VAL_HUMAN "human" |
◆ ROB_VAL_PRO
| #define ROB_VAL_PRO "pro" |
◆ ROB_VAL_ROBOT
| #define ROB_VAL_ROBOT "robot" |
◆ ROB_VAL_ROOKIE
| #define ROB_VAL_ROOKIE "rookie" |
◆ ROB_VAL_SEMI_PRO
| #define ROB_VAL_SEMI_PRO "semi-pro" |