Functions
sr_subscriber_example Namespace Reference

Functions

def callback (joint_state)
 
def listener ()
 

Function Documentation

def sr_subscriber_example.callback (   joint_state)
The callback function for the topic /joint_states

It displays the received information in the console.

@param joint_state: the message containing the joints data.

Definition at line 33 of file sr_subscriber_example.py.

def sr_subscriber_example.listener ( )
Initialize the ROS node and the topic to which it subscribes.

Definition at line 48 of file sr_subscriber_example.py.



sr_example
Author(s): Ugo Cupcic
autogenerated on Wed Oct 14 2020 04:05:12