DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceAcquisition (void) |
void | onResourceInitialization (void) |
void | onUpdateParameters (void) |
void | onResourceRelease (void) |
void | sendCommand (const std::string &cmd) |
void | createCommand (const std::string &cmd_type, int &val) |
void | consume (const IMC::SetControlSurfaceDeflection *csd) |
int | rad2pos (float min_angle, float max_angle, int min_pos, int max_pos, float angle) |
void | task (void) |
Public Attributes | |
SerialPort * | m_uart |
Limits | m_limits |
Arguments | m_args |
uint8_t | m_bfr [BUFFER_MAX] |
float | m_pan |
float | m_tilt |
|
inline |
References m_args, Actuators::FLIRPTU::Arguments::model, Actuators::FLIRPTU::Arguments::pan_accel, Actuators::FLIRPTU::Arguments::pan_speed, Actuators::FLIRPTU::Arguments::ptu_pc, Actuators::FLIRPTU::Arguments::tilt_accel, Actuators::FLIRPTU::Arguments::tilt_min, Actuators::FLIRPTU::Arguments::tilt_speed, Actuators::FLIRPTU::Arguments::uart_baud, and Actuators::FLIRPTU::Arguments::uart_dev.
|
inline |
|
inline |
References sendCommand().
Referenced by onResourceInitialization(), and task().
|
inline |
|
inline |
|
inline |
References m_uart.
|
inline |
|
inline |
References DUNE::Math::trimValue().
Referenced by task().
|
inline |
References m_uart.
Referenced by createCommand(), and onResourceInitialization().
|
inline |
Arguments Actuators::FLIRPTU::Task::m_args |
Referenced by onResourceAcquisition(), onResourceInitialization(), onUpdateParameters(), Task(), and task().
uint8_t Actuators::FLIRPTU::Task::m_bfr[BUFFER_MAX] |
Limits Actuators::FLIRPTU::Task::m_limits |
Referenced by onUpdateParameters(), and task().
SerialPort* Actuators::FLIRPTU::Task::m_uart |
Referenced by onResourceAcquisition(), onResourceRelease(), and sendCommand().