![]() |
DUNE: Uniform Navigational Environment
2022.04.1
|
Public Member Functions | |
| Task (const std::string &name, Tasks::Context &ctx) | |
| ~Task (void) | |
| void | onEntityReservation (void) |
| void | onUpdateParameters (void) |
| void | onResourceAcquisition (void) |
| void | onResourceInitialization (void) |
| void | onResourceRelease (void) |
| void | setReplyTimeout (double timeout) |
| void | consume (const IMC::SetThrusterActuation *msg) |
| void | readString (char *bfr, unsigned bfr_size) |
| bool | sendCommand (const char *cmd, char *reply, unsigned reply_size) |
| bool | sendDemand (unsigned index, int8_t value) |
| bool | resetMotor (unsigned index) |
| bool | queryCurrent (unsigned index) |
| bool | queryRPM (unsigned index) |
| void | onMain (void) |
Public Attributes | |
| SerialPort * | m_uart |
| std::vector< Entities::BasicEntity * > | m_ents |
| Counter< double > | m_feedback_timer |
| std::vector< Counter< double > > | m_wdogs |
| double | m_reply_tout |
| Arguments | m_args |
|
inline |
References Actuators::SIMCT01::Arguments::addrs_hwr, Actuators::SIMCT01::Arguments::addrs_log, Actuators::SIMCT01::Arguments::echo, Actuators::SIMCT01::Arguments::feedback_freq, Actuators::SIMCT01::Arguments::motor_enames, Actuators::SIMCT01::Arguments::scale, Actuators::SIMCT01::Arguments::uart_baud, Actuators::SIMCT01::Arguments::uart_dev, and Actuators::SIMCT01::Arguments::wdog_tout.
|
inline |
|
inline |
|
inline |
References Actuators::SIMCT01::Arguments::motor_enames.
|
inline |
References Actuators::SIMCT01::Arguments::addrs_hwr.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Actuators::SIMCT01::Arguments::addrs_hwr.
|
inline |
References Actuators::SIMCT01::Arguments::addrs_hwr.
|
inline |
|
inline |
References Actuators::SIMCT01::Arguments::addrs_hwr.
|
inline |
References Actuators::SIMCT01::Arguments::echo.
|
inline |
References Actuators::SIMCT01::Arguments::addrs_hwr.
|
inline |
| std::vector<Entities::BasicEntity*> Actuators::SIMCT01::Task::m_ents |
Motor entities.
| Counter<double> Actuators::SIMCT01::Task::m_feedback_timer |
Feedback timer.
| double Actuators::SIMCT01::Task::m_reply_tout |
Reply timeout.
| SerialPort* Actuators::SIMCT01::Task::m_uart |
Serial port handle.
| std::vector<Counter<double> > Actuators::SIMCT01::Task::m_wdogs |
Watchdogs.
