intelligent cooperating objects (WSNs, RFIDs, Networked Robots, etc.) More...

Detailed Description

intelligent cooperating objects (WSNs, RFIDs, Networked Robots, etc.)

The Cooperating Object interface provides access to a Wireless Sensor Network (driver implementations include xbow_generic for Mica2/MicaZ/TelosB WSN motes).

Suport for further Cooperating OBjects such as RFID tags or Networked Robots is left for future work.

#define PLAYER_COOPOBJECT_DATA_HEALTH   1
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_RSSI   2
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_SENSOR   3
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_ALARM   4
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_USERDEFINED   5
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_REQUEST   6
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_COMMAND   7
 Data subtypes.
 
#define PLAYER_COOPOBJECT_DATA_POSITION   8
 Data subtypes.
 
#define PLAYER_COOPOBJECT_CMD_STANDARD   1
 Command subtypes:
 
#define PLAYER_COOPOBJECT_CMD_DATA   2
 Data subtypes.
 
#define PLAYER_COOPOBJECT_CMD_POSITION   3
 Data subtypes.
 
#define PLAYER_COOPOBJECT_REQ_STANDARD   1
 Request subtypes:
 
#define PLAYER_COOPOBJECT_ORIGIN_STATICBASE   0
 Constants to define the different origins.
 
#define PLAYER_COOPOBJECT_ORIGIN_MOBILEBASE   1
 Data subtypes.
 
#define PLAYER_COOPOBJECT_ORIGIN_MOTE   2
 Data subtypes.
 
#define PLAYER_COOPOBJECT_ORIGIN_ROBOT   3
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_NONE   -1
 Constants to define the different types of message. More...
 
#define PLAYER_COOPOBJECT_MSG_HEALTH   0
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_POSITION   1
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_RSSI   2
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_SENSOR   3
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_ALARM   4
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_REQUEST   5
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MSG_COMMAND   6
 Data subtypes.
 
#define PLAYER_COOPOBJECT_TEMPERATURE   0
 Constants to define the different types of sensor or alarms. More...
 
#define PLAYER_COOPOBJECT_HUMIDITY   1
 Data subtypes.
 
#define PLAYER_COOPOBJECT_PRESSURE   2
 Data subtypes.
 
#define PLAYER_COOPOBJECT_LIGHT_1   3
 Data subtypes.
 
#define PLAYER_COOPOBJECT_LIGHT_2   4
 Data subtypes.
 
#define PLAYER_COOPOBJECT_ACCEL_X   5
 Data subtypes.
 
#define PLAYER_COOPOBJECT_ACCEL_Y   6
 Data subtypes.
 
#define PLAYER_COOPOBJECT_ACCEL_Z   7
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MAGNETOMETER_X   8
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MAGNETOMETER_Y   9
 Data subtypes.
 
#define PLAYER_COOPOBJECT_MAGNETOMETER_Z   10
 Data subtypes.
 
#define PLAYER_COOPOBJECT_COMPASS   11
 Data subtypes.
 
#define PLAYER_COOPOBJECT_CO   12
 Data subtypes.
 
#define PLAYER_COOPOBJECT_CO2   13
 Data subtypes.
 
#define PLAYER_COOPOBJECT_H2   14
 Data subtypes.
 
#define PLAYER_COOPOBJECT_SMOKE   15
 Constants to define the different types of alarms. More...
 
#define PLAYER_COOPOBJECT_OPTSWITCH   16
 Data subtypes.
 
typedef struct player_coopobject_header player_coopobject_header_t
 Data (PLAYER_COOPOBJECT_DATA_HEALTH)
 
typedef struct player_coopobject_rssi player_coopobject_rssi_t
 Data (PLAYER_COOPOBJECT_DATA_RSSI)
 
typedef struct player_coopobject_position player_coopobject_position_t
 The WSN position packet provides the position of the node. More...
 
typedef struct player_coopobject_sensor player_coopobject_sensor_t
 Data subtypes.
 
typedef struct player_coopobject_data_sensor player_coopobject_data_sensor_t
 Data (PLAYER_COOPOBJECT_DATA_SENSOR) More...
 
typedef struct player_coopobject_data_userdefined player_coopobject_data_userdefined_t
 Data (PLAYER_COOPOBJECT_DATA_USERDEFINED) More...
 
typedef struct player_coopobject_req player_coopobject_req_t
 Request: send request from robot to any or all WSN nodes or viceversa. More...
 
typedef struct player_coopobject_cmd player_coopobject_cmd_t
 Command: send command from robot to any or all WSN nodes or viceversa. More...
 

Macro Definition Documentation

◆ PLAYER_COOPOBJECT_MSG_NONE

#define PLAYER_COOPOBJECT_MSG_NONE   -1

Constants to define the different types of message.

◆ PLAYER_COOPOBJECT_SMOKE

#define PLAYER_COOPOBJECT_SMOKE   15

Constants to define the different types of alarms.

◆ PLAYER_COOPOBJECT_TEMPERATURE

#define PLAYER_COOPOBJECT_TEMPERATURE   0

Constants to define the different types of sensor or alarms.

Typedef Documentation

◆ player_coopobject_cmd_t

Command: send command from robot to any or all WSN nodes or viceversa.

(PLAYER_COOPOBJECT_DATA_COMMAND) (PLAYER_COOPOBJECT_COMMAND_STANDARD)

◆ player_coopobject_data_sensor_t

◆ player_coopobject_data_userdefined_t

Data (PLAYER_COOPOBJECT_DATA_USERDEFINED)

The WSN data packet describes a wireless sensor network node.

◆ player_coopobject_position_t

The WSN position packet provides the position of the node.

◆ player_coopobject_req_t

Request: send request from robot to any or all WSN nodes or viceversa.

(PLAYER_COOPOBJECT_DATA_REQUEST) (PLAYER_COOPOBJECT_REQUEST_STANDARD)