MOOS 0.2375
|
#include <MOOSJRKerrDriver.h>
Public Member Functions | |
CMOOSJRKerrDriver () | |
virtual | ~CMOOSJRKerrDriver () |
virtual bool | Initialise () |
virtual bool | SetThrust (double dfPercent) |
virtual bool | SetRudder (double dfAng) |
virtual bool | SetElevator (double dfAng) |
virtual bool | SetZeroRudder () |
virtual bool | SetZeroElevator () |
Protected Member Functions | |
bool | SendCmd (int addr, int cmd, const char *data) |
bool | DoPositionMove (int position, int velocity, int acceleration, int address) |
void | TraceKerrMessage (const char *pMsg, int nLen) |
bool | LogPosition () |
bool | SyncLog () |
double | GetRPM () |
Protected Attributes | |
bool | m_bMoveDone |
string | m_sLogFileName |
double | m_dfRudder |
double | m_dfKerrRudderOffset |
double | m_dfElevator |
double | m_dfKerrElevatorOffset |
Definition at line 42 of file MOOSJRKerrDriver.h.
CMOOSJRKerrDriver::CMOOSJRKerrDriver | ( | ) |
Definition at line 88 of file MOOSJRKerrDriver.cpp.
CMOOSJRKerrDriver::~CMOOSJRKerrDriver | ( | ) | [virtual] |
Definition at line 100 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::DoPositionMove | ( | int | position, |
int | velocity, | ||
int | acceleration, | ||
int | address | ||
) | [protected] |
Definition at line 377 of file MOOSJRKerrDriver.cpp.
double CMOOSJRKerrDriver::GetRPM | ( | ) | [protected, virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 512 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::Initialise | ( | ) | [virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 283 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::LogPosition | ( | ) | [protected] |
Definition at line 232 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SendCmd | ( | int | addr, |
int | cmd, | ||
const char * | data | ||
) | [protected] |
Definition at line 123 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SetElevator | ( | double | dfAng | ) | [virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 417 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SetRudder | ( | double | dfAng | ) | [virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 439 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SetThrust | ( | double | dfPercent | ) | [virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 478 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SetZeroElevator | ( | ) | [virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 461 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SetZeroRudder | ( | ) | [virtual] |
Reimplemented from CMOOSActuationDriver.
Definition at line 469 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::SyncLog | ( | ) | [protected] |
Definition at line 249 of file MOOSJRKerrDriver.cpp.
void CMOOSJRKerrDriver::TraceKerrMessage | ( | const char * | pMsg, |
int | nLen | ||
) | [protected] |
Definition at line 105 of file MOOSJRKerrDriver.cpp.
bool CMOOSJRKerrDriver::m_bMoveDone [protected] |
Definition at line 59 of file MOOSJRKerrDriver.h.
double CMOOSJRKerrDriver::m_dfElevator [protected] |
Definition at line 63 of file MOOSJRKerrDriver.h.
double CMOOSJRKerrDriver::m_dfKerrElevatorOffset [protected] |
Definition at line 64 of file MOOSJRKerrDriver.h.
double CMOOSJRKerrDriver::m_dfKerrRudderOffset [protected] |
Definition at line 62 of file MOOSJRKerrDriver.h.
double CMOOSJRKerrDriver::m_dfRudder [protected] |
Definition at line 61 of file MOOSJRKerrDriver.h.
string CMOOSJRKerrDriver::m_sLogFileName [protected] |
Definition at line 60 of file MOOSJRKerrDriver.h.