Ask Your Question
0

Turtlebot specify vleft and vright directly

asked 2017-08-26 12:55:55 -0500

vtolani gravatar image

updated 2017-08-26 21:26:17 -0500

I am using Turtlebot 2 with Kobuki base.

After looking through the documentation I found that my specified v, omega (linear speed, angular speed) is turned into speed, radius by the kobuki ros driver

This speed, radius is then fed to the kobuki base which does some kind of internal computation and has a pid controller for wheel velocity. I havent been able to find any documentation on what this internal computation is (looks like it isnt open source). I am looking for how the vleft and vright are calculated on this differential drive bot given a specific v, omega

Ideally I would be able to control vleft and vright directly, but if not at least to understand the internal calculations done on the kobuki base and the design of the internal pid controller. Any ideas?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-28 12:23:35 -0500

vtolani gravatar image

Looks like the linear and angular velocities are converted into a desired speed and radius which is fed over serial port to the kobuki base

https://github.com/yujinrobot/kobuki_...

(see void DiffDrive::velocityCommands(const double &vx, const double &wz) if line numbers have changed)

Still unsure what is the exact low level pid implementation on the Kobuki base for controlling left and right motors given the desired speed and radius.

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

2 followers

Stats

Asked: 2017-08-26 12:54:40 -0500

Seen: 102 times

Last updated: Jan 28