11 #include <yarp/os/Log.h>
12 #include <yarp/os/LogStream.h>
18 out.canloc.insideindex = eobrd_caninsideindex_none;
25 out.canloc.port = eOcanport1;
27 out.canloc.port = eOcanport2;
30 yError() <<
"BatteryInfo::toEomn() invalid can port";
31 out = eOas_battery_sensordescriptor_t();
35 catch (
const std::exception&
e)
37 yError() <<
"BatteryInfo::toEomn() invalid can port";
38 out = eOas_battery_sensordescriptor_t();
69 return !(right == left);
bool operator!=(const BatteryInfo &right, const BatteryInfo &left)
bool operator==(const BatteryInfo &right, const BatteryInfo &left)
bool toEomn(eOas_battery_sensordescriptor_t &out) const