|
X and Z axis change when gyro reaches 90 degrees
We are using Mechanum wheels and are trying to use a Gyro to make things easier for the driver. The base code had to be changed by swapping the throttle(axis 3) and y axis. The unit drives great until we turn on the gyro and rotate right or left beyond 90 degrees. We are using labview and used sample library code. At which point the robot starts moving sideways in the direction that you were rotating.
|