pycram.ros.no_ros.subscriber#
Functions#
|
Create a ROS subscriber. |
Module Contents#
- pycram.ros.no_ros.subscriber.create_subscriber(topic, msg_type, callback, queue_size=10)#
Create a ROS subscriber.
- Parameters:
topic – The name of the topic to subscribe to.
msg_type – The type of message to subscribe to.
callback – The callback function to call when a message is received.
queue_size – The size of the message queue.
- Returns:
A ROS subscriber object.