#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 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 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/>.
KIFlyTo::KIFlyTo | ( | DronePosition | checkpointP, |
double | stayTime = 2 , |
||
double | maxControlFactorP = 1 , |
||
double | initialReachedDistP = 0.2 , |
||
double | stayWithinDistP = 0.5 |
||
) |
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 27 of file KIFlyTo.cpp.
KIFlyTo::~KIFlyTo | ( | void | ) |
Definition at line 53 of file KIFlyTo.cpp.
bool KIFlyTo::update | ( | const tum_ardrone::filter_stateConstPtr | statePtr | ) | [virtual] |
Implements KIProcedure.
Definition at line 58 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] |