View Single Post
  #3   Spotlight this post!  
Unread 18-01-2014, 17:42
Ring_Lord Ring_Lord is offline
Registered User
FRC #4269
 
Join Date: Jan 2014
Location: Ohio
Posts: 6
Ring_Lord is an unknown quantity at this point
Re: X and Z axis change when gyro reaches 90 degrees

Lineskier,
Our team has figured out that when we use the Y axis on our controller it acts as axis 3. And when we use the axis 3 it acts as though its the Y axis. We tested this so the labels are wrong in the program. We are using cartesian and plugging the correct axis into the Cartesian mecnum with a numerical gyro number between -360°and 360°. We have our program set up so we can "turn off" the gyro and put a zero in for the angle at the press of a button. when the angle is at zero our robot works fine, but when we put our gyro angle in and try to rotate it at 90° it starts to strafe. This shouldn't be possible because spin is input to the equation after the gyro changes the X and Y axis.
Any help would be appreciated.
Reply With Quote