Functions | Variables
fly_from_joy.cpp File Reference
#include <ros/ros.h>
#include <std_msgs/Empty.h>
#include <geometry_msgs/Twist.h>
#include <sensor_msgs/Joy.h>
#include <geometry_msgs/Vector3.h>
Include dependency graph for fly_from_joy.cpp:

Go to the source code of this file.

Functions

void joy_callback (const sensor_msgs::Joy &joy_msg_in)
int main (int argc, char **argv)
float map (float value, float in_min, float in_max, float out_min, float out_max)

Variables

std_msgs::Empty emp_msg
float forget = 0.99
sensor_msgs::Joy joy_msg_in
double joy_x
double joy_x_
double joy_x_old
double joy_y
double joy_y_
double joy_y_old
double joy_z
double joy_z_
double joy_z_old
int new_msg = 0
geometry_msgs::Twist twist_msg
geometry_msgs::Vector3 v3_msg

Function Documentation

void joy_callback ( const sensor_msgs::Joy &  joy_msg_in)

Definition at line 26 of file fly_from_joy.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 42 of file fly_from_joy.cpp.

float map ( float  value,
float  in_min,
float  in_max,
float  out_min,
float  out_max 
)

Definition at line 38 of file fly_from_joy.cpp.


Variable Documentation

std_msgs::Empty emp_msg

Definition at line 21 of file fly_from_joy.cpp.

float forget = 0.99

Definition at line 18 of file fly_from_joy.cpp.

sensor_msgs::Joy joy_msg_in

Definition at line 23 of file fly_from_joy.cpp.

double joy_x

Definition at line 16 of file fly_from_joy.cpp.

double joy_x_

Definition at line 15 of file fly_from_joy.cpp.

double joy_x_old

Definition at line 19 of file fly_from_joy.cpp.

double joy_y

Definition at line 16 of file fly_from_joy.cpp.

double joy_y_

Definition at line 15 of file fly_from_joy.cpp.

double joy_y_old

Definition at line 19 of file fly_from_joy.cpp.

double joy_z

Definition at line 16 of file fly_from_joy.cpp.

double joy_z_

Definition at line 15 of file fly_from_joy.cpp.

double joy_z_old

Definition at line 19 of file fly_from_joy.cpp.

int new_msg = 0

Definition at line 17 of file fly_from_joy.cpp.

geometry_msgs::Twist twist_msg

Definition at line 20 of file fly_from_joy.cpp.

geometry_msgs::Vector3 v3_msg

Definition at line 22 of file fly_from_joy.cpp.



arl_ardrone_examples
Author(s): parcon
autogenerated on Mon Jan 6 2014 11:03:12