Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Gyro .getAngle Axis (http://www.chiefdelphi.com/forums/showthread.php?t=143314)

mathemortician1 06-02-2016 15:21

Gyro .getAngle Axis
 
what measurement (from which axis) does the .getAngle return? I cannot find it in the documentation...

Dan Waxman 06-02-2016 16:29

Re: Gyro .getAngle Axis
 
From documentation:
Quote:

Return the actual angle in degrees that the robot is currently facing. The angle is based on the current accumulator value corrected by the oversampling rate, the gyro type and the A/D calibration values. The angle is continuous, that is it will continue from 360 to 361 degrees. This allows algorithms that wouldn't want to see a discontinuity in the gyro output as it sweeps past from 360 to 0 on the second time around.
So it gets the angle of the drive base's direction, which I think is z.

mathemortician1 06-02-2016 17:10

Re: Gyro .getAngle Axis
 
Džańka.


All times are GMT -5. The time now is 09:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi