DUNE: Uniform Navigational Environment  2019.02.0
DUNE::Navigation::StreamEstimator Class Reference

Detailed Description

StreamEstimator is responsible to estimate the stream of the liquid fluid surrounding a underwater or surface vehicle.

Author
José Braga.

Public Member Functions

 StreamEstimator (void)
 
bool consume (const IMC::EstimatedState state, const IMC::GpsFix *gps, IMC::EstimatedStreamVelocity &stream)
 
void consume (const IMC::Rpm *msg)
 

Constructor & Destructor Documentation

DUNE::Navigation::StreamEstimator::StreamEstimator ( void  )
inline

Constructor.

References DUNE::Time::Counter< T >::setTop().

Member Function Documentation

void DUNE::Navigation::StreamEstimator::consume ( const IMC::Rpm msg)
inline

Received new RPM reading.

Parameters
[in]msgnew Rpm.

References DUNE::Math::MovingAverage< T >::clear(), DUNE::Time::Counter< T >::reset(), and DUNE::IMC::Rpm::value.

Collaboration diagram for DUNE::Navigation::StreamEstimator:
Collaboration graph