Page 1 of 1

VREP-ROS Services Vs Topics

Posted: 13 Jun 2014, 18:33
by amattag
Dear all,

Right now I am working in a project that will involve the creation of several nodes following the VREP-ROS approach.
From your perspective, which is better to use: ROS Services or ROS Topics as a means to communicate with VREP.
I also intend to use the rospy library intensively.

Kind regards and many thanks for your help.

Antonio.

Re: VREP-ROS Services Vs Topics

Posted: 14 Jun 2014, 11:10
by coppelia
Hello Antonio,

you should use both of them, depending on what you want to do!

But very briefly:
  • With services, you will get a concrete reply for your query, e.g. what is the handle of object 'joint42'?.
  • With topics, you will stream data that is often used and often changes, e.g. send me continuously the position of joint with handle x.
Cheers