#include <power_state_estimator.h>
Public Types | |
enum | Type { FuelGauge, Advanced } |
Public Member Functions | |
virtual bool | canEstimate (const ros::Time &t) const |
virtual PowerStateEstimate | estimate (const ros::Time &t)=0 |
virtual std::string | getMethodName () const =0 |
virtual PowerStateEstimator::Type | getMethodType () const =0 |
PowerStateEstimator () | |
virtual void | recordObservation (const PowerObservation &obs) |
Protected Attributes | |
PowerObservation | obs_ |
PowerStateEstimator can takes observable power inputs (PowerObservation) and estimates the hidden power state (PowerStateEstimate).
Definition at line 55 of file power_state_estimator.h.
Definition at line 58 of file power_state_estimator.h.
Definition at line 52 of file power_state_estimator.cpp.
bool PowerStateEstimator::canEstimate | ( | const ros::Time & | t | ) | const [virtual] |
Definition at line 59 of file power_state_estimator.cpp.
virtual PowerStateEstimate power_monitor::PowerStateEstimator::estimate | ( | const ros::Time & | t | ) | [pure virtual] |
Implemented in power_monitor::AdvancedPowerStateEstimator, and power_monitor::FuelGaugePowerStateEstimator.
virtual std::string power_monitor::PowerStateEstimator::getMethodName | ( | ) | const [pure virtual] |
Implemented in power_monitor::AdvancedPowerStateEstimator, and power_monitor::FuelGaugePowerStateEstimator.
virtual PowerStateEstimator::Type power_monitor::PowerStateEstimator::getMethodType | ( | ) | const [pure virtual] |
Implemented in power_monitor::AdvancedPowerStateEstimator, and power_monitor::FuelGaugePowerStateEstimator.
void PowerStateEstimator::recordObservation | ( | const PowerObservation & | obs | ) | [virtual] |
Reimplemented in power_monitor::AdvancedPowerStateEstimator.
Definition at line 54 of file power_state_estimator.cpp.
Definition at line 71 of file power_state_estimator.h.