Publish UDP packet using rospy to topic

asked 2022-09-25 21:50:43 -0600

brother gravatar image

New to ROS and networking. I am asked to write a python script that sends UDP packets to a ROS topic and the packets will be received by the ground station which receives the UDP ROS packets from the topic and sends back TCP packets written in non-ROS, pure python code. I am able to send UDP packets through ports, but not sure how to publish them to a topic. I would really appreciate if I could get some help on how to send UDP packets to a topic.

edit retag flag offensive close merge delete