View Single Post
  #1   Spotlight this post!  
Unread 28-02-2011, 18:01
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Field Centric Question

Our team used field centric control this year. However, because the robot starts facing the driver, the gyro's zero position is skewed by 180 degrees.

As the robot is shipped and I don't have a mecanum test environment anymore, I'm trying to convince myself of how this can be resolved.

1) always add 180 to the gyro angle before using it
2) negate both joystick axes (this is the one I'm particularly interested in)

Are both of these solutions valid, and equivalent?

Thanks for your help. This is probably a really simple question, I'm just having trouble visualizing it.