View unanswered posts | View active topics It is currently Wed Jul 23, 2014 5:52 am






Reply to topic  [ 2 posts ] 
How can I make a robot move with 4 motors 
Author Message
Rookie

Joined: Wed Dec 21, 2011 4:22 pm
Posts: 26
Post How can I make a robot move with 4 motors
So I am trying to program a robot but it has 2 motors on each side making it confusing since I'm trying to make the robot move forward backward left and rigth or in other words I'm trying to make it as an arcade driver . Sorry for my terrible English I did this in a hurry


Tue Jan 03, 2012 2:45 pm
Profile
Moderator
Moderator
User avatar

Joined: Tue Sep 14, 2010 9:19 pm
Posts: 496
Post Re: How can I make a robot move with 4 motors
So does your robot have a holonomic drive with omni or mecanum wheels? If it does not, you can never move left or right without turning. If you meant turn left or right instead of move, then that is what is usually called arcade drive like you mentioned. I believe that you already asked a similar question here: viewtopic.php?f=11&t=3901&p=16601
That post already gave you a couple examples on how to code arcade drive for two wheels. If you want to now code it for four wheels in a standard tank configuration, just use the same equation for both wheels on the same side

_________________
sudo rm -rf /


Tue Jan 03, 2012 3:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.