#include <PingThread.h>
Public Member Functions | |
PingThread (void) | |
void | setEnabled (bool) |
void | startSystem () |
void | stopSystem () |
~PingThread (void) | |
Public Attributes | |
tum_ardrone_gui * | gui |
bool | measure |
RosThread * | rosThread |
Private Member Functions | |
void | run () |
Private Attributes | |
bool | keepRunning |
char | line1 [200] |
char | line2 [200] |
double | p20000 |
double | p500 |
char | pingCommand20000 [100] |
char | pingCommand500 [100] |
Static Private Attributes | |
static const double | p20000Default = 50 |
static const double | p500Default = 25 |
Definition at line 31 of file PingThread.h.
PingThread::PingThread | ( | void | ) |
This file is part of tum_ardrone.
Copyright 2012 Jakob Engel <jajuengel@gmail.com> (Technical University of Munich) For more information see <https://vision.in.tum.de/data/software/tum_ardrone>.
tum_ardrone is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
tum_ardrone is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with tum_ardrone. If not, see <http://www.gnu.org/licenses/>.
Definition at line 29 of file PingThread.cpp.
PingThread::~PingThread | ( | void | ) |
Definition at line 43 of file PingThread.cpp.
void PingThread::run | ( | ) | [private] |
Definition at line 76 of file PingThread.cpp.
void PingThread::setEnabled | ( | bool | ) |
void PingThread::startSystem | ( | ) |
Definition at line 49 of file PingThread.cpp.
void PingThread::stopSystem | ( | ) |
Definition at line 55 of file PingThread.cpp.
Definition at line 66 of file PingThread.h.
bool PingThread::keepRunning [private] |
Definition at line 38 of file PingThread.h.
char PingThread::line1[200] [private] |
Definition at line 44 of file PingThread.h.
char PingThread::line2[200] [private] |
Definition at line 45 of file PingThread.h.
bool PingThread::measure |
Definition at line 68 of file PingThread.h.
double PingThread::p20000 [private] |
Definition at line 50 of file PingThread.h.
const double PingThread::p20000Default = 50 [static, private] |
Definition at line 53 of file PingThread.h.
double PingThread::p500 [private] |
Definition at line 49 of file PingThread.h.
const double PingThread::p500Default = 25 [static, private] |
Definition at line 52 of file PingThread.h.
char PingThread::pingCommand20000[100] [private] |
Definition at line 43 of file PingThread.h.
char PingThread::pingCommand500[100] [private] |
Definition at line 42 of file PingThread.h.
Definition at line 67 of file PingThread.h.