ir
[Interface specifications]
Collaboration diagram for ir:
Detailed Description
Array of infrared rangers.
The ir
interface provides access to an array of infrared (IR) range sensors.
#define | PLAYER_IR_REQ_POSE 1 |
Request/reply subtype: get pose. | |
#define | PLAYER_IR_REQ_POWER 2 |
Request/reply subtype: set power. | |
#define | PLAYER_IR_DATA_RANGES 1 |
Data subtype: ranges. | |
typedef player_ir_data | player_ir_data_t |
Data: ranges (PLAYER_IR_DATA_RANGES). | |
typedef player_ir_pose | player_ir_pose_t |
Request/reply: get pose. | |
typedef player_ir_power_req | player_ir_power_req_t |
Request/reply: set power. |
Typedef Documentation
typedef struct player_ir_data player_ir_data_t |
Data: ranges (PLAYER_IR_DATA_RANGES).
The ir
interface returns range readings from the IR array.
typedef struct player_ir_pose player_ir_pose_t |
Request/reply: get pose.
To query the pose of the IRs, send a null PLAYER_IR_POSE request.
typedef struct player_ir_power_req player_ir_power_req_t |
Request/reply: set power.
To turn IR power on and off, send a PLAYER_IR_POWER request. Null response.