how to control kobuki accurately?
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.
Asked by NKUBRUCE on 2015-06-11 20:50:51 UTC
Answers
I guess your "problem" lies in the "velocity_smoother" package. (http://wiki.ros.org/yocs_velocity_smoother) 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.
Asked by daenny on 2015-06-12 04:26:14 UTC
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
Asked by NKUBRUCE on 2015-07-08 21:11:26 UTC
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.
Asked by daenny on 2015-09-23 10:06:02 UTC
Comments
Which packages are you using? Standalone for Kobuki or turtlebot2? Does it happen when teleoperating with the
kobuki_keyop
package?Asked by Javier V. Gómez on 2015-06-12 02:16:59 UTC
It is same.
Asked by NKUBRUCE on 2015-07-08 21:11:51 UTC