DUNE: Uniform Navigational Environment  2.3.1
Actuators::ROSInspector::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onResourceAcquisition (void)
 
void consume (const IMC::CameraZoom *msg)
 
void onMain (void)
 

Public Attributes

SerialPort * m_uart
 
IMC::CameraZoom m_last_msg
 
fp64_t m_last_stop
 
Arguments m_args
 

Constructor & Destructor Documentation

Actuators::ROSInspector::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void Actuators::ROSInspector::Task::consume ( const IMC::CameraZoom *  msg)
inline

References m_last_msg, and m_uart.

void Actuators::ROSInspector::Task::onMain ( void  )
inline
void Actuators::ROSInspector::Task::onResourceAcquisition ( void  )
inline

Member Data Documentation

Arguments Actuators::ROSInspector::Task::m_args

Task arguments.

Referenced by onResourceAcquisition(), and Task().

IMC::CameraZoom Actuators::ROSInspector::Task::m_last_msg

Last message.

Referenced by consume(), and Task().

fp64_t Actuators::ROSInspector::Task::m_last_stop

Last stop.

SerialPort* Actuators::ROSInspector::Task::m_uart

Serial port.

Referenced by consume(), and onResourceAcquisition().

Collaboration diagram for Actuators::ROSInspector::Task:
Collaboration graph