DUNE: Uniform Navigational Environment  2019.02.1
Sensors::Imagenex852::Task Struct Reference

Detailed Description

Task.

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onUpdateParameters (void)
 
void onResourceAcquisition (void)
 
void onResourceRelease (void)
 
void onResourceInitialization (void)
 
void onActivation (void)
 
void onDeactivation (void)
 
void consume (const IMC::UamTxStatus *msg)
 
void consume (const IMC::SoundSpeed *msg)
 
void consume (const IMC::VehicleMedium *msg)
 
void onMain (void)
 
void filterRange (DUNE::IMC::Distance &dist, DUNE::IMC::SonarData &profile)
 

Public Attributes

SerialPort * m_uart
 
Trigger m_trigger
 
IMC::Distance m_dist
 
IMC::SonarData m_profile
 
Arguments m_args
 
Counter< double > m_wdog
 
double m_sound_speed
 
SwitchData m_switch
 
Parser m_parser
 
PatternFilterm_pfilt
 
Monitors::MediumHandler m_hand
 
bool m_uam_tx_ip
 

Constructor & Destructor Documentation

Member Function Documentation

void Sensors::Imagenex852::Task::consume ( const IMC::UamTxStatus *  msg)
inline
void Sensors::Imagenex852::Task::consume ( const IMC::SoundSpeed *  msg)
inline
void Sensors::Imagenex852::Task::consume ( const IMC::VehicleMedium *  msg)
inline
void Sensors::Imagenex852::Task::filterRange ( DUNE::IMC::Distance dist,
DUNE::IMC::SonarData profile 
)
inline
void Sensors::Imagenex852::Task::onActivation ( void  )
inline
void Sensors::Imagenex852::Task::onDeactivation ( void  )
inline
void Sensors::Imagenex852::Task::onResourceAcquisition ( void  )
inline
void Sensors::Imagenex852::Task::onResourceRelease ( void  )
inline

Release resources.

Member Data Documentation

Arguments Sensors::Imagenex852::Task::m_args

Task arguments.

IMC::Distance Sensors::Imagenex852::Task::m_dist

Distance message.

Monitors::MediumHandler Sensors::Imagenex852::Task::m_hand

Medium handler.

Parser Sensors::Imagenex852::Task::m_parser

Return data parser.

PatternFilter* Sensors::Imagenex852::Task::m_pfilt

Pattern filter.

IMC::SonarData Sensors::Imagenex852::Task::m_profile

Profile message.

double Sensors::Imagenex852::Task::m_sound_speed

Last valid sound speed value.

SwitchData Sensors::Imagenex852::Task::m_switch

Switch data.

Trigger Sensors::Imagenex852::Task::m_trigger

Shot trigger.

bool Sensors::Imagenex852::Task::m_uam_tx_ip

Underwater acoustic modem transmission in progress.

SerialPort* Sensors::Imagenex852::Task::m_uart

Serial port handle.

Counter<double> Sensors::Imagenex852::Task::m_wdog

Watchdog.

Collaboration diagram for Sensors::Imagenex852::Task:
Collaboration graph