odometry.h
Definition: pf_vector.h:41
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
const char * ReadString(int section, const char *name, const char *value)
Read a string value.
#define PLAYER_POWER_DATA_STATE
Data subtype: voltage.
Definition: player_interfaces.h:274
#define PLAYER_POWER_MASK_VOLTS
bit masks for the player_power_data_t mask field
Definition: player_interfaces.h:282
Definition: pf_pdf.h:48
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
bool ReadBool(int section, const char *name, bool value)
Read a boolean value (one of: yes, no, true, false, 1, 0)
Definition: odometry.h:43
int32_t charging
charge exchange status: if 1, the device is currently receiving charge from another energy device.
Definition: player_interfaces.h:311
#define PLAYER_CAPABILITIES_REQ
Capability request message type.
Definition: player.h:397
#define PLAYER_POWER_MASK_CHARGING
Data subtype: voltage.
Definition: player_interfaces.h:286
float percent
Percent of full charge [%].
Definition: player_interfaces.h:301
Definition: pf_vector.h:48
#define PLAYER_POWER_MASK_PERCENT
Data subtype: voltage.
Definition: player_interfaces.h:285
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:76