View Single Post
  #8   Spotlight this post!  
Unread 22-01-2014, 08:15
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: X and Z axis change when gyro reaches 90 degrees

Quote:
Originally Posted by Dexterium View Post
If the only issue is that the robot stops behaving correctly after you rotate it then we had a similar problem. All you have to do is reset the gyro and it should be fixed. In order for the reset to be automatic (easier for the driver) we just said: any time the robot rotates, reset the gyro.
When both of you say make it easier on the driver, what do you mean?

In your case, if every time you're rotating, you're resetting the gyro, then you're not letting the gyro do what it's meant to. They gyro is meant to switch the mecanum drive from being robot centric to field centric (i.e. driver pushes away the robot drives away, regardless of it's orientation). If you do not like this behavior, just put a 0 into the gyro input on the mecanum, and you'll have a robot centric mecanum. You do not need a gyro on your robot to use the mecanum drive.
__________________
"Never let your schooling interfere with your education" -Mark Twain
Reply With Quote