Go to Post Yes, I have already determined that the device is capable of launching 2,160 Krispy Kreme donuts into the back seat of my Mustang with a vertical displacement of 65 feet, without cracking the sugary glaze on a single donut. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #29   Spotlight this post!  
Unread 02-04-2012, 09:30
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,087
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Curve Driving Generator

Quote:
Originally Posted by dbeckwith View Post
that actually brings up another problem though, which I've been wondering about for a while: how do you get a robot with Mecanum drive to drive completely straight while turning at a constant rate (as in, the overall motion of the robot is in a straight line, but it is constantly rotating)?
If you have a gyro, so that you know the heading of the robot, you can transform the driver's commands into "field-centric" commands1. So, for example, pushing forward on the joystick would mean "translate straight downfield, regardless of your current heading". So the robot could be rotating continuously as it travels a straight line.

In actual practice, it doesn't work perfectly, because of sensor accuracy and mechanical imperfections (pesky friction and free play etc), but with a well-designed robot built with fine craftsmanship, you can get pretty close.

1The equations to do this can be found here; or you can use the gyro input to the mecanum drive provided in WPILib


Last edited by Ether : 02-04-2012 at 09:40. Reason: added footnote with link
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi