User avatar
Smashukikz
Posts: 2
Joined: Thu Mar 05, 2015 4:29 pm
Contact: Website

Gertbot 2wd proportional speed control

Fri Mar 20, 2015 2:54 pm

I am working on a small "bot" using a Raspberry Pi, a gertbot, and an Arduino.... Might trade that out for an APM 2.6 Open source autopilot.. http://mybot.compugeekz.com/ottis. I am incorporating all this into ROS Indigo.. I still consider myself a "Noob" even though this is my second "bot" I was just wondering if anyone has had any luck with proportional speed control on the gertbot? I am no programmer but am picking it up as I go along.. Oh Yeah... Mr. Gert van Loo... Thank you for everything you have giving to Raspberry Pi..

User avatar
Gert van Loo
Posts: 2487
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Gertbot 2wd proportional speed control

Fri Mar 20, 2015 6:09 pm

Can you tell a bit more what you mean with "proportional speed control ". Proportional to what?
You can find example code used in the toast-e robot here:
http://www.gertbot.com/gbdownload/examples/toaste.tgz
Look in the toaste.c file for the '-' and '+' keys which control the speed.
(more information is here (http://www.gertbot.com/toaste.html)
Toast-e has standard brushed motors the speed of which is controlled by setting a certain PWM value.

Return to “HATs and other add-ons”