ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Communication between ROS node and non ROS p

asked 2022-08-08 15:10:17 -0500

theineus gravatar image

Hello, I have an existing project in C++ in which I need to send information to ROS through a Service. But I can't find how to make a ROS node communicate with my non ROS project. How can I do without going through a rosbridge? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-08-09 02:29:40 -0500

ravijoshi gravatar image

updated 2022-08-09 02:30:47 -0500

I need to send information to ROS through a Service.

Do you mean sending information to your ROS Service?

Let's say you have a ROS Service server that needs a text message to serve a request. You can use the ZeroMQ library to send the information from your C++ code. There are various tutorials available online. You may also check ros_zeromq_tutorial.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-08-08 15:10:17 -0500

Seen: 117 times

Last updated: Aug 09 '22