Skip to main content
Skip table of contents

Data Commands

Last updated: 2025/5/22 19:12:22

Path To

Name

Description/Function

/api/data

/altitude

Gets the altitude in meters.

/api/data

/averagealtitude

Gets the altitude in meters.

/api/data

/averagealtitudecount/{value}

Gets the altitude in meters.

/api/data

/depth

Gets the depth.

/api/data

/tilt

Gets the tilt.

/api/data

/roll

Gets the roll.

/altitude

Function

Gets the altitude in meters.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/data/altitude

Response

The altitude.

Response Type

number

Response Example

CODE
3

/averagealtitude

Function

Gets the average altitude in meters.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/data/averagealtitude

Response

The average altitude.

Response Type

number

Response Example

CODE
0

/averagealtitudecount/{value}

Function

Sets the number of readings to use to calculate the average altitude.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/data/averagealtitudecount/{value}

Response

None

Response Type

Not Available

Response Example

CODE
Not Available

/depth

Function

Gets the depth.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/data/depth

Response

The depth.

Response Type

number

Response Example

CODE
0.13

/tilt

Function

Gets the tilt.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/data/tilt

Response

The tilt.

Response Type

number

Response Example

CODE
-6.78

/roll

Function

Gets the roll.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/data/roll

Response

The roll.

Response Type

number

Response Example

CODE
-3.67
JavaScript errors detected

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

If this problem persists, please contact our support.