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

Is it possible to call a server by a client who reads from a topic?

asked 2020-04-21 17:30:01 -0600

Hi, I'm new in dealing with ROS. So I'm not sure that what I'm asking is really feasible or not. My doubt is if it's possible to have a client that receive from a topic some messages, and when it receives something, it call the server in order to perform some operation on that messages. Thanks everybody!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-04-22 03:41:30 -0600

Procópio gravatar image

Sure, there is no problem at all in doing that.

Topics, services and action servers can all live together. That is one of the core features of ROS.

Just go through the tutorials on topics and services and try to put them together as a proof of concept.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-04-21 17:30:01 -0600

Seen: 71 times

Last updated: Apr 22 '20