DEPRECATED Array of ultrasonic rangers More...

Detailed Description

DEPRECATED Array of ultrasonic rangers

The sonar interface provides access to a collection of fixed range sensors, such as a sonar array.

This interface is deprecated. Use the ranger instead.

 Request/reply subtype: get geometry.
 Request/reply subtype: power.
 Data subtype: ranges.
 Data subtype: geometry.
typedef struct player_sonar_data player_sonar_data_t
typedef struct player_sonar_geom player_sonar_geom_t
 Data AND Request/reply: geometry.
typedef struct
 Request/reply: Sonar power.

Typedef Documentation


The sonar interface returns readings from a robot's sonars.

Data AND Request/reply: geometry.

To query the geometry of the sonar transducers, send a null PLAYER_SONAR_REQ_GET_GEOM request. Depending on the underlying driver, this message can also be sent as data with the subtype PLAYER_SONAR_DATA_GEOM.

Request/reply: Sonar power.

On some robots, the sonars can be turned on and off from software. To do so, send a PLAYER_SONAR_REQ_POWER request. Null response.