Functions
sr_subscriber_example Namespace Reference

Functions

def callback (joint_state)
 
def listener ()
 

Function Documentation

◆ callback()

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.

◆ listener()

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 Mon Feb 28 2022 23:52:10