View Single Post
  #18   Spotlight this post!  
Unread 26-04-2015, 08:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,043
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: Getting Gyro Working w/ Mecanum Drive

Quote:
Originally Posted by WillNess View Post
should I set the fourth variable to my Gyro Angle or to 0?
As explained in earlier posts in this thread, passing the gyro angle to the fourth parameter gives you field-centric control. You said that's not what you want.

Quote:
Originally Posted by Ether View Post
What you described above will make the driver interface field-centric
Quote:
Originally Posted by GeeTwo View Post
Do not use the fourth "gyroscope" input to MecanumDrive_cartesian; this is only used for "field coordinates".
See the note "Optional Input for field-centric control of XY motion" in the code diagram linked in this post:
Quote:
Originally Posted by Ether View Post
if your goal is to make the bot drive straight when the driver is commanding zero rotation, you could do something like this:

http://www.chiefdelphi.com/forums/at...4&d=1420598437


Last edited by Ether : 26-04-2015 at 09:16.
Reply With Quote