|
Re: Current angle from gyro
There's nothing wrong with the LabVIEW functions.
If your Get Angle continuously increments or decrements, one of three things is likely. First, you might have a faulty gyro. Second, you might have misconnected to its Temperature output instead of its Rate output. Third, your robot might have been jostled during the brief time the gyro code was being initialized and measuring the sensor's offset.
Check your wiring first.
|