Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
PingThread Class Reference

#include <PingThread.h>

List of all members.

Public Member Functions

 PingThread (void)
void setEnabled (bool)
void startSystem ()
void stopSystem ()
 ~PingThread (void)

Public Attributes

tum_ardrone_guigui
bool measure
RosThreadrosThread

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

Detailed Description

Definition at line 31 of file PingThread.h.


Constructor & Destructor Documentation

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.

Definition at line 43 of file PingThread.cpp.


Member Function Documentation

void PingThread::run ( ) [private]

Definition at line 76 of file PingThread.cpp.

void PingThread::setEnabled ( bool  )

Definition at line 49 of file PingThread.cpp.

Definition at line 55 of file PingThread.cpp.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files:


tum_ardrone
Author(s):
autogenerated on Sat Jun 8 2019 20:27:23