MOOS 0.2375
|
#include <MOOSActuation.h>
Classes | |
class | ActuatorDOF |
class | RollTransform |
Public Types | |
enum | MotorName { RUDDER, ELEVATOR, THRUST } |
Public Member Functions | |
CMOOSActuation () | |
virtual | ~CMOOSActuation () |
Protected Member Functions | |
bool | OnActuationSet () |
bool | Reset () |
bool | HandleHWWatchDog () |
bool | DoIO (MotorName Name) |
bool | Iterate () |
bool | OnConnectToServer () |
bool | OnStartUp () |
bool | OnNewMail (MOOSMSG_LIST &NewMail) |
Protected Attributes | |
ActuatorDOF | m_Motors [3] |
RollTransform | m_RollTransform |
CMOOSActuationDriver * | m_pDriver |
double | m_dfLastRPMTime |
std::string | m_sDriverType |
Definition at line 43 of file MOOSActuation.h.
Definition at line 47 of file MOOSActuation.h.
CMOOSActuation::CMOOSActuation | ( | ) |
Definition at line 56 of file MOOSActuation.cpp.
CMOOSActuation::~CMOOSActuation | ( | ) | [virtual] |
Definition at line 71 of file MOOSActuation.cpp.
bool CMOOSActuation::DoIO | ( | CMOOSActuation::MotorName | Name | ) | [protected] |
Definition at line 120 of file MOOSActuation.cpp.
bool CMOOSActuation::HandleHWWatchDog | ( | ) | [protected] |
Definition at line 506 of file MOOSActuation.cpp.
bool CMOOSActuation::Iterate | ( | ) | [protected, virtual] |
virtual overide of base class CMOOSApp member. Here we do all the processing and IO
Reimplemented from CMOOSApp.
Definition at line 76 of file MOOSActuation.cpp.
bool CMOOSActuation::OnActuationSet | ( | ) | [protected] |
Definition at line 565 of file MOOSActuation.cpp.
bool CMOOSActuation::OnConnectToServer | ( | ) | [protected, virtual] |
virtual overide of base class CMOOSApp member. Here we register for data we wish be informed about
Reimplemented from CMOOSApp.
Definition at line 223 of file MOOSActuation.cpp.
bool CMOOSActuation::OnNewMail | ( | MOOSMSG_LIST & | NewMail | ) | [protected, virtual] |
called when new mail has arrived. Overload this method in a derived class to process new mail. It will be called at approximately 1/CommsTick Hz. In this function you'll most likely interate over the collection of mail message received or call a m_Comms::PeekMail() to look for a specific named message.
NewMail | a list of new mail messages |
Reimplemented from CMOOSApp.
Definition at line 240 of file MOOSActuation.cpp.
bool CMOOSActuation::OnStartUp | ( | ) | [protected, virtual] |
CMOOSApp overide
Reimplemented from CMOOSInstrument.
Definition at line 298 of file MOOSActuation.cpp.
bool CMOOSActuation::Reset | ( | ) | [protected] |
Definition at line 542 of file MOOSActuation.cpp.
double CMOOSActuation::m_dfLastRPMTime [protected] |
Definition at line 114 of file MOOSActuation.h.
ActuatorDOF CMOOSActuation::m_Motors[3] [protected] |
Definition at line 109 of file MOOSActuation.h.
CMOOSActuationDriver* CMOOSActuation::m_pDriver [protected] |
Definition at line 112 of file MOOSActuation.h.
RollTransform CMOOSActuation::m_RollTransform [protected] |
Definition at line 110 of file MOOSActuation.h.
std::string CMOOSActuation::m_sDriverType [protected] |
Definition at line 116 of file MOOSActuation.h.