MOOS 0.2375
Public Member Functions | Protected Member Functions | Protected Attributes
CMOOSJRKerrDriver Class Reference

#include <MOOSJRKerrDriver.h>

Inheritance diagram for CMOOSJRKerrDriver:
Inheritance graph
[legend]
Collaboration diagram for CMOOSJRKerrDriver:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 42 of file MOOSJRKerrDriver.h.


Constructor & Destructor Documentation

CMOOSJRKerrDriver::CMOOSJRKerrDriver ( )

Definition at line 88 of file MOOSJRKerrDriver.cpp.

CMOOSJRKerrDriver::~CMOOSJRKerrDriver ( ) [virtual]

Definition at line 100 of file MOOSJRKerrDriver.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 59 of file MOOSJRKerrDriver.h.

double CMOOSJRKerrDriver::m_dfElevator [protected]

Definition at line 63 of file MOOSJRKerrDriver.h.

Definition at line 64 of file MOOSJRKerrDriver.h.

Definition at line 62 of file MOOSJRKerrDriver.h.

double CMOOSJRKerrDriver::m_dfRudder [protected]

Definition at line 61 of file MOOSJRKerrDriver.h.

Definition at line 60 of file MOOSJRKerrDriver.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines