35 #ifndef POWER_MONITOR_OBSERVATION_H 36 #define POWER_MONITOR_OBSERVATION_H 42 #include "pr2_msgs/PowerBoardState.h" 59 const std::vector<BatteryObservation>&
getBatteries()
const;
82 unsigned int relative_state_of_charge,
float remaining_capacity,
const ros::Duration& time_to_empty,
const ros::Duration& time_to_full);
86 bool isAcPresent()
const;
87 float getVoltage()
const;
88 float getCurrent()
const;
89 unsigned int getRelativeStateOfCharge()
const;
90 float getRemainingCapacity()
const;
94 float getPower()
const;
ros::Duration getMinTimeToEmpty(const ros::Time &t) const
unsigned int relative_state_of_charge_
ros::Duration time_to_full_
float getMinVoltage() const
float getTotalPower() const
int8_t getMasterState() const
unsigned int getAcCount() const
unsigned int getMinRelativeStateOfCharge() const
std::vector< BatteryObservation > batteries_
ros::Duration time_to_empty_
const ros::Time & getStamp() const
float remaining_capacity_
float getTotalRemainingCapacity() const
const std::vector< BatteryObservation > & getBatteries() const
ros::Duration getMaxTimeToFull(const ros::Time &t) const