DUNE: Uniform Navigational Environment
2019.02.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
bool | setPower (bool on) |
void | consume (const IMC::PowerChannelControl *msg) |
bool | dispatchState (void) |
void | consume (const IMC::QueryPowerChannelState *msg) |
void | onMain (void) |
Public Attributes | |
Hardware::ESCC * | m_psu_escc |
UCTK::Interface * | m_psu_ctl |
IMC::PowerChannelState | m_power_state |
bool | m_get_state |
Arguments | m_args |
|
inline |
References m_args, m_get_state, Power::PSIMAR::Arguments::psu_dev, and Power::PSIMAR::Arguments::pwr_chn.
|
inline |
References m_args, m_power_state, Power::PSIMAR::Arguments::pwr_chn, and setPower().
|
inline |
References m_power_state.
|
inline |
|
inline |
References dispatchState(), and m_get_state.
|
inline |
References m_args, m_get_state, 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_args, m_power_state, and Power::PSIMAR::Arguments::pwr_chn.
|
inline |
References m_power_state, and m_psu_ctl.
Referenced by consume(), and onResourceRelease().
Arguments Power::PSIMAR::Task::m_args |
Task arguments.
Referenced by consume(), onResourceAcquisition(), onUpdateParameters(), and Task().
bool Power::PSIMAR::Task::m_get_state |
Get state.
Referenced by onMain(), onResourceAcquisition(), and Task().
IMC::PowerChannelState Power::PSIMAR::Task::m_power_state |
Current power channel state.
Referenced by consume(), onUpdateParameters(), and setPower().
UCTK::Interface* Power::PSIMAR::Task::m_psu_ctl |
PSU handle.
Referenced by dispatchState(), onResourceAcquisition(), onResourceRelease(), and setPower().
Hardware::ESCC* Power::PSIMAR::Task::m_psu_escc |
PSU UART.
Referenced by onResourceAcquisition(), and onResourceRelease().