36 #ifndef JOYSTICKDEMO_H_ 37 #define JOYSTICKDEMO_H_ 40 #include <sensor_msgs/Joy.h> 41 #include <std_msgs/Empty.h> 43 #include <raptor_dbw_msgs/AcceleratorPedalCmd.h> 44 #include <raptor_dbw_msgs/BrakeCmd.h> 45 #include <raptor_dbw_msgs/SteeringCmd.h> 46 #include <raptor_dbw_msgs/GearCmd.h> 47 #include <raptor_dbw_msgs/MiscCmd.h> 48 #include <raptor_dbw_msgs/GlobalEnableCmd.h> 69 void recvJoy(
const sensor_msgs::Joy::ConstPtr&
msg);
float accelerator_pedal_joy
ros::Publisher pub_enable_
JoystickDemo(ros::NodeHandle &node, ros::NodeHandle &priv_nh)
ros::Publisher pub_global_enable_
ros::Publisher pub_brake_
ros::Publisher pub_steering_
bool joy_accelerator_pedal_valid
void recvJoy(const sensor_msgs::Joy::ConstPtr &msg)
void cmdCallback(const ros::TimerEvent &event)
ros::Publisher pub_accelerator_pedal_
ros::Publisher pub_disable_