#include <MKInterface.hpp>
Public Member Functions | |
bool | checkBattery (MKInt &batteryValue, bool &landRequest) |
MKInterfaceConnection * | getConnection () const |
const MKInterfaceOptions & | getOptions () const |
void | handleCommand (double estMass, double pitch, double roll, double yawrate, double thrust) |
bool | hasConnection () const |
MKInterface () | |
bool | performDriftEstim () |
void | safeModDidBecomeActive () |
void | safeModFinished () |
void | setEmergency () |
virtual | ~MKInterface () |
Protected Attributes | |
MKInterfaceConnection * | connection |
MKInterfaceOptions | options |
MKROSInterface * | rosInterface |
MKSafeMod * | safeModule |
Note: Always check that hasConnection returns true after Initialization
Definition at line 28 of file MKInterface.hpp.
Definition at line 35 of file MKInterface.cpp.
TELEKYB_NAMESPACE::MKInterface::~MKInterface | ( | ) | [virtual] |
Definition at line 124 of file MKInterface.cpp.
bool TELEKYB_NAMESPACE::MKInterface::checkBattery | ( | MKInt & | batteryValue, |
bool & | landRequest | ||
) |
Definition at line 216 of file MKInterface.cpp.
Definition at line 187 of file MKInterface.cpp.
const MKInterfaceOptions & TELEKYB_NAMESPACE::MKInterface::getOptions | ( | ) | const |
Definition at line 245 of file MKInterface.cpp.
void TELEKYB_NAMESPACE::MKInterface::handleCommand | ( | double | estMass, |
double | pitch, | ||
double | roll, | ||
double | yawrate, | ||
double | thrust | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::MKSafeModDeleagte.
Definition at line 135 of file MKInterface.cpp.
bool TELEKYB_NAMESPACE::MKInterface::hasConnection | ( | ) | const |
Definition at line 130 of file MKInterface.cpp.
Definition at line 192 of file MKInterface.cpp.
void TELEKYB_NAMESPACE::MKInterface::safeModDidBecomeActive | ( | ) | [virtual] |
Implements TELEKYB_NAMESPACE::MKSafeModDeleagte.
Definition at line 203 of file MKInterface.cpp.
void TELEKYB_NAMESPACE::MKInterface::safeModFinished | ( | ) | [virtual] |
Implements TELEKYB_NAMESPACE::MKSafeModDeleagte.
Definition at line 208 of file MKInterface.cpp.
Definition at line 240 of file MKInterface.cpp.
Definition at line 36 of file MKInterface.hpp.
Definition at line 30 of file MKInterface.hpp.
Definition at line 39 of file MKInterface.hpp.
MKSafeMod* TELEKYB_NAMESPACE::MKInterface::safeModule [protected] |
Definition at line 33 of file MKInterface.hpp.