Skip to main content
Skip table of contents

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
http://IP_ADDRESS:8080/api/imu/horizontal

Response

None

/ishorizontal

Description

Gets a value indicating whether the orientation is horizontal.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/imu/ishorizontal

Response

True or false.

Response Type

Boolean

Response Example

CODE
true

/reset

Description

Reset the IMU zero point.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/imu/reset

Response

None

/set/zero

Description

Sets IMU to zero.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/imu/set/zero

Response

None

/vertical

Description

Set the IMU to vertical orientation.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/imu/vertical

Response

None

/zero

Description

Gets the IMU Zero.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/imu/zero

Response

IMU zero value.

Response Type

Text

Response Example

CODE
0.66:-0.75:-0.00:0.00
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.