Public Member Functions | Private Attributes
KIFlyTo Class Reference

#include <KIFlyTo.h>

Inheritance diagram for KIFlyTo:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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


Constructor & Destructor Documentation

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.


Member Function Documentation

bool KIFlyTo::update ( const tum_ardrone::filter_stateConstPtr  statePtr) [virtual]

Implements KIProcedure.

Definition at line 58 of file KIFlyTo.cpp.


Member Data Documentation

Definition at line 41 of file KIFlyTo.h.

double KIFlyTo::initialReachedDist [private]

Definition at line 37 of file KIFlyTo.h.

bool KIFlyTo::isCompleted [private]

Definition at line 33 of file KIFlyTo.h.

double KIFlyTo::maxControlFactor [private]

Definition at line 36 of file KIFlyTo.h.

bool KIFlyTo::reached [private]

Definition at line 31 of file KIFlyTo.h.

int KIFlyTo::reachedAtClock [private]

Definition at line 30 of file KIFlyTo.h.

int KIFlyTo::stayTimeMs [private]

Definition at line 35 of file KIFlyTo.h.

double KIFlyTo::stayWithinDist [private]

Definition at line 38 of file KIFlyTo.h.

bool KIFlyTo::targetSet [private]

Definition at line 32 of file KIFlyTo.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