IMU Commands
Last updated: 2026/1/7 23:17:22 | ||
Path To | Name | Description/Function |
/api/imu | /horizontal | Set the IMU to horizontal orientation. |
/api/imu | /ishorizontal | Gets a value indicating whether the orientation is horizontal. |
/api/imu | /reset | Reset the IMU zero point. |
/api/imu | /set/zero | Sets IMU to zero. |
/api/imu | /vertical | Set the IMU to vertical orientation. |
/api/imu | /zero | Gets the IMU Zero. |
/horizontal
Description | Set the IMU to horizontal orientation. |
Method | Get |
Example |
CODE
|
Response | None |
/ishorizontal
Description | Gets a value indicating whether the orientation is horizontal. |
Method | Get |
Example |
CODE
|
Response | True or false. |
Response Type | Boolean |
Response Example |
CODE
|
/reset
Description | Reset the IMU zero point. |
Method | Get |
Example |
CODE
|
Response | None |
/set/zero
Description | Sets IMU to zero. |
Method | Get |
Example |
CODE
|
Response | None |
/vertical
Description | Set the IMU to vertical orientation. |
Method | Get |
Example |
CODE
|
Response | None |
/zero
Description | Gets the IMU Zero. |
Method | Get |
Example |
CODE
|
Response | IMU zero value. |
Response Type | Text |
Response Example |
CODE
|