6#ifndef YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
7#define YARP_DEV_BATTERYCLIENT_BATTERYCLIENT_H
23#define DEFAULT_THREAD_PERIOD 20
97 bool close()
override;
define control board standard interfaces
contains the definition of a Vector type
const int BATTERY_TIMEOUT
Battery_nwc_yarp: The client side of any IBattery capable device.
bool close() override
Shut the object down.
yarp::os::Stamp getLastInputStamp() override
Get the time stamp for the last read data.
bool getBatteryVoltage(double &voltage) override
Get the instantaneous voltage measurement.
bool getBatteryCharge(double &charge) override
get the battery status of charge
bool open(yarp::os::Searchable &config) override
Initialize the object.
bool getBatteryTemperature(double &temperature) override
get the battery temperature
bool getBatteryStatus(Battery_status &status) override
get the battery status
bool getBatteryCurrent(double ¤t) override
Get the instantaneous current measurement.
bool getBatteryInfo(std::string &battery_info) override
get the battery hardware charactestics (e.g.
BatteryInputPortProcessor inputPort
Interface implemented by all device drivers.
A generic battery interface.
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
BufferedPort()
Constructor.
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.