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

Odometry service or topic ?

asked 2016-06-03 01:14:46 -0600

goupil35000 gravatar image


I can get odometry using service or a topic. How can I choose between the 2 possibilities ?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-03 02:07:14 -0600

F.Brosseau gravatar image

I think that you should use topics for that.

It depends on how often you receive data.

Services are useful when you want to do a specific action sometimes.

Topics are used when you often received data (data from sensors, command control to drive your robot, odometry, ...)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-03 01:14:46 -0600

Seen: 245 times

Last updated: Jun 03 '16