#include <KIAutoInit.h>
Public Member Functions | |
KIAutoInit (bool resetMap=true, int imoveTimeMS=500, int iwaitTimeMS=800, int reachHeightMS=6000, float controlMult=1.0, bool takeoff=true) | |
bool | update (const tum_ardrone::filter_stateConstPtr statePtr) |
~KIAutoInit (void) | |
Private Types | |
enum | { NONE, STARTED, WAIT_FOR_FIRST, TOOK_FIRST, WAIT_FOR_SECOND, DONE } |
Private Attributes | |
float | controlCommandMultiplier |
int | moveTimeMS |
bool | nextUp |
int | reachHeightMS |
bool | resetMap |
enum KIAutoInit:: { ... } | stage |
int | stageStarted |
int | waitTimeMS |
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 26 of file KIAutoInit.h.
anonymous enum [private] |
Definition at line 29 of file KIAutoInit.h.
KIAutoInit::KIAutoInit | ( | bool | resetMap = true , |
int | imoveTimeMS = 500 , |
||
int | iwaitTimeMS = 800 , |
||
int | reachHeightMS = 6000 , |
||
float | controlMult = 1.0 , |
||
bool | takeoff = true |
||
) |
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 KIAutoInit.cpp.
KIAutoInit::~KIAutoInit | ( | void | ) |
Definition at line 52 of file KIAutoInit.cpp.
bool KIAutoInit::update | ( | const tum_ardrone::filter_stateConstPtr | statePtr | ) | [virtual] |
Implements KIProcedure.
Definition at line 57 of file KIAutoInit.cpp.
float KIAutoInit::controlCommandMultiplier [private] |
Definition at line 36 of file KIAutoInit.h.
int KIAutoInit::moveTimeMS [private] |
Definition at line 33 of file KIAutoInit.h.
bool KIAutoInit::nextUp [private] |
Definition at line 31 of file KIAutoInit.h.
int KIAutoInit::reachHeightMS [private] |
Definition at line 35 of file KIAutoInit.h.
bool KIAutoInit::resetMap [private] |
Definition at line 32 of file KIAutoInit.h.
enum { ... } KIAutoInit::stage [private] |
int KIAutoInit::stageStarted [private] |
Definition at line 30 of file KIAutoInit.h.
int KIAutoInit::waitTimeMS [private] |
Definition at line 34 of file KIAutoInit.h.