Defines | Functions | Variables
teleop_twist.h File Reference
#include <ardrone_autonomy/ardrone_sdk.h>
#include <geometry_msgs/Twist.h>
#include <std_msgs/Empty.h>
#include <std_srvs/Empty.h>
#include <ardrone_autonomy/CamSelect.h>
#include <ardrone_autonomy/LedAnim.h>
#include <ardrone_autonomy/FlightAnim.h>
#include <ardrone_autonomy/RecordEnable.h>
Include dependency graph for teleop_twist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _EPS   1.0e-6
#define DEFAULT_CAM_STATE   0
#define DEFAULT_NAVDATA_DEMO   0

Functions

void CmdVelCallback (const geometry_msgs::TwistConstPtr &msg)
bool FlatTrimCallback (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)
void LandCallback (const std_msgs::Empty &msg)
void ResetCallback (const std_msgs::Empty &msg)
bool SetCamChannelCallback (ardrone_autonomy::CamSelect::Request &request, ardrone_autonomy::CamSelect::Response &response)
bool SetFlightAnimationCallback (ardrone_autonomy::FlightAnim::Request &request, ardrone_autonomy::FlightAnim::Response &response)
bool SetLedAnimationCallback (ardrone_autonomy::LedAnim::Request &request, ardrone_autonomy::LedAnim::Response &response)
bool SetRecordCallback (ardrone_autonomy::RecordEnable::Request &request, ardrone_autonomy::RecordEnable::Response &response)
void TakeoffCallback (const std_msgs::Empty &msg)
bool ToggleCamCallback (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)

Variables

int cam_state
int32_t detect_disable_placeholder
int32_t detect_dtype
int32_t detect_enable_placeholder
int32_t detect_enemy_color
int32_t detect_groundstripes_color
int32_t detect_hori_type
int32_t detect_indoor_hull
int32_t detect_vert_type
int set_navdata_demo_value
input_device_t teleop

Detailed Description

Software License Agreement (BSD)

Authors:
Mani Monajjemi <mmonajje@sfu.ca>

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Autonomy Lab nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file teleop_twist.h.


Define Documentation

#define _EPS   1.0e-6

Definition at line 37 of file teleop_twist.h.

#define DEFAULT_CAM_STATE   0

Definition at line 73 of file teleop_twist.h.

#define DEFAULT_NAVDATA_DEMO   0

Definition at line 74 of file teleop_twist.h.


Function Documentation

void CmdVelCallback ( const geometry_msgs::TwistConstPtr &  msg)

Definition at line 148 of file teleop_twist.cpp.

bool FlatTrimCallback ( std_srvs::Empty::Request &  request,
std_srvs::Empty::Response &  response 
)

Definition at line 139 of file teleop_twist.cpp.

void LandCallback ( const std_msgs::Empty &  msg)

Definition at line 163 of file teleop_twist.cpp.

void ResetCallback ( const std_msgs::Empty &  msg)

Definition at line 170 of file teleop_twist.cpp.

bool SetCamChannelCallback ( ardrone_autonomy::CamSelect::Request &  request,
ardrone_autonomy::CamSelect::Response &  response 
)

Definition at line 59 of file teleop_twist.cpp.

bool SetFlightAnimationCallback ( ardrone_autonomy::FlightAnim::Request &  request,
ardrone_autonomy::FlightAnim::Response &  response 
)

Definition at line 125 of file teleop_twist.cpp.

bool SetLedAnimationCallback ( ardrone_autonomy::LedAnim::Request &  request,
ardrone_autonomy::LedAnim::Response &  response 
)

Definition at line 112 of file teleop_twist.cpp.

bool SetRecordCallback ( ardrone_autonomy::RecordEnable::Request &  request,
ardrone_autonomy::RecordEnable::Response &  response 
)

Definition at line 81 of file teleop_twist.cpp.

void TakeoffCallback ( const std_msgs::Empty &  msg)

Definition at line 177 of file teleop_twist.cpp.

bool ToggleCamCallback ( std_srvs::Empty::Request &  request,
std_srvs::Empty::Response &  response 
)

Definition at line 70 of file teleop_twist.cpp.


Variable Documentation

int cam_state

Definition at line 41 of file teleop_twist.cpp.

Definition at line 48 of file teleop_twist.cpp.

int32_t detect_dtype

Definition at line 44 of file teleop_twist.cpp.

Definition at line 49 of file teleop_twist.cpp.

Definition at line 43 of file teleop_twist.cpp.

Definition at line 45 of file teleop_twist.cpp.

Definition at line 47 of file teleop_twist.cpp.

Definition at line 46 of file teleop_twist.cpp.

Definition at line 42 of file teleop_twist.cpp.

input_device_t teleop

Definition at line 264 of file teleop_twist.cpp.



ardrone_autonomy
Author(s): Mani Monajjemi, Mani Monajjemi
autogenerated on Fri Dec 9 2016 03:36:59