Skip to content

mw46d/udp_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

udp_example

Simple ROS2 node example to get data over UDP and publish it as a ROS topic

There is a little server which accepts any message and replies with a dict/JSON string mimicking a ultrasonic range sensor

The ROS node periodically sends a message to the server and expects a JSON reply. That JSON reply is massaged into a sensor_msg.mgs.Range message and published to a ROS topic.

Build

A simple colcon build should do it

Run

ros2 run udp_example udp_test_server to start a little test server

ros2 run udp_example udp_node starts the node

About

Simple ROS2 node example to get data over UDP and publish it as a ROS topic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages