Ask Your Question

kobuki raw encoders ticks reset

asked 2017-04-02 06:06:25 -0500

AbdRenawi gravatar image

I am reading raw encoders ticks values and generating the odometry using my own code, but I need to reset the encoders ticks every new run of my code. Is there a way to reset the encoders ticks without turning OFF the robot ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-16 04:33:24 -0500

H.Ruthrash gravatar image

When we publish an empty message to the /mobile_base/commands/reset_odometry topic when the kobuki_node is active, we can rest the odometry.

$ rostopic pub -1 /mobile_base/commands/reset_odometry std_msgs/Empty

Hope this helps!

edit flag offensive delete link more


Unfortunately it doesn't. The idea is to compare my odometery with the available one, which requires resetting the encoders themselves, since in every run my odometery code includes the initial values of the Encoders.

AbdRenawi gravatar image AbdRenawi  ( 2017-08-06 21:44:29 -0500 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2017-04-02 06:06:25 -0500

Seen: 139 times

Last updated: Apr 02 '17