Public Types | Public Member Functions | Protected Attributes
power_monitor::PowerStateEstimator Class Reference

#include <power_state_estimator.h>

Inheritance diagram for power_monitor::PowerStateEstimator:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

PowerStateEstimator can takes observable power inputs (PowerObservation) and estimates the hidden power state (PowerStateEstimate).

Definition at line 55 of file power_state_estimator.h.


Member Enumeration Documentation

Enumerator:
FuelGauge 
Advanced 

Definition at line 58 of file power_state_estimator.h.


Constructor & Destructor Documentation

Definition at line 52 of file power_state_estimator.cpp.


Member Function Documentation

bool PowerStateEstimator::canEstimate ( const ros::Time t) const [virtual]

Definition at line 59 of file power_state_estimator.cpp.

virtual std::string power_monitor::PowerStateEstimator::getMethodName ( ) const [pure virtual]

Reimplemented in power_monitor::AdvancedPowerStateEstimator.

Definition at line 54 of file power_state_estimator.cpp.


Member Data Documentation

Definition at line 71 of file power_state_estimator.h.


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


power_monitor
Author(s): Tim Field, Curt Meyers
autogenerated on Thu Jun 6 2019 21:11:01