#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.
Enumerator | |
---|---|
FuelGauge | |
Advanced |
Definition at line 58 of file power_state_estimator.h.
PowerStateEstimator::PowerStateEstimator | ( | ) |
Definition at line 52 of file power_state_estimator.cpp.
|
virtual |
Definition at line 59 of file power_state_estimator.cpp.
|
pure virtual |
Implemented in power_monitor::AdvancedPowerStateEstimator, and power_monitor::FuelGaugePowerStateEstimator.
|
pure virtual |
Implemented in power_monitor::AdvancedPowerStateEstimator, and power_monitor::FuelGaugePowerStateEstimator.
|
pure virtual |
Implemented in power_monitor::AdvancedPowerStateEstimator, and power_monitor::FuelGaugePowerStateEstimator.
|
virtual |
Reimplemented in power_monitor::AdvancedPowerStateEstimator.
Definition at line 54 of file power_state_estimator.cpp.
|
protected |
Definition at line 71 of file power_state_estimator.h.