Public Member Functions | Private Attributes
power_monitor::BatteryObservation Class Reference

#include <observation.h>

List of all members.

Public Member Functions

 BatteryObservation (const ros::Time &stamp, bool ac_present, float voltage, float current, unsigned int relative_state_of_charge, float remaining_capacity, const ros::Duration &time_to_empty, const ros::Duration &time_to_full)
float getCurrent () const
float getPower () const
unsigned int getRelativeStateOfCharge () const
float getRemainingCapacity () const
const ros::TimegetStamp () const
const ros::DurationgetTimeToEmpty () const
const ros::DurationgetTimeToFull () const
float getVoltage () const
bool isAcPresent () const

Private Attributes

bool ac_present_
float current_
unsigned int relative_state_of_charge_
float remaining_capacity_
ros::Time stamp_
ros::Duration time_to_empty_
ros::Duration time_to_full_
float voltage_

Detailed Description

Stores information reported by a single battery.

Definition at line 78 of file observation.h.


Constructor & Destructor Documentation

BatteryObservation::BatteryObservation ( const ros::Time stamp,
bool  ac_present,
float  voltage,
float  current,
unsigned int  relative_state_of_charge,
float  remaining_capacity,
const ros::Duration time_to_empty,
const ros::Duration time_to_full 
)

Definition at line 176 of file observation.cpp.


Member Function Documentation

Definition at line 188 of file observation.cpp.

Definition at line 194 of file observation.cpp.

Definition at line 189 of file observation.cpp.

Definition at line 190 of file observation.cpp.

Definition at line 184 of file observation.cpp.

Definition at line 191 of file observation.cpp.

Definition at line 192 of file observation.cpp.

Definition at line 187 of file observation.cpp.

Definition at line 186 of file observation.cpp.


Member Data Documentation

Definition at line 98 of file observation.h.

Definition at line 100 of file observation.h.

Definition at line 101 of file observation.h.

Definition at line 102 of file observation.h.

Definition at line 97 of file observation.h.

Definition at line 103 of file observation.h.

Definition at line 104 of file observation.h.

Definition at line 99 of file observation.h.


The documentation for this class was generated from the following files:


power_monitor
Author(s): Tim Field, Curt Meyers
autogenerated on Sat Dec 28 2013 17:27:07