ジャイロ
Dependents: 00_yotsuba 103_JY901_practice 200_yotsuba_21 200_yotuba_21_uiChange
JY901 Class Reference
jy901 class. More...
#include <jy901.h>
Public Member Functions | |
| JY901 (PinName sda, PinName scl) | |
| void | calibrateGyroAccel () |
| calibrate Gyroscope and Accelerometer | |
| void | calibrateMagnetic () |
| calibrate Magnetic | |
| void | calibrateHeight () |
| set height to 0 | |
| void | endCalibrate () |
| end calibration mode | |
| void | yawcalibrate () |
| calibrate yaw axis | |
| void | algorithmtrasition () |
| change algorithm | |
| void | calibrateAll (int time) |
| calibrate Gyroscope, Accelerometer and Magnetic set height to 0 | |
| float | getXaxisAcceleration () |
| return XaxisAcceleration | |
| float | getYaxisAcceleration () |
| return YaxisAcceleration | |
| float | getZaxisAcceleration () |
| return ZaxisAcceleration | |
| float | getXaxisAngularVelocity () |
| return XaxisAngularVelocity | |
| float | getYaxisAngularVelocity () |
| return YaxisAngularVelocity | |
| float | getZaxisAngularVelocity () |
| return ZaxisAngularVelocity | |
| float | getXaxisMagnetic () |
| return XaxisMagnetic | |
| float | getYaxisMagnetic () |
| return YaxisMagnetic | |
| float | getZaxisMagnetic () |
| return ZaxisMagnetic | |
| float | getXaxisAngle () |
| return XaxisAngle | |
| float | getYaxisAngle () |
| return YaxisAngle | |
| float | getZaxisAngle () |
| return ZaxisAngle | |
Detailed Description
jy901 class.
Can measure acceleration, angular Velocity, magnetic and Angle.
Definition at line 13 of file jy901.h.
Constructor & Destructor Documentation
Member Function Documentation
| void calibrateAll | ( | int | time ) |
| void calibrateGyroAccel | ( | ) |
| float getXaxisAngularVelocity | ( | ) |
| float getYaxisAngularVelocity | ( | ) |
| float getZaxisAngularVelocity | ( | ) |
Generated on Mon Aug 1 2022 23:18:09 by
1.7.2