|
Re: Gyro drift for a simple EV3
So after a lot of testing and resetting the brick today, I discovered that the angle will stay constant when the ev3 is in the debugging window to view the angle, but when I go to actually start the program, robotc will switch from only angle to rate and angle and the program will freeze on with motors running, requiring the brick reset (aka, pulling the battery) from the beginning of this post. RobotC seems to freeze with rate and angle so I am wondering if anyone has seen something like this before?
Edit..
Correction, I fixed the freezing issue by switching it to rate and angle mode before I compiled it. However, it still is drifting. Fortunately, it is at a calculable rate.
What are some of the best commands you guys have found to add extra value to a gyro? Just have it read out an x and balance off of that number?
__________________
If you have everything under control, something's about to break.
Former FRC Driver, Alumni, Mentor
Last edited by lgphoneeric : 31-08-2014 at 01:47.
|