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

how to control kobuki accurately?

asked 2015-06-11 20:50:51 -0500

NKUBRUCE gravatar image

when I pubish a small commond of angular velocity to kobuki, the kobuki start to move after a long time. How to control the kobuki accurately? I mean the kobuki move as the command I published.

edit retag flag offensive close merge delete

Comments

Which packages are you using? Standalone for Kobuki or turtlebot2? Does it happen when teleoperating with the kobuki_keyop package?

Javier V. Gómez gravatar image Javier V. Gómez  ( 2015-06-12 02:16:59 -0500 )edit

It is same.

NKUBRUCE gravatar image NKUBRUCE  ( 2015-07-08 21:11:51 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-06-12 04:26:14 -0500

daenny gravatar image

I guess your "problem" lies in the "velocity_smoother" package. ( http://wiki.ros.org/yocs_velocity_smo... ) This package ramps the speeds up and down in order to provide smoother commands to the base. You can play around with the parameters of this package using dynamic reconfigure, e.g. change the acceleration and deceleration limits to ridiculously high values to see if that makes a difference, or skip the node all together by directly publishing on the control topic:

/mobile_base/commands/velocity

Otherwise, it could also be network latency or a time sync issue if you control the kobuki from a workstation pc and not directly from the laptop connected to the base. This is easy to check by directly running the code on the laptop without any network connection in between.

edit flag offensive delete link more

Comments

when I pubish a small commond of angular velocity to kobuki on the topic "/mobile_base/commands/velocity" , the kobuki still start to move after a long time. Maybe I have to work on iRobot Create

NKUBRUCE gravatar image NKUBRUCE  ( 2015-07-08 21:11:26 -0500 )edit

Sorry, I lost track of the topic. It could be the floor you are driving on. The support wheels are fixed, so if they do not slip easily, the motors are to weak turn the base and it gets "jumpy". Try on hardwood floor, carpets and tiles, and see if the problem is the same.

daenny gravatar image daenny  ( 2015-09-23 10:06:02 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-11 20:50:51 -0500

Seen: 1,361 times

Last updated: Jun 12 '15