truth (deprecated)
[Interface specifications]
Detailed Description
Access to true state- Deprecated:
- This interface has been superceded by the simulation interface.
truth
interface provides access to the absolute state of entities. Note that, unless your robot has superpowers, truth
devices are only avilable in simulation.
#define | PLAYER_TRUTH_DATA_POSE 0x01 |
#define | PLAYER_TRUTH_DATA_FIDUCIAL_ID 0x02 |
Data subtype. | |
#define | PLAYER_TRUTH_REQ_SET_POSE 0x03 |
Request subtypes. | |
#define | PLAYER_TRUTH_REQ_SET_FIDUCIAL_ID 0x04 |
Request subtypes. | |
#define | PLAYER_TRUTH_REQ_GET_FIDUCIAL_ID 0x05 |
Request subtypes. | |
typedef struct player_truth_pose | player_truth_pose_t |
typedef struct player_truth_fiducial_id | player_truth_fiducial_id_t |
Define Documentation
#define PLAYER_TRUTH_DATA_POSE 0x01 |
Data subtype
#define PLAYER_TRUTH_REQ_GET_FIDUCIAL_ID 0x05 |
Request subtypes.
#define PLAYER_TRUTH_REQ_SET_FIDUCIAL_ID 0x04 |
Request subtypes.
#define PLAYER_TRUTH_REQ_SET_POSE 0x03 |
Request subtypes.
Typedef Documentation
typedef struct player_truth_fiducial_id player_truth_fiducial_id_t |
Configuration request: Get/set fiducial ID number.
To get the fiducial ID of an object, use the following request, filling in only the subtype with PLAYER_TRUTH_REQ_GET_FIDUCIAL_ID. The server will respond with the ID field filled in. To set the fiducial ID, set the subtype to PLAYER_TRUTH_REQ_SET_FIDUCIAL_ID and fill in the ID field with the desired value.
typedef struct player_truth_pose player_truth_pose_t |
DataThe truth
interface returns data concerning the current state of an entity.