19 #ifndef TELEOP_SUBSCRIBER_HPP 20 #define TELEOP_SUBSCRIBER_HPP 31 #include <geometry_msgs/Twist.h> 32 #include <naoqi_bridge_msgs/JointAnglesWithSpeed.h> 42 TeleopSubscriber(
const std::string&
name,
const std::string& cmd_vel_topic,
const std::string& joint_angles_topic,
const qi::SessionPtr& session );
ros::Subscriber sub_cmd_vel_
std::string joint_angles_topic_
void joint_angles_callback(const naoqi_bridge_msgs::JointAnglesWithSpeedConstPtr &js_msg)
std::string cmd_vel_topic_
ros::Subscriber sub_joint_angles_
void cmd_vel_callback(const geometry_msgs::TwistConstPtr &twist_msg)
TeleopSubscriber(const std::string &name, const std::string &cmd_vel_topic, const std::string &joint_angles_topic, const qi::SessionPtr &session)
void reset(ros::NodeHandle &nh)