ir
[Interface specifications]


Detailed Description

Array of infrared rangersThe ir interface provides access to an array of infrared (IR) range sensors.

#define PLAYER_IR_MAX_SAMPLES   32
#define PLAYER_IR_POSE   1
 Request/reply subtype: get pose.
#define PLAYER_IR_POWER   2
 Request/reply subtype: set power.
#define PLAYER_IR_DATA_RANGES   1
 Data subtype: ranges.
typedef struct
player_ir_data 
player_ir_data_t
typedef struct
player_ir_pose 
player_ir_pose_t
typedef struct
player_ir_power_req 
player_ir_power_req_t

Define Documentation

#define PLAYER_IR_MAX_SAMPLES   32

Maximum number of samples


Typedef Documentation

Data: ranges (PLAYER_IR_DATA_RANGES)The ir interface returns range readings from the IR array.

Request/reply: get poseTo query the pose of the IRs, send a null PLAYER_IR_POSE request.

Request/reply: set powerTo turn IR power on and off, send a PLAYER_IR_POWER request. Null response.


Last updated 12 September 2005 21:38:45