IMUController
Last updated: 2025/3/7 10:56:5 | ||
Path To | Name | Description/Function |
/api/imu | /ishorizontal | Gets a value indicating whether the orientation is horizontal. |
/api/imu | /zero | Gets the IMU Zero. |
/api/imu | /set/zero | Sets IMU to zero. |
/api/imu | /reset | Reset the IMU zero point. |
/api/imu | /vertical | Set the IMU to vertical orientation. |
/api/imu | /horizontal | Set the IMU to horizontal orientation. |
/ishorizontal
Function | Gets a value indicating whether the orientation is horizontal. |
---|---|
Method | Get |
Response | True or false. |
Example |
CODE
|
/zero
Function | Gets the IMU Zero. |
---|---|
Method | Get |
Response | IMU zero value. |
Example |
CODE
|
/set/zero
Function | Sets IMU to zero. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/reset
Function | Reset the IMU zero point. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/vertical
Function | Set the IMU to vertical orientation. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/horizontal
Function | Set the IMU to horizontal orientation. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|