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 setIp (std::string)
void startSystem ()
void stopSystem ()
 ~PingThread (void)

Public Attributes

uga_tum_ardrone_guigui
bool measure
RosThreadrosThread

Private Member Functions

void run ()

Private Attributes

std::string ip
bool keepRunning
char line1 [200]
char line2 [200]
double p20000
double p500
char pingCommand20000 [100]
char pingCommand500 [100]
bool started

Static Private Attributes

static const double p20000Default = 50
static const double p500Default = 25

Detailed Description

Definition at line 34 of file PingThread.h.


Constructor & Destructor Documentation

This file is part of uga_tum_ardrone.

Copyright 2012 Jakob Engel <jajuengel@gmail.com> (Technical University of Munich) Portions Copyright 2015 Kenneth Bogert <kbogert@uga.edu> and Sina Solaimanpour <sina@uga.edu> (THINC Lab, University of Georgia) For more information see <https://vision.in.tum.de/data/software/uga_tum_ardrone>.

uga_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.

uga_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 uga_tum_ardrone. If not, see <http://www.gnu.org/licenses/>.

Definition at line 30 of file PingThread.cpp.

Definition at line 46 of file PingThread.cpp.


Member Function Documentation

void PingThread::run ( ) [private]

Definition at line 91 of file PingThread.cpp.

void PingThread::setEnabled ( bool  )
void PingThread::setIp ( std::string  newip)

Definition at line 64 of file PingThread.cpp.

Definition at line 52 of file PingThread.cpp.

Definition at line 58 of file PingThread.cpp.


Member Data Documentation

Definition at line 72 of file PingThread.h.

std::string PingThread::ip [private]

Definition at line 49 of file PingThread.h.

bool PingThread::keepRunning [private]

Definition at line 41 of file PingThread.h.

char PingThread::line1[200] [private]

Definition at line 47 of file PingThread.h.

char PingThread::line2[200] [private]

Definition at line 48 of file PingThread.h.

Definition at line 74 of file PingThread.h.

double PingThread::p20000 [private]

Definition at line 54 of file PingThread.h.

const double PingThread::p20000Default = 50 [static, private]

Definition at line 57 of file PingThread.h.

double PingThread::p500 [private]

Definition at line 53 of file PingThread.h.

const double PingThread::p500Default = 25 [static, private]

Definition at line 56 of file PingThread.h.

char PingThread::pingCommand20000[100] [private]

Definition at line 46 of file PingThread.h.

char PingThread::pingCommand500[100] [private]

Definition at line 45 of file PingThread.h.

Definition at line 73 of file PingThread.h.

bool PingThread::started [private]

Definition at line 42 of file PingThread.h.


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


uga_tum_ardrone
Author(s):
autogenerated on Sat Jun 8 2019 20:30:11