|
Re: Got Gyro drift? Try Sensor Fusion !
While waiting for an educated reply, I generated a patch that seems to work. I created a IMUrecal.vi that I can call when I see a large drift while disabled.
It's taken from the original OPEN vi. I'm not sure if it's correct, or if I'm accessing the devref correctly, but it seems to be doing the job.
I keep the devref in a global, and just re-write it with the updated cal values.
Any good?
Phil
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org
FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
|