DUNE: Uniform Navigational Environment
2.6.0-rc1
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
bool | setPower (bool on) |
void | consume (const IMC::PowerChannelControl *msg) |
void | onMain (void) |
Public Attributes | |
Hardware::ESCC * | m_psu_escc |
UCTK::Interface * | m_psu_ctl |
Arguments | m_args |
|
inline |
References m_args, Power::PSIMAR::Arguments::psu_dev, and Power::PSIMAR::Arguments::pwr_chn.
|
inline |
References m_args, Power::PSIMAR::Arguments::pwr_chn, and setPower().
|
inline |
|
inline |
References m_args, m_psu_ctl, m_psu_escc, and Power::PSIMAR::Arguments::psu_dev.
|
inline |
References m_psu_ctl, m_psu_escc, and setPower().
|
inline |
References m_psu_ctl.
Referenced by consume(), and onResourceRelease().
Arguments Power::PSIMAR::Task::m_args |
Task arguments.
Referenced by consume(), onResourceAcquisition(), and Task().
UCTK::Interface* Power::PSIMAR::Task::m_psu_ctl |
PSU handle.
Referenced by onResourceAcquisition(), onResourceRelease(), and setPower().
Hardware::ESCC* Power::PSIMAR::Task::m_psu_escc |
PSU UART.
Referenced by onResourceAcquisition(), and onResourceRelease().