An array of bumpers. More...

Detailed Description

An array of bumpers.

The bumper interface returns data from a bumper array. This interface accepts no commands.

#define PLAYER_BUMPER_DATA_STATE   1
 Data: state (PLAYER_BUMPER_DATA_GEOM) More...
 
#define PLAYER_BUMPER_DATA_GEOM   2
 Data: state (PLAYER_BUMPER_DATA_GEOM) More...
 
#define PLAYER_BUMPER_REQ_GET_GEOM   1
 Data: state (PLAYER_BUMPER_DATA_GEOM) More...
 
typedef struct player_bumper_data player_bumper_data_t
 Data: state (PLAYER_BUMPER_DATA_GEOM) More...
 
typedef struct player_bumper_define player_bumper_define_t
 The geometry of a single bumper.
 
typedef struct player_bumper_geom player_bumper_geom_t
 Data AND Request/reply: bumper geometry. More...
 

Macro Definition Documentation

◆ PLAYER_BUMPER_DATA_GEOM

#define PLAYER_BUMPER_DATA_GEOM   2

Data: state (PLAYER_BUMPER_DATA_GEOM)

The bumper interface gives current bumper state

◆ PLAYER_BUMPER_DATA_STATE

#define PLAYER_BUMPER_DATA_STATE   1

Data: state (PLAYER_BUMPER_DATA_GEOM)

The bumper interface gives current bumper state

Referenced by RFLEX::Main(), and P2OS::Unsubscribe().

◆ PLAYER_BUMPER_REQ_GET_GEOM

#define PLAYER_BUMPER_REQ_GET_GEOM   1

Data: state (PLAYER_BUMPER_DATA_GEOM)

The bumper interface gives current bumper state

Referenced by RFLEX::ProcessMessage(), and P2OS::ProcessMessage().

Typedef Documentation

◆ player_bumper_data_t

Data: state (PLAYER_BUMPER_DATA_GEOM)

The bumper interface gives current bumper state

◆ player_bumper_geom_t

Data AND Request/reply: bumper geometry.

To query the geometry of a bumper array, send a null PLAYER_BUMPER_REQ_GET_GEOM request. The response will be in this form. This message may also be sent as data with the subtype PLAYER_BUMPER_DATA_GEOM (e.g., from a robot whose bumper can move with respect to its body)