35 #ifndef JOYSTICKDEMO_H_ 36 #define JOYSTICKDEMO_H_ 39 #include <sensor_msgs/Joy.h> 40 #include <std_msgs/Empty.h> 42 #include <dbw_pacifica_msgs/AcceleratorPedalCmd.h> 43 #include <dbw_pacifica_msgs/BrakeCmd.h> 44 #include <dbw_pacifica_msgs/SteeringCmd.h> 45 #include <dbw_pacifica_msgs/GearCmd.h> 46 #include <dbw_pacifica_msgs/MiscCmd.h> 47 #include <dbw_pacifica_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_
dbw_mkz_twist_controller::TwistControllerNode * node
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_