#include <KIFlyTo.h>
Public Member Functions | |
KIFlyTo (DronePosition checkpoint, double stayTime=2, double maxControlFactorP=1, double initialReachedDistP=0.2, double stayWithinDistP=0.5) | |
bool | update (const uga_tum_ardrone::filter_stateConstPtr statePtr) |
~KIFlyTo (void) | |
Private Attributes | |
DronePosition | checkpoint |
double | initialReachedDist |
bool | isCompleted |
double | maxControlFactor |
bool | reached |
int | reachedAtClock |
int | stayTimeMs |
double | stayWithinDist |
bool | targetSet |
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/>.
KIFlyTo::KIFlyTo | ( | DronePosition | checkpoint, |
double | stayTime = 2 , |
||
double | maxControlFactorP = 1 , |
||
double | initialReachedDistP = 0.2 , |
||
double | stayWithinDistP = 0.5 |
||
) |
Definition at line 36 of file KIFlyTo.cpp.
KIFlyTo::~KIFlyTo | ( | void | ) |
Definition at line 62 of file KIFlyTo.cpp.
bool KIFlyTo::update | ( | const uga_tum_ardrone::filter_stateConstPtr | statePtr | ) | [virtual] |
Implements KIProcedure.
Definition at line 67 of file KIFlyTo.cpp.
DronePosition KIFlyTo::checkpoint [private] |
double KIFlyTo::initialReachedDist [private] |
bool KIFlyTo::isCompleted [private] |
double KIFlyTo::maxControlFactor [private] |
bool KIFlyTo::reached [private] |
int KIFlyTo::reachedAtClock [private] |
int KIFlyTo::stayTimeMs [private] |
double KIFlyTo::stayWithinDist [private] |
bool KIFlyTo::targetSet [private] |