naoqidriver
Public Member Functions | Private Attributes
naoqi::subscriber::TeleopSubscriber Class Reference

#include <teleop.hpp>

Inheritance diagram for naoqi::subscriber::TeleopSubscriber:
naoqi::subscriber::BaseSubscriber< TeleopSubscriber >

Public Member Functions

 TeleopSubscriber (const std::string &name, const std::string &cmd_vel_topic, const std::string &joint_angles_topic, const qi::SessionPtr &session)
 
 ~TeleopSubscriber ()
 
void reset (ros::NodeHandle &nh)
 
void cmd_vel_callback (const geometry_msgs::TwistConstPtr &twist_msg)
 
void joint_angles_callback (const naoqi_bridge_msgs::JointAnglesWithSpeedConstPtr &js_msg)
 
- Public Member Functions inherited from naoqi::subscriber::BaseSubscriber< TeleopSubscriber >
 BaseSubscriber (const std::string &name, const std::string &topic, qi::SessionPtr session)
 
virtual ~BaseSubscriber ()
 
std::string name () const
 
std::string topic () const
 
bool isInitialized () const
 

Private Attributes

std::string cmd_vel_topic_
 
std::string joint_angles_topic_
 
qi::AnyObject p_motion_
 
ros::Subscriber sub_cmd_vel_
 
ros::Subscriber sub_joint_angles_
 

Additional Inherited Members

- Protected Attributes inherited from naoqi::subscriber::BaseSubscriber< TeleopSubscriber >
std::string name_
 
std::string topic_
 
bool is_initialized_
 
const robot::Robotrobot_
 
qi::SessionPtr session_
 

Constructor & Destructor Documentation

naoqi::subscriber::TeleopSubscriber::TeleopSubscriber ( const std::string &  name,
const std::string &  cmd_vel_topic,
const std::string &  joint_angles_topic,
const qi::SessionPtr &  session 
)
naoqi::subscriber::TeleopSubscriber::~TeleopSubscriber ( )
inline

Member Function Documentation

void naoqi::subscriber::TeleopSubscriber::cmd_vel_callback ( const geometry_msgs::TwistConstPtr &  twist_msg)
void naoqi::subscriber::TeleopSubscriber::joint_angles_callback ( const naoqi_bridge_msgs::JointAnglesWithSpeedConstPtr &  js_msg)
void naoqi::subscriber::TeleopSubscriber::reset ( ros::NodeHandle &  nh)

Field Documentation

std::string naoqi::subscriber::TeleopSubscriber::cmd_vel_topic_
private
std::string naoqi::subscriber::TeleopSubscriber::joint_angles_topic_
private
qi::AnyObject naoqi::subscriber::TeleopSubscriber::p_motion_
private
ros::Subscriber naoqi::subscriber::TeleopSubscriber::sub_cmd_vel_
private
ros::Subscriber naoqi::subscriber::TeleopSubscriber::sub_joint_angles_
private

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