|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
19 #ifndef YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
20 #define YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
36 #define DEFAULT_THREAD_PERIOD 20 //ms
101 bool close()
override;
154 #endif // YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
A simple collection of objects that can be described and transmitted in a portable way.
A base class for nested structures that can be searched.
contains the definition of a Vector type
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool getBatteryCurrent(double ¤t) override
Get the instantaneous current measurement.
Interface implemented by all device drivers.
yarp::os::Stamp getLastInputStamp() override
Get the time stamp for the last read data.
define control board standard interfaces
batteryClient: The client side of any IBattery capable device.
A mini-server for network communication.
A mini-server for performing network communication in the background.
BatteryInputPortProcessor inputPort
bool getBatteryCharge(double &charge) override
get the battery status of charge
const int BATTERY_TIMEOUT
bool close() override
Close the DeviceDriver.
bool getBatteryTemperature(double &temperature) override
get the battery temperature
An abstraction for a time stamp and/or sequence number.
bool getBatteryStatus(Battery_status &status) override
get the battery status
A generic battery interface.
bool getBatteryVoltage(double &voltage) override
Get the instantaneous voltage measurement.
bool getBatteryInfo(std::string &battery_info) override
get the battery hardware charactestics (e.g.