|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_FAKEBATTERY_H
10 #define YARP_FAKEBATTERY_H
56 bool close()
override;
FakeBattery & operator=(const FakeBattery &)=delete
bool close() override
Close the DeviceDriver.
A base class for nested structures that can be searched.
FakeBattery(FakeBattery &&)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
Interface implemented by all device drivers.
void run() override
Loop function.
double getBatteryVoltage() override
double getBatteryTemperature() override
double getBatteryCharge() override
std::string getBatteryInfo() override
void setBatteryCharge(const double charge) override
double battery_temperature
FakeBattery & operator=(FakeBattery &&)=delete
A port that is specialized as an RPC server.
An abstraction for a periodic thread.
yarp::os::RpcServer ctrl_port
void setBatteryVoltage(const double voltage) override
void setBatteryCurrent(const double current) override
fakeBattery: Documentation to be added
~FakeBattery() override=default
double getBatteryCurrent() override
void setBatteryInfo(const std::string &info) override
A generic battery interface.
std::string getBatteryStatus() override
FakeBattery(const FakeBattery &)=delete
void setBatteryTemperature(const double temperature) override
Battery_status battery_status