#include <power_state_estimator.h>
Public Member Functions | |
PowerStateEstimate | estimate (const ros::Time &t) |
std::string | getMethodName () const |
PowerStateEstimator::Type | getMethodType () const |
Public Member Functions inherited from power_monitor::PowerStateEstimator | |
virtual bool | canEstimate (const ros::Time &t) const |
PowerStateEstimator () | |
virtual void | recordObservation (const PowerObservation &obs) |
Additional Inherited Members | |
Public Types inherited from power_monitor::PowerStateEstimator | |
enum | Type { FuelGauge, Advanced } |
Protected Attributes inherited from power_monitor::PowerStateEstimator | |
PowerObservation | obs_ |
A simple power state estimator which relies on the values reported by the batteries themselves for the minimum & maximum time remaining and the minimum remaining capacity.
Definition at line 77 of file power_state_estimator.h.
|
virtual |
Implements power_monitor::PowerStateEstimator.
Definition at line 69 of file power_state_estimator.cpp.
|
virtual |
Implements power_monitor::PowerStateEstimator.
Definition at line 66 of file power_state_estimator.cpp.
|
virtual |
Implements power_monitor::PowerStateEstimator.
Definition at line 67 of file power_state_estimator.cpp.