Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Joy Class Reference

#include <joy.h>

Public Member Functions

 Joy ()
 

Private Types

typedef sensor_msgs::Joy::_buttons_type ButtonType
 

Private Member Functions

void JoyCallback (const sensor_msgs::JoyConstPtr &msg)
 
void Publish ()
 
void StopMav ()
 

Private Attributes

Axes axes_
 
Buttons buttons_
 
mav_msgs::RollPitchYawrateThrust control_msg_
 
ros::Publisher ctrl_pub_
 
sensor_msgs::Joy current_joy_
 
double current_yaw_vel_
 
bool is_fixed_wing_
 
ros::Subscriber joy_sub_
 
Max max_
 
std::string namespace_
 
ros::NodeHandle nh_
 
geometry_msgs::PoseStamped pose_
 
double v_yaw_step_
 

Detailed Description

Definition at line 56 of file joy.h.

Member Typedef Documentation

◆ ButtonType

typedef sensor_msgs::Joy::_buttons_type Joy::ButtonType
private

Definition at line 57 of file joy.h.

Constructor & Destructor Documentation

◆ Joy()

Joy::Joy ( )

Definition at line 26 of file joy.cpp.

Member Function Documentation

◆ JoyCallback()

void Joy::JoyCallback ( const sensor_msgs::JoyConstPtr &  msg)
private

Definition at line 78 of file joy.cpp.

◆ Publish()

void Joy::Publish ( )
private

Definition at line 108 of file joy.cpp.

◆ StopMav()

void Joy::StopMav ( )
private

Definition at line 69 of file joy.cpp.

Member Data Documentation

◆ axes_

Axes Joy::axes_
private

Definition at line 66 of file joy.h.

◆ buttons_

Buttons Joy::buttons_
private

Definition at line 67 of file joy.h.

◆ control_msg_

mav_msgs::RollPitchYawrateThrust Joy::control_msg_
private

Definition at line 69 of file joy.h.

◆ ctrl_pub_

ros::Publisher Joy::ctrl_pub_
private

Definition at line 61 of file joy.h.

◆ current_joy_

sensor_msgs::Joy Joy::current_joy_
private

Definition at line 71 of file joy.h.

◆ current_yaw_vel_

double Joy::current_yaw_vel_
private

Definition at line 75 of file joy.h.

◆ is_fixed_wing_

bool Joy::is_fixed_wing_
private

Definition at line 78 of file joy.h.

◆ joy_sub_

ros::Subscriber Joy::joy_sub_
private

Definition at line 62 of file joy.h.

◆ max_

Max Joy::max_
private

Definition at line 73 of file joy.h.

◆ namespace_

std::string Joy::namespace_
private

Definition at line 64 of file joy.h.

◆ nh_

ros::NodeHandle Joy::nh_
private

Definition at line 60 of file joy.h.

◆ pose_

geometry_msgs::PoseStamped Joy::pose_
private

Definition at line 70 of file joy.h.

◆ v_yaw_step_

double Joy::v_yaw_step_
private

Definition at line 76 of file joy.h.


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


rotors_joy_interface
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Mon Feb 28 2022 23:39:18