DUNE: Uniform Navigational Environment
2.4.2
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceAcquisition (void) |
void | onResourceInitialization (void) |
void | onResourceRelease (void) |
void | sendCommand (const std::string &cmd) |
void | createCommand (const std::string &cmd_type, int &val) |
void | consume (const IMC::RemoteActions *ra) |
int | panRadToPos (float &val) |
int | tiltRadToPos (float &val) |
void | boundPan (int &val) |
void | boundTilt (int &val) |
void | task (void) |
Public Attributes | |
SerialPort * | m_uart |
Arguments | m_args |
uint8_t | m_bfr [BUFFER_MAX] |
|
inline |
References m_args, Actuators::PTUD48::Arguments::pan_accel, Actuators::PTUD48::Arguments::pan_speed, Actuators::PTUD48::Arguments::ptu_pc, Actuators::PTUD48::Arguments::ptu_track, Actuators::PTUD48::Arguments::tilt_accel, Actuators::PTUD48::Arguments::tilt_speed, Actuators::PTUD48::Arguments::uart_baud, and Actuators::PTUD48::Arguments::uart_dev.
|
inline |
References Actuators::PTUD48::PAN_MAX, and Actuators::PTUD48::PAN_MIN.
Referenced by consume().
|
inline |
References Actuators::PTUD48::TILT_MAX.
Referenced by consume().
|
inline |
References boundPan(), boundTilt(), createCommand(), panRadToPos(), sendCommand(), and tiltRadToPos().
|
inline |
References sendCommand().
Referenced by consume(), and onResourceInitialization().
|
inline |
|
inline |
|
inline |
References m_uart.
|
inline |
Referenced by consume().
|
inline |
References m_uart.
Referenced by consume(), createCommand(), and onResourceInitialization().
|
inline |
|
inline |
Referenced by consume().
Arguments Actuators::PTUD48::Task::m_args |
Referenced by onResourceAcquisition(), onResourceInitialization(), and Task().
uint8_t Actuators::PTUD48::Task::m_bfr[BUFFER_MAX] |
SerialPort* Actuators::PTUD48::Task::m_uart |
Referenced by onResourceAcquisition(), onResourceRelease(), and sendCommand().