Public Member Functions | List of all members
power_monitor::FuelGaugePowerStateEstimator Class Reference

#include <power_state_estimator.h>

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

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_
 

Detailed Description

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.

Member Function Documentation

PowerStateEstimate FuelGaugePowerStateEstimator::estimate ( const ros::Time t)
virtual

Implements power_monitor::PowerStateEstimator.

Definition at line 69 of file power_state_estimator.cpp.

string FuelGaugePowerStateEstimator::getMethodName ( ) const
virtual

Implements power_monitor::PowerStateEstimator.

Definition at line 66 of file power_state_estimator.cpp.

PowerStateEstimator::Type FuelGaugePowerStateEstimator::getMethodType ( ) const
virtual

Implements power_monitor::PowerStateEstimator.

Definition at line 67 of file power_state_estimator.cpp.


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


power_monitor
Author(s): Tim Field, Curt Meyers
autogenerated on Fri May 14 2021 02:50:05