Odometry service or topic ?
Hi,
I can get odometry using service or a topic. How can I choose between the 2 possibilities ?
Thanks.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi,
I can get odometry using service or a topic. How can I choose between the 2 possibilities ?
Thanks.
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, ...)
Asked: 2016-06-03 01:14:46 -0500
Seen: 245 times
Last updated: Jun 03 '16
Why cannot we communicate with nodes and receive a reply using topics?
how to call a service inside a node?
Turtlebot tutorial - rviz "2D Pose Estimate" button
Confusion about TF Odom to Base_footprint
Getting Raw Data from Turtlebot Simulator
Robot doesn't follow plan close enough
questions about tf2_web_republisher
Turtlebot depth image not displaying with Image_view with gazebo