pycram.ros.no_ros.publisher#
Functions#
|
Create a ROS publisher. |
Module Contents#
- pycram.ros.no_ros.publisher.create_publisher(topic, msg_type, queue_size=10, latch: bool = False) None#
Create a ROS publisher.
- Parameters:
topic – The name of the topic to publish to.
msg_type – The type of message to publish.
queue_size – The size of the message queue.
latch – Whether to latch the last message sent.
- Returns:
A ROS publisher object.