Society of Robots - Robot Forum
Software => Software => Topic started by: hemanth on January 02, 2010, 05:50:56 AM
-
Im new to robotics and programming. I just want a code for a simple 4 wheeled bot to either go forward or turn(by letting wheels on the Left hand side spin in a direction and the other 2 in the reverse direction). can anyone generate a code for me<any board is fine, I still havent purchased 1!> :) :) :) :) :) :)
-
any sensors or buttons, what do you want to activate the turn.
when i know this i'll give it a shot.
Joker94
-
$50 robot tutorial?
turn it into a 2 wheeled 1 castor robot and you can use simple diferential drive.
then take the mcu and code from the $50 robot tutorial.
-
I would suggest buying a programable robot kit. It would come with the board plus the code.
You will be able to more than just going forward and turning.
-
any sensors or buttons, what do you want to activate the turn.
when i know this i'll give it a shot.
Joker94
Only 1 switch for keeping the entire bot on or off, no sensors :)
-
Only 1 switch for keeping the entire bot on or off, no sensors :)
what will cause the robot to turn? or you just want it to be a sequence.
will you use servos or motors?
Joker94
-
servos...but every action is done manually(no sensing obstacles and turning, etc)
-
any sensors or buttons, what do you want to activate the turn.
when i know this i'll give it a shot.
Joker94
Only 1 switch for keeping the entire bot on or off, no sensors :)
I mean what do you want to make it turn.
A different switch?(each time you hit the switch it turns 90 degrees right?)
As you just said you wanted a swith to turn the bot on and off.
-
This turning behavior is akin to a tank (or any tracked vehicle).
Find the Surveyor C source code from their website, it might help you understand how it's done.
http://www.surveyor.com/cgi-bin/robot_journal.cgi/2006/08/ (http://www.surveyor.com/cgi-bin/robot_journal.cgi/2006/08/)
My Surveyor makes its turns like you mentioned.
Im new to robotics and programming. I just want a code for a simple 4 wheeled bot to either go forward or turn(by letting wheels on the Left hand side spin in a direction and the other 2 in the reverse direction). can anyone generate a code for me<any board is fine, I still havent purchased 1!> :) :) :) :) :) :)