scorpion.h File Reference

#include "ersp.inc"

Include dependency graph for scorpion.h:

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

Go to the source code of this file.

Defines

#define ERSP_INCLUDE   "scorpion.inc"
 Scorpion robot configuration.
#define SCORPION_(ID, TYPE, NAME)   ERSP_DEV(SCORPION, ID, TYPE, NAME)
#define SCORPION_INTERFACE(TYPE, ID)   ERSP_INTERFACE(scorpion, TYPE, ID)
#define SCORPION_END   ERSP_INTERFACE_END


Define Documentation

#define ERSP_INCLUDE   "scorpion.inc"

Scorpion robot configuration.

This file defines IDs that can be used by Player programs when accessing data from sensor arrays, such as the bumper and range sensors. It also defines internal IDs used by the driver for refering to the various Scorpion devices. To make the interface for Player programs simpler the "exported" IDs closely mirror the IDs of the robot by using the following syntax:

SCORPION_<robot_id>

Examples of defined IDs are:

SCORPION_BUMP_BNW - The bump sensor aka "Bump_bnw" SCORPION_IR_TN_WDOWN - The binary IR sensor aka "IR_tn_wdown"

Note:
This file should keep free of include dependencies such as ersp.h, so that test programs can easily include it.

Definition at line 24 of file scorpion.h.

#define SCORPION_ ( ID,
TYPE,
NAME   )     ERSP_DEV(SCORPION, ID, TYPE, NAME)

Definition at line 26 of file scorpion.h.

#define SCORPION_END   ERSP_INTERFACE_END

Definition at line 32 of file scorpion.h.

#define SCORPION_INTERFACE ( TYPE,
ID   )     ERSP_INTERFACE(scorpion, TYPE, ID)

Definition at line 29 of file scorpion.h.


Generated on Sat Jan 13 03:11:09 2007 for ERSP Player driver by  doxygen 1.5.1