Ask Your Question
0

Odometry service or topic ?

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

goupil35000 gravatar image

Hi,

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

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 76 times

Last updated: Jun 03 '16