statgrab_health.h
#define PLAYER_DIO_CMD_VALUES
Data: input values (PLAYER_DIO_DATA_VALUES)
Definition: player_interfaces.h:1987
#define PLAYER_SPEECH_RECOGNITION_DATA_STRING
Data subtype: recognized string.
Definition: player_interfaces.h:3383
virtual void Publish(player_devaddr_t addr, QueuePointer &queue, uint8_t type, uint8_t subtype, void *src=NULL, size_t deprecated=0, double *timestamp=NULL, bool copy=true)
Publish a message via one of this driver's interfaces.
player_health_memory_t mem
The memory stats
Definition: player_interfaces.h:4645
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:159
#define PLAYER_POINTCLOUD3D_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:4849
#define PLAYER_HEALTH_DATA_STATE
Structure describing the cpu.
Definition: player_interfaces.h:4614
uint8_t blue
Blue color channel.
Definition: player_interfaces.h:5292
#define PLAYER_PTZ_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:1208
virtual void Main()
Main method for driver thread.
Definition: statgrab_health.cpp:158
Definition: nxtdc.hh:102
virtual int MainSetup(void)
Sets up the resources needed by the driver thread.
Definition: driver.h:658
virtual void MainQuit(void)
Cleanup method for driver thread (called when main exits)
Definition: driver.h:664
int MainSetup()
Sets up the resources needed by the driver thread.
Definition: statgrab_health.cpp:141
const char * ReadString(int section, const char *name, const char *value)
Read a string value.
Data: Get cloud (PLAYER_POINTCLOUD3D_DATA_STATE) The basic 3dcloudpoint data packet.
Definition: player_interfaces.h:4874
uint8_t red
Red color channel.
Definition: player_interfaces.h:5288
const char * ReadFilename(int section, const char *name, const char *value)
Read a filename.
#define PLAYER_CAMERA_FORMAT_MONO16
Image format : 16-bit monochrome (network byte order).
Definition: player_interfaces.h:2938
#define PLAYER_MSGTYPE_RESP_ACK
A positive response message.
Definition: player.h:112
#define PLAYER_CAMERA_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:2922
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
static bool MatchDeviceAddress(player_devaddr_t addr1, player_devaddr_t addr2)
Compare two addresses.
Definition: device.h:201
#define PLAYER_MSGTYPE_RESP_NACK
A negative response message.
Definition: player.h:125
Definition: nxtdc.hh:116
#define PLAYER_GET_INTPROP_REQ
Integer property get request subtype.
Definition: player.h:430
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
Definition: nxtdc.hh:131
Structure describing the HEALTH's data packet.
Definition: player_interfaces.h:4640
#define PLAYER_STEREO_DATA_STATE
Data: state (PLAYER_STEREO_DATA_STATE)
Definition: player_interfaces.h:5276
virtual bool RegisterProperty(const char *key, Property *property, ConfigFile *cf, int section)
Property registration.
#define PLAYER_CAMERA_COMPRESS_RAW
Compression method: raw.
Definition: player_interfaces.h:2945
Definition: v4l2_dyna_ctrls.h:77
player_devaddr_t device_addr
Default device address (single-interface drivers)
Definition: driver.h:269
#define PLAYER_PTZ_CMD_STATE
Command subtype: state.
Definition: player_interfaces.h:1214
player_health_memory_t swap
The swap stats
Definition: player_interfaces.h:4647
#define PLAYER_POSITION2D_DATA_STATE
Data: state (PLAYER_POSITION2D_DATA_STATE)
Definition: player_interfaces.h:568
uint32_t text_count
Length of text.
Definition: player_interfaces.h:3393
3D Pointcloud element structure An element as stored in a 3D pointcloud, containing a 3D position plu...
Definition: player_interfaces.h:4856
#define PLAYER_DIO_DATA_VALUES
Data: input values (PLAYER_DIO_DATA_VALUES)
Definition: player_interfaces.h:1984
player_health_cpu_t cpu_usage
The current cpu usage
Definition: player_interfaces.h:4643
Definition: player_interfaces.h:5279
Definition: v4l2_dyna_ctrls.h:86
Definition: statgrab_health.h:33
uint8_t stall
Are the motors stalled?
Definition: player_interfaces.h:613
uint8_t green
Green color channel.
Definition: player_interfaces.h:5290
#define PLAYER_SET_INTPROP_REQ
Integer property set request subtype.
Definition: player.h:432
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76