Public Member Functions | Private Types | Private Attributes
KIAutoInit Class Reference

#include <KIAutoInit.h>

Inheritance diagram for KIAutoInit:
Inheritance graph
[legend]

List of all members.

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

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 26 of file KIAutoInit.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
NONE 
STARTED 
WAIT_FOR_FIRST 
TOOK_FIRST 
WAIT_FOR_SECOND 
DONE 

Definition at line 29 of file KIAutoInit.h.


Constructor & Destructor Documentation

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.

Definition at line 52 of file KIAutoInit.cpp.


Member Function Documentation

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

Implements KIProcedure.

Definition at line 57 of file KIAutoInit.cpp.


Member Data Documentation

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.

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.


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


tum_ardrone
Author(s):
autogenerated on Sat Jun 8 2019 20:27:23