Public Member Functions | |
void | callback (const std_msgs::String::ConstPtr &msg) |
void | chatter1 (const std_msgs::String::ConstPtr &msg) |
void | chatter1 (const std_msgs::String::ConstPtr &msg) |
void | chatter1 (const std_msgs::String::ConstPtr &msg) |
void | chatter2 (const std_msgs::String::ConstPtr &msg) |
void | chatter2 (const std_msgs::String::ConstPtr &msg) |
void | chatter2 (const std_msgs::String::ConstPtr &msg) |
void | chatter3 (const std_msgs::String::ConstPtr &msg) |
void | chatter3 (const std_msgs::String::ConstPtr &msg) |
void | chatter3 (const std_msgs::String::ConstPtr &msg) |
void | chatterCallback (const std_msgs::String::ConstPtr &msg, std::string user_string) |
void | init () |
Listener (const ros::NodeHandle &node_handle) | |
Public Attributes | |
ros::NodeHandle | node_handle_ |
ros::V_Subscriber | subs_ |
This tutorial demonstrates subscribing to a topic using a class method as the callback.
This tutorial demonstrates simple receipt of messages over the ROS system, with multiple callbacks for the same topic. See the "listener" tutorial for more information.
This tutorial demonstrates a simple use of Boost.Bind to pass arbitrary data into a subscription callback. For more information on Boost.Bind see the documentation on the boost homepage, http://www.boost.org/
Definition at line 40 of file listener_async_spin.cpp.
|
inline |
Definition at line 44 of file listener_with_userdata.cpp.
void Listener::callback | ( | const std_msgs::String::ConstPtr & | msg | ) |
Definition at line 43 of file listener_class.cpp.
|
inline |
Definition at line 40 of file listener_multiple.cpp.
|
inline |
Definition at line 43 of file listener_threaded_spin.cpp.
|
inline |
Definition at line 43 of file listener_async_spin.cpp.
|
inline |
Definition at line 41 of file listener_multiple.cpp.
|
inline |
Definition at line 48 of file listener_async_spin.cpp.
|
inline |
Definition at line 48 of file listener_threaded_spin.cpp.
|
inline |
Definition at line 42 of file listener_multiple.cpp.
|
inline |
Definition at line 53 of file listener_threaded_spin.cpp.
|
inline |
Definition at line 53 of file listener_async_spin.cpp.
|
inline |
Definition at line 56 of file listener_with_userdata.cpp.
|
inline |
Definition at line 49 of file listener_with_userdata.cpp.
ros::NodeHandle Listener::node_handle_ |
Definition at line 41 of file listener_with_userdata.cpp.
ros::V_Subscriber Listener::subs_ |
Definition at line 42 of file listener_with_userdata.cpp.