DUNE: Uniform Navigational Environment
2016.09.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | onResourceInitialization (void) |
void | consume (const IMC::RemoteActions *msg) |
void | consume (const IMC::CameraZoom *msg) |
void | setMirror (bool value) |
void | setCameraMode (CameraMode mode) |
void | setZoom (Zoom zoom) |
void | setOSD (OSD osd) |
void | setMode (Mode mode) |
void | setPitchRate (int16_t pitch) |
void | setRollRate (int16_t roll) |
void | computeChecksum (void) |
void | sendCommand (void) |
bool | parse (uint8_t byte) |
void | task (void) |
Public Attributes | |
SerialPort * | m_uart |
uint8_t | m_cmd [20] |
Arguments | m_args |
ParserStates | m_pstate |
uint8_t | m_pdata [16] |
uint8_t | m_pdata_idx |
uint8_t | m_pdata_crc |
IMC::EulerAngles | m_euler |
|
inline |
|
inline |
References Actuators::MicroCamD::IDX_CSUM, and m_cmd.
Referenced by sendCommand().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References m_uart.
|
inline |
|
inline |
References computeChecksum(), m_cmd, and m_uart.
Referenced by onResourceInitialization(), and task().
|
inline |
References Actuators::MicroCamD::IDX_CAM_MODE, and m_cmd.
Referenced by onResourceInitialization().
|
inline |
Referenced by consume().
|
inline |
References Actuators::MicroCamD::IDX_MODE, and m_cmd.
Referenced by onResourceInitialization().
|
inline |
References Actuators::MicroCamD::IDX_MODE, and m_cmd.
Referenced by onResourceInitialization().
|
inline |
References Actuators::MicroCamD::IDX_PITCH_RATE_MSB, Actuators::MicroCamD::IDX_PITCH_ROLL_LSB, and m_cmd.
Referenced by consume().
|
inline |
References Actuators::MicroCamD::IDX_PITCH_ROLL_LSB, Actuators::MicroCamD::IDX_ROLL_RATE_MSB, and m_cmd.
Referenced by consume().
|
inline |
References Actuators::MicroCamD::IDX_ZOOM, and m_cmd.
Referenced by consume().
|
inline |
References m_euler, m_pdata, m_uart, parse(), and sendCommand().
Arguments Actuators::MicroCamD::Task::m_args |
Referenced by onResourceAcquisition(), and Task().
uint8_t Actuators::MicroCamD::Task::m_cmd[20] |
Referenced by computeChecksum(), sendCommand(), setCameraMode(), setMode(), setOSD(), setPitchRate(), setRollRate(), setZoom(), and Task().
IMC::EulerAngles Actuators::MicroCamD::Task::m_euler |
Referenced by task().
uint8_t Actuators::MicroCamD::Task::m_pdata_crc |
Referenced by parse().
uint8_t Actuators::MicroCamD::Task::m_pdata_idx |
Referenced by parse().
ParserStates Actuators::MicroCamD::Task::m_pstate |
Referenced by parse().
SerialPort* Actuators::MicroCamD::Task::m_uart |
Referenced by onResourceAcquisition(), onResourceRelease(), sendCommand(), and task().