ir
[Interface specifications]


Detailed Description

Array of infrared rangers.

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

#define PLAYER_IR_MAX_SAMPLES   32
 Maximum number of samples.
#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 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.


Last updated 12 September 2005 21:38:45