|
Gyro/Range finder not functioning properly
I've posted my code for the teleop and my dashboard. I have never created a custom dashboard and would like to call you all to check my High Priority Data to ensure that is all set up properly.
My gyroscope has never functioned properly, it is the 2010 split up Accelerometer/Gyroscope. I have my gyroscope hooked into Analog Module 1 in port 2.
My range finder is hooked into port 1. It used to work properly, but now it doesn't. When I power it and monitor the analog signal with a multimeter I get a fluctuation from 0 to 1 V when I point the range finder around the room. However, on the dashboard it only ranges from about 2.5 to 3 and once and stops changing after a bit.
I am using the Range Finder that came with the 2012 KOP. Attached are my Teleop.vi and Dashboard.vi. I am using the 8 slot crio in the analog module 9201.
Last edited by stintzi : 17-02-2012 at 15:09.
|