Skip to content
Snippets Groups Projects
Commit efe5708a authored by Julia Magdalena Brandt's avatar Julia Magdalena Brandt
Browse files

.

parent 962e6cab
Branches main
No related tags found
No related merge requests found
......@@ -41,11 +41,11 @@ Um die IMU zu initialisieren wird folgende Methode im setup ausgeführt:
imu.init()
```
Um die sogenannten Yaw, Pitch und Roll Winkel seperat zu erhalten werden folgende Methoden ausgeführt:
Um die sogenannten Yaw, Pitch und Roll Winkel seperat zu erhalten werden folgende Methoden ausgeführt (Je nach Einbau-Orientierung des Sensors, können Yaw, Pitch und Roll vertauscht sein):
```arduino
yaw = imu.get_yaw();
pitch = imu.get_pitch();
roll = imu.get_roll();
yaw = imu.get_z_rot();
pitch = imu.get_y_rot();
roll = imu.get_x_rot();
```
Möchte man sich die Yaw, Pitch und Roll Winkel gemeinsam zurück geben lassen, wird folgende Methode benutzt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment