#include <tum_ardrone_gui.h>
Public Slots | |
void | ClearClicked () |
void | ClearSendClicked () |
void | ControlSourceChanged () |
void | EmergencyClicked () |
void | FlattrimClicked () |
void | LandClicked () |
void | LoadFileChanged (QString val) |
void | ResetClicked () |
void | SendClicked () |
void | TakeoffClicked () |
void | ToggleCamClicked () |
void | ToggledPingDrone (int val) |
void | ToggledUseHovering (int val) |
Signals | |
void | addLogLineSignal (QString) |
void | closeWindowSignal () |
void | setAutopilotInfoSignal (QString) |
void | setControlSourceSignal (int cont) |
void | setCountsSignal (unsigned int nav, unsigned int control, unsigned int pose, unsigned int joy) |
void | setMotorSpeedsSignal (QString) |
void | setPingsSignal (int p500, int p20000) |
void | setStateestimationInfoSignal (QString) |
Public Member Functions | |
void | addLogLine (std::string s) |
ControlCommand | calcKBControl () |
void | closeWindow () |
void | setAutopilotInfo (std::string s) |
void | setControlSource (ControlSource cont) |
void | setCounts (unsigned int nav, unsigned int control, unsigned int pose, unsigned int joy) |
void | setMotorSpeeds (std::string s) |
void | setPings (int p500, int p20000) |
void | setStateestimationInfo (std::string s) |
tum_ardrone_gui (QWidget *parent=0) | |
~tum_ardrone_gui () | |
Public Attributes | |
ControlSource | currentControlSource |
PingThread * | pingThread |
RosThread * | rosThread |
double | sensGaz |
double | sensRP |
double | sensYaw |
bool | useHovering |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *key) |
void | keyReleaseEvent (QKeyEvent *key) |
int | mapKey (int k) |
Protected Attributes | |
bool | isPressed [8] |
unsigned int | lastRepeat [8] |
Private Slots | |
void | addLogLineSlot (QString) |
void | closeWindowSlot () |
void | setAutopilotInfoSlot (QString) |
void | setControlSourceSlot (int cont) |
void | setCountsSlot (unsigned int nav, unsigned int control, unsigned int pose, unsigned int joy) |
void | setMotorSpeedsSlot (QString) |
void | setPingsSlot (int p500, int p20000) |
void | setStateestimationInfoSlot (QString) |
Private Attributes | |
Ui::tum_ardrone_guiClass | ui |
Definition at line 37 of file tum_ardrone_gui.h.
tum_ardrone_gui::tum_ardrone_gui | ( | QWidget * | parent = 0 | ) |
Definition at line 57 of file tum_ardrone_gui.cpp.
Definition at line 109 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::addLogLine | ( | std::string | s | ) |
Definition at line 291 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::addLogLineSignal | ( | QString | ) | [signal] |
void tum_ardrone_gui::addLogLineSlot | ( | QString | s | ) | [private, slot] |
Definition at line 259 of file tum_ardrone_gui.cpp.
Definition at line 400 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ClearClicked | ( | ) | [slot] |
Definition at line 135 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ClearSendClicked | ( | ) | [slot] |
Definition at line 151 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::closeWindow | ( | ) |
Definition at line 311 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::closeWindowSignal | ( | ) | [signal] |
void tum_ardrone_gui::closeWindowSlot | ( | ) | [private, slot] |
Definition at line 275 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ControlSourceChanged | ( | ) | [slot] |
Definition at line 198 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::EmergencyClicked | ( | ) | [slot] |
Definition at line 130 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::FlattrimClicked | ( | ) | [slot] |
Definition at line 126 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::keyPressEvent | ( | QKeyEvent * | key | ) | [protected] |
Definition at line 362 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::keyReleaseEvent | ( | QKeyEvent * | key | ) | [protected] |
Definition at line 342 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::LandClicked | ( | ) | [slot] |
Definition at line 114 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::LoadFileChanged | ( | QString | val | ) | [slot] |
Definition at line 164 of file tum_ardrone_gui.cpp.
int tum_ardrone_gui::mapKey | ( | int | k | ) | [protected] |
Definition at line 318 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ResetClicked | ( | ) | [slot] |
Definition at line 156 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::SendClicked | ( | ) | [slot] |
Definition at line 139 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setAutopilotInfo | ( | std::string | s | ) |
Definition at line 295 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setAutopilotInfoSignal | ( | QString | ) | [signal] |
void tum_ardrone_gui::setAutopilotInfoSlot | ( | QString | s | ) | [private, slot] |
Definition at line 263 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setControlSource | ( | ControlSource | cont | ) |
Definition at line 287 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setControlSourceSignal | ( | int | cont | ) | [signal] |
void tum_ardrone_gui::setControlSourceSlot | ( | int | cont | ) | [private, slot] |
Definition at line 220 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setCounts | ( | unsigned int | nav, |
unsigned int | control, | ||
unsigned int | pose, | ||
unsigned int | joy | ||
) |
Definition at line 283 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setCountsSignal | ( | unsigned int | nav, |
unsigned int | control, | ||
unsigned int | pose, | ||
unsigned int | joy | ||
) | [signal] |
void tum_ardrone_gui::setCountsSlot | ( | unsigned int | nav, |
unsigned int | control, | ||
unsigned int | pose, | ||
unsigned int | joy | ||
) | [private, slot] |
Definition at line 236 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setMotorSpeeds | ( | std::string | s | ) |
Definition at line 299 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setMotorSpeedsSignal | ( | QString | ) | [signal] |
void tum_ardrone_gui::setMotorSpeedsSlot | ( | QString | s | ) | [private, slot] |
Definition at line 271 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setPings | ( | int | p500, |
int | p20000 | ||
) |
Definition at line 307 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setPingsSignal | ( | int | p500, |
int | p20000 | ||
) | [signal] |
void tum_ardrone_gui::setPingsSlot | ( | int | p500, |
int | p20000 | ||
) | [private, slot] |
Definition at line 252 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setStateestimationInfo | ( | std::string | s | ) |
Definition at line 303 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::setStateestimationInfoSignal | ( | QString | ) | [signal] |
void tum_ardrone_gui::setStateestimationInfoSlot | ( | QString | s | ) | [private, slot] |
Definition at line 267 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::TakeoffClicked | ( | ) | [slot] |
Definition at line 118 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ToggleCamClicked | ( | ) | [slot] |
Definition at line 122 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ToggledPingDrone | ( | int | val | ) | [slot] |
Definition at line 192 of file tum_ardrone_gui.cpp.
void tum_ardrone_gui::ToggledUseHovering | ( | int | val | ) | [slot] |
Definition at line 187 of file tum_ardrone_gui.cpp.
Definition at line 102 of file tum_ardrone_gui.h.
bool tum_ardrone_gui::isPressed[8] [protected] |
Definition at line 112 of file tum_ardrone_gui.h.
unsigned int tum_ardrone_gui::lastRepeat[8] [protected] |
Definition at line 113 of file tum_ardrone_gui.h.
Definition at line 89 of file tum_ardrone_gui.h.
Definition at line 88 of file tum_ardrone_gui.h.
double tum_ardrone_gui::sensGaz |
Definition at line 103 of file tum_ardrone_gui.h.
double tum_ardrone_gui::sensRP |
Definition at line 103 of file tum_ardrone_gui.h.
double tum_ardrone_gui::sensYaw |
Definition at line 103 of file tum_ardrone_gui.h.
Ui::tum_ardrone_guiClass tum_ardrone_gui::ui [private] |
Definition at line 117 of file tum_ardrone_gui.h.
Definition at line 104 of file tum_ardrone_gui.h.