Options
All
  • Public
  • Public/Protected
  • All
Menu
notexported

See type declaration

Pivot ROV

DELETE Request

From ./dist/samples/json/requests/devices/vehicles/pivot/core/pivotDeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.7",
"method": "DELETE",
"payload": {
"devices": {
"9D382505F1DD": {
"model": 18
}
}
}
}

Hierarchy

Index

Properties

altitude?: number

Rov altitude

Measured in meters to show relative distance to floor.

Example Payloads

GET Requests

  • Random altitude

    From ./dist/samples/json/requests/devices/vehicles/pivot/altitude/pivotAltitudeRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AA80A642F969": {
    "model": 18,
    "altitude": 273
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/altitude/revolutionAltitudeValidRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F9566C3F6C5B": {
    "model": 13,
    "altitudeValid": false
    }
    }
    }
    }
readonly
altitudeValid?: boolean

Rov altitude valid

Altitude validity flag

Example Payloads

UPDATE Requests

  • Valid altitude (good data)

    From ./dist/samples/json/requests/devices/vehicles/pivot/altitude/pivotAltitudeValidSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "825AEE83E27F": {
    "model": 18,
    "altitude": 39,
    "altitudeValid": true
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/altitude/revolutionAltitudeValidSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AC4DB6F3AD1F": {
    "model": 13,
    "altitudeValid": true,
    "altitude": 290
    }
    }
    }
    }
  • Random altitude validity

    From ./dist/samples/json/requests/devices/vehicles/pivot/altitude/pivotAltitudeValidRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A2A2E2BDFED1": {
    "model": 18,
    "altitudeValid": false
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/altitude/revolutionAltitudeValidRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F9566C3F6C5B": {
    "model": 13,
    "altitudeValid": false
    }
    }
    }
    }
readonly
auxLight?: Light

Aux Light

Controls the auxiliary light attached to the Revolution.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/pivot/auxLight/pivotAuxLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "E7C0B35BEC04": {
    "model": 18,
    "auxLight": {
    "intensity": 50
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/auxLight/revolutionAuxLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "65FC44DD3597": {
    "model": 13,
    "auxLight": {
    "intensity": 50
    }
    }
    }
    }
    }
  • Lights Off

    From ./dist/samples/json/requests/devices/vehicles/revolution/auxLight/revolutionAuxLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "F107FB6D6F7D": {
    "model": 13,
    "auxLight": {
    "intensity": 0
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/auxLight/pivotAuxLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "5A216E230C96": {
    "model": 18,
    "auxLight": {
    "intensity": 0
    }
    }
    }
    }
    }
  • Lights On (max)

    From ./dist/samples/json/requests/devices/vehicles/pivot/auxLight/pivotAuxLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "92F361BB07FA": {
    "model": 18,
    "auxLight": {
    "intensity": 100
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/auxLight/revolutionAuxLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "742FB4FE8391": {
    "model": 13,
    "auxLight": {
    "intensity": 100
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/pivot/auxLight/pivotAuxLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "42AF984AE20F": {
    "model": 18,
    "auxLight": {
    "intensity": 4
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/auxLight/revolutionAuxLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "935E096BC1D2": {
    "model": 13,
    "auxLight": {
    "intensity": 83
    }
    }
    }
    }
    }
bodyLeak?: boolean

Body Leak Fault

Example Payloads

UPDATE Requests

  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/revolution/bodyLeak/revolutionBodyLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5942A9388513": {
    "model": 13,
    "bodyLeak": false
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/bodyLeak/pivotBodyLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1D3546A60EAD": {
    "model": 18,
    "bodyLeak": false
    }
    }
    }
    }
  • Has no body leak fault

    From ./dist/samples/json/requests/devices/vehicles/revolution/bodyLeak/revolutionHasNoBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "466C3BD682D2": {
    "model": 13,
    "bodyLeak": false
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/bodyLeak/pivotHasNoBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "68FB4974E680": {
    "model": 18,
    "bodyLeak": false
    }
    }
    }
    }
  • Has body leak fault

    From ./dist/samples/json/requests/devices/vehicles/revolution/bodyLeak/revolutionHasBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A42AAB4F9B2F": {
    "model": 13,
    "bodyLeak": true
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/bodyLeak/pivotHasBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2BED8F3DC00F": {
    "model": 18,
    "bodyLeak": true
    }
    }
    }
    }
readonly

Camera Head

Example Payloads

GET Requests

  • Pivot camera head

    From ./dist/samples/json/requests/devices/vehicles/pivot/cameraHead/pivotCameraHeadRequest.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9015A2513109": {
    "model": 18
    }
    }
    }
    }
cameras?: Record<string, Removable<Cameras>>

Pivot camera

Example Payloads

DELETE Requests

From ./dist/samples/json/requests/devices/vehicles/pivot/cameras/pivotCameraDeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.7",
"method": "DELETE",
"payload": {
"devices": {
"1D7A31A38796": {
"model": 18,
"cameras": {
"8AC321DED9DB": {}
}
}
}
}
}
cpProbe?: string

The cp probe

cpuTemp?: number

Temperature in degrees celsius

Example Payloads

UPDATE Requests

  • CPU temperature warning

    From ./dist/samples/json/requests/devices/vehicles/pivot/temperature/cpuTemp/pivotCPUTemperatureWarningSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0B0DEE4D676B": {
    "model": 18,
    "cpuTemp": 75
    }
    }
    }
    }
  • CPU temperature shutdown

    From ./dist/samples/json/requests/devices/vehicles/pivot/temperature/cpuTemp/pivotCPUTemperatureShutdownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "18BE04186FC6": {
    "model": 18,
    "cpuTemp": 85
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/pivot/temperature/cpuTemp/pivotCPUTemperatureRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D5E5F0CE6CEF": {
    "model": 18,
    "cpuTemp": 5
    }
    }
    }
    }
cygnus?: cygnusType

The ut(cygnus) probe

depth?: number

Rov depth

Measured in meters from water surface

To Calibrate depth, set depth to '0'. Setting depth to any other value will be ignored.

Valid Depth calibration

From ./dist/samples/json/requests/devices/vehicles/pivot/depth/pivotDepthCalibrationSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.7",
"method": "SET",
"payload": {
"devices": {
"1FA20FB458C3": {
"model": 18,
"depth": 0
}
}
}
}

From ./dist/samples/json/requests/devices/vehicles/revolution/depth/revolutionDepthCalibrationSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.7",
"method": "SET",
"payload": {
"devices": {
"76FFDFAC5FCD": {
"model": 13,
"depth": 0
}
}
}
}

Invalid Depth Calibration

From ./dist/samples/json/requests/devices/vehicles/pivot/depth/pivotInvalidDepthCalibrationSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.7",
"method": "SET",
"payload": {
"devices": {
"5D650DF52FC0": {
"model": 18,
"depth": 59
}
}
}
}

From ./dist/samples/json/requests/devices/vehicles/revolution/depth/revolutionInvalidDepthCalibrationSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.7",
"method": "SET",
"payload": {
"devices": {
"D0725B67F4EC": {
"model": 13,
"depth": 191
}
}
}
}
readonly
directPowerKitPresent?: boolean

Direct Power Kit Present Flag

readonly
drive?: RovDrive

Rov Drive object

Commands thrust actions for the ROV and sets drive modes

See RovDrive for more details.

Example Payloads

SET Requests

  • Random drive request

    From ./dist/samples/json/requests/devices/vehicles/pivot/drive/pivotDriveRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "5EEA1A8B6C22": {
    "model": 18,
    "drive": {
    "thrust": {
    "forward": -97,
    "yaw": 25,
    "vertical": 99,
    "lateral": 20
    },
    "modes": {
    "headingLock": true,
    "altitudeLock": false,
    "depthLock": true,
    "autoStabilization": true,
    "motorsDisabled": true
    }
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/drive/revolutionDriveRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "D81BC3FE6AC7": {
    "model": 13,
    "drive": {
    "thrust": {
    "forward": 67,
    "yaw": -1,
    "vertical": -91,
    "lateral": -23
    },
    "modes": {
    "headingLock": false,
    "altitudeLock": true,
    "depthLock": true,
    "autoStabilization": true,
    "motorsDisabled": false
    }
    }
    }
    }
    }
    }
frontLeftMotorDiagnostics?: MotorDiagnostics

Motor Diagnostics

Example Payloads

GET Requests

  • Arbitrary (Front Left Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/frontLeftThruster/pivotFrontLeftMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "46E8D5C7E0E0": {
    "model": 18,
    "frontLeftMotorDiagnostics": {
    "current": 56,
    "overcurrent": true,
    "pwm": 81,
    "rpm": 53,
    "failure": false
    }
    }
    }
    }
    }
  • Resting position (Front Left Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/frontLeftThruster/pivotFrontLeftMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A03767F29474": {
    "model": 18,
    "frontLeftMotorDiagnostics": {
    "current": 8,
    "overcurrent": false,
    "pwm": 2,
    "rpm": 1,
    "failure": false
    }
    }
    }
    }
    }
frontRightMotorDiagnostics?: MotorDiagnostics

Motor Diagnostics

Example Payloads

GET Requests

  • Arbitrary (Front Right Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/frontRightThruster/pivotFrontRightMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "223457383D53": {
    "model": 18,
    "frontRightMotorDiagnostics": {
    "current": 66,
    "overcurrent": false,
    "pwm": 86,
    "rpm": -36,
    "failure": false
    }
    }
    }
    }
    }
  • Resting position (Front Right Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/frontRightThruster/pivotFrontRightMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BD36C7A94CE9": {
    "model": 18,
    "frontRightMotorDiagnostics": {
    "current": 6,
    "overcurrent": false,
    "pwm": 4,
    "rpm": -1,
    "failure": false
    }
    }
    }
    }
    }
grabber?: Grabber

Grabber

Example Payloads

GET Requests

  • Resting pivot grabber

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/pivotRestingGrabberSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "363F51E2CF0B": {
    "model": 18,
    "grabber": {
    "openClose": 0,
    "rotate": 0
    }
    }
    }
    }
    }
  • Resting pivot openClose grabber diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/openClose/pivotGrabberOpenCloseMotorDiagnosticRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "22F1CE739A7C": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 4,
    "overcurrent": false,
    "pwm": 3,
    "rpm": 0,
    "failure": false
    }
    }
    }
    }
    }
    }
  • Resting pivot rotate grabber diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/rotate/pivotGrabberRotateMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1CD9C672A9ED": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 9,
    "overcurrent": false,
    "pwm": 1,
    "rpm": 0,
    "failure": false
    }
    }
    }
    }
    }
    }
  • Random pivot rotate grabber diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/rotate/pivotGrabberRotateMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C2D753B7B860": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 63,
    "overcurrent": false,
    "pwm": 58,
    "rpm": -54,
    "failure": false
    }
    }
    }
    }
    }
    }
  • Random pivot openClose grabber diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/openClose/pivotGrabberOpenCloseMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AD68D846AAB3": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 39,
    "overcurrent": true,
    "pwm": 78,
    "rpm": -79,
    "failure": false
    }
    }
    }
    }
    }
    }
  • Open pivot grabber claw

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/pivotOpenClawGrabberSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "86AD3A29E29D": {
    "model": 18,
    "grabber": {
    "openClose": 100
    }
    }
    }
    }
    }
  • open pivot grabber claw diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/openClose/pivotOpenClawGrabberDiagnosticSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "571F7888BDE1": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 54,
    "overcurrent": false,
    "pwm": 48,
    "rpm": 6
    }
    }
    }
    }
    }
    }
  • Close pivot grabber claw

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/pivotCloseClawGrabberSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F5CD2A96B67B": {
    "model": 18,
    "grabber": {
    "openClose": -100
    }
    }
    }
    }
    }
  • Close pivot grabber claw diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/openClose/pivotCloseClawGrabberDiagnosticSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4BB66F65E282": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 52,
    "overcurrent": false,
    "pwm": 55,
    "rpm": 10
    }
    }
    }
    }
    }
    }
  • Rotate right pivot grabber

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/pivotRotateGrabberRightSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "7AE399D4C313": {
    "model": 18,
    "grabber": {
    "rotate": 100
    }
    }
    }
    }
    }
  • Rotate right pivot grabber claw diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/rotate/pivotRotateGrabberRightDiagnosticSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "40A0CE6BE44D": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 49,
    "overcurrent": false,
    "pwm": 47,
    "rpm": 8
    }
    }
    }
    }
    }
    }
  • Rotate left pivot grabber

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/pivotRotateGrabberLeftSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C323FCB9EF6B": {
    "model": 18,
    "grabber": {
    "rotate": -100
    }
    }
    }
    }
    }
  • Rotate left pivot grabber claw diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/rotate/pivotRotateGrabberLeftDiagnosticSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "38EB5669941E": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 49,
    "overcurrent": false,
    "pwm": 51,
    "rpm": 8
    }
    }
    }
    }
    }
    }
  • Random pivot rotate grabber diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/motorDiagnostics/rotate/pivotGrabberRotateMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1CD9C672A9ED": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 9,
    "overcurrent": false,
    "pwm": 1,
    "rpm": 0,
    "failure": false
    }
    }
    }
    }
    }
    }
  • Random pivot rotate and open close grabber

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/grabber/pivotRandomGrabberSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9C571D6B39C1": {
    "model": 18,
    "grabber": {
    "openClose": 53,
    "rotate": -35
    }
    }
    }
    }
    }
heading?: number

Rov heading

Measured in degrees from north bearing

minimum

0

maximum

360

readonly
inWater?: boolean

Rov in water status

readonly

Example Payloads

UPDATE Requests

  • Pivot in water

    From ./dist/samples/json/requests/devices/vehicles/pivot/inWater/pivotInWaterSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "803A1F1D2EC0": {
    "model": 18,
    "inWater": true
    }
    }
    }
    }
  • Pivot out of water

    From ./dist/samples/json/requests/devices/vehicles/pivot/inWater/pivotOutOfWaterSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CF2DC41FC52F": {
    "model": 18,
    "inWater": false
    }
    }
    }
    }
  • Pivot in water random status sample

    From ./dist/samples/json/requests/devices/vehicles/pivot/inWater/pivotInWaterRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DCC7CD993E57": {
    "model": 18,
    "inWater": false
    }
    }
    }
    }
  • Revolution out of water

    From ./dist/samples/json/requests/devices/vehicles/revolution/inWater/revolutionOutOfWaterSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4469994CF46A": {
    "model": 13,
    "inWater": false
    }
    }
    }
    }
  • Revolution in water

    From ./dist/samples/json/requests/devices/vehicles/revolution/inWater/revolutionInWaterSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1B94BB92ADCB": {
    "model": 13,
    "inWater": true
    }
    }
    }
    }
  • Revolution in water random status sample

    From ./dist/samples/json/requests/devices/vehicles/revolution/inWater/revolutionInWaterRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "EBC24EFA1593": {
    "model": 13,
    "inWater": true
    }
    }
    }
    }
ip?: string
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/revolution/ip/revolutionRandomIpSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "37902DAB6F75": {
    "model": 13,
    "ip": "192.168.100.218"
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/ip/pivotIpRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "SET",
    "payload": {
    "devices": {
    "A23378AAFA56": {
    "model": 18,
    "ip": "192.168.172.192"
    }
    }
    }
    }
readonly
leftBattery?: Battery

Left Battery

Example Payloads

UPDATE Requests

    • Battery random percentage

      From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryRandomSample.json

      {
      "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
      "apiVersion": "0.58.7",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "D67B35D29EF4": {
      "model": 18,
      "leftBattery": {
      "percent": 68
      }
      }
      }
      }
      }
  • Battery random voltage

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryVoltageRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9629FE3DFB4D": {
    "model": 18,
    "leftBattery": {
    "voltage": 45
    }
    }
    }
    }
    }
  • Battery random leak state

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "65347B488C6F": {
    "model": 18,
    "leftBattery": {
    "leak": true
    }
    }
    }
    }
    }
  • Battery maximum voltage {@codeblock ~~/dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryVoltageMaxSample .json}

  • Battery minimum voltage

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryVoltageMinSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "88E6B83A1CE7": {
    "model": 18,
    "leftBattery": {
    "voltage": 0
    }
    }
    }
    }
    }
  • Battery no leak

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotHasNoLeftBatteryLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BA9078B37AC1": {
    "model": 18,
    "leftBattery": {
    "leak": false
    }
    }
    }
    }
    }
  • Battery has a leak

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotHasLeftBatteryLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "624FC13F0114": {
    "model": 18,
    "leftBattery": {
    "leak": true
    }
    }
    }
    }
    }
  • Battery shutdown

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryShutdownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "41ABF6B23B61": {
    "model": 18,
    "leftBattery": {
    "percent": 0
    }
    }
    }
    }
    }
  • Battery warning

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryWarningSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1A2222251301": {
    "model": 18,
    "leftBattery": {
    "percent": 15
    }
    }
    }
    }
    }
  • Battery All States

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/leftBattery/pivotLeftBatteryAllStatesSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4D6EE2966B79": {
    "model": 18,
    "leftBattery": {
    "percent": 16,
    "voltage": 9,
    "charging": true,
    "leak": false
    }
    }
    }
    }
    }
localHeading?: number

Rov local heading

Measure in degrees from local heading

minimum

-360

maximum

360

model: Pivot
navigationOptions?: NavigationOptions

Navigation Options

description

Navigation settings and options for the ROV

pitch?: number

Rov pitch

Measured in degrees from neutral pitch position

minimum

-180.0

maximum

180.0

readonly
position?: Position

ROV Position

description

Contains positional data about the ROV.

Example payloads

UPDATE Requests

  • Invalid position sample

  • Revolution

    From ./dist/samples/json/requests/devices/vehicles/revolution/position/revolutionLocalPositionInvalidSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "44D3AE436FFA": {
    "model": 13,
    "position": {
    "local": {
    "uncertainty": 10000
    }
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/position/revolutionGlobalPositionInvalidSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3B850A001FB3": {
    "model": 13,
    "position": {
    "global": {
    "uncertainty": 10000
    }
    }
    }
    }
    }
    }
  • Pivot

    From ./dist/samples/json/requests/devices/vehicles/pivot/position/pivotLocalPositionInvalidSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A9577A418EF6": {
    "model": 18,
    "position": {
    "local": {
    "uncertainty": 10000
    }
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/position/pivotGlobalPositionInvalidSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "39194F9279BE": {
    "model": 18,
    "position": {
    "global": {
    "uncertainty": 10000
    }
    }
    }
    }
    }
    }
  • Arbitrary position sample

  • Revolution

    From ./dist/samples/json/requests/devices/vehicles/revolution/position/revolutionLocalPositionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C44FA7401026": {
    "model": 13,
    "position": {
    "local": {
    "x": 536,
    "y": 289,
    "uncertainty": 30
    }
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/revolution/position/revolutionGlobalPositionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C1C7D72F20CC": {
    "model": 13,
    "position": {
    "global": {
    "latitude": 47,
    "longitude": -91,
    "uncertainty": 51
    }
    }
    }
    }
    }
    }
  • Pivot

    From ./dist/samples/json/requests/devices/vehicles/pivot/position/pivotLocalPositionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "22516E19D525": {
    "model": 18,
    "position": {
    "local": {
    "x": -826,
    "y": 575,
    "uncertainty": 42
    }
    }
    }
    }
    }
    }

    From ./dist/samples/json/requests/devices/vehicles/pivot/position/pivotGlobalPositionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "7580C5B7DA88": {
    "model": 18,
    "position": {
    "global": {
    "latitude": -73,
    "longitude": -179,
    "uncertainty": 0
    }
    }
    }
    }
    }
    }

UPDATE Requests

  • Arbitrary Local position only

  • Revolution

    From ./dist/samples/json/requests/devices/vehicles/revolution/position/revolutionLocalPositionSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FE86E198593D": {
    "model": 13,
    "position": {
    "local": {
    "x": 10,
    "y": 10,
    "uncertainty": 10
    }
    }
    }
    }
    }
    }
  • Pivot

    From ./dist/samples/json/requests/devices/vehicles/pivot/position/pivotLocalPositionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "22516E19D525": {
    "model": 18,
    "position": {
    "local": {
    "x": -826,
    "y": 575,
    "uncertainty": 42
    }
    }
    }
    }
    }
    }
  • Arbitrary Global position only

  • Revolution

    From ./dist/samples/json/requests/devices/vehicles/revolution/position/revolutionGlobalPositionSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B4D5FDD8AF48": {
    "model": 13,
    "position": {
    "global": {
    "latitude": 10,
    "longitude": 10,
    "uncertainty": 10
    }
    }
    }
    }
    }
    }
  • Pivot

    From ./dist/samples/json/requests/devices/vehicles/pivot/position/pivotGlobalPositionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "7580C5B7DA88": {
    "model": 18,
    "position": {
    "global": {
    "latitude": -73,
    "longitude": -179,
    "uncertainty": 0
    }
    }
    }
    }
    }
    }
rearLeftMotorDiagnostics?: MotorDiagnostics

Motor Diagnostics

Example Payloads

GET Requests

    • Arbitrary (Rear Left Motor)

      From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/rearLeftThruster/pivotRearLeftMotorDiagnosticsRandomSample.json

      {
      "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
      "apiVersion": "0.58.7",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "DD79D5B1E224": {
      "model": 18,
      "rearLeftMotorDiagnostics": {
      "current": 75,
      "overcurrent": false,
      "pwm": 84,
      "rpm": -74,
      "failure": false
      }
      }
      }
      }
      }
  • Resting position (Rear Left Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/rearLeftThruster/pivotRearLeftMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "817B474AB760": {
    "model": 18,
    "rearLeftMotorDiagnostics": {
    "current": 4,
    "overcurrent": false,
    "pwm": 0,
    "rpm": 0,
    "failure": false
    }
    }
    }
    }
    }
rearRightMotorDiagnostics?: MotorDiagnostics

Motor Diagnostics

Example Payloads

GET Requests

    • Arbitrary (Rear Right Motor)

      From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/rearRightThruster/pivotRearRightMotorDiagnosticsRandomSample.json

      {
      "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
      "apiVersion": "0.58.7",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "3F178ACBBD76": {
      "model": 18,
      "rearRightMotorDiagnostics": {
      "current": 58,
      "overcurrent": true,
      "pwm": 48,
      "rpm": 16,
      "failure": false
      }
      }
      }
      }
      }
  • Resting position (Rear Right Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/rearRightThruster/pivotRearRightMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "316E713F6210": {
    "model": 18,
    "rearRightMotorDiagnostics": {
    "current": 8,
    "overcurrent": false,
    "pwm": 3,
    "rpm": -1,
    "failure": false
    }
    }
    }
    }
    }
rightBattery?: Battery

Right Battery

Example Payloads

UPDATE Requests

  • Battery random percentage

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "7614AF9DCC82": {
    "model": 18,
    "rightBattery": {
    "percent": 84
    }
    }
    }
    }
    }
  • Battery random voltage

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryVoltageRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5485EB4E3A55": {
    "model": 18,
    "rightBattery": {
    "voltage": 16
    }
    }
    }
    }
    }
  • Battery random leak state

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D19CF6B2EF34": {
    "model": 18,
    "rightBattery": {
    "leak": false
    }
    }
    }
    }
    }
  • Battery maximum voltage {@codeblock ~~/dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryVoltageMaxSample .json}

  • Battery minimum voltage

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryVoltageMinSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6A086E30776C": {
    "model": 18,
    "rightBattery": {
    "voltage": 0
    }
    }
    }
    }
    }
  • Battery no leak

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotHasNoRightBatteryLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D3B4CD4C4E56": {
    "model": 18,
    "rightBattery": {
    "leak": false
    }
    }
    }
    }
    }
  • Battery has a leak

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotHasRightBatteryLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5AA36607566A": {
    "model": 18,
    "rightBattery": {
    "leak": true
    }
    }
    }
    }
    }
  • Battery shutdown

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryShutdownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C394289EBD16": {
    "model": 18,
    "rightBattery": {
    "percent": 0
    }
    }
    }
    }
    }
  • Battery warning

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryWarningSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D409D951FD0C": {
    "model": 18,
    "rightBattery": {
    "percent": 15
    }
    }
    }
    }
    }
  • Battery All States

    From ./dist/samples/json/requests/devices/vehicles/pivot/battery/rightBattery/pivotRightBatteryAllStatesSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4260F5346367": {
    "model": 18,
    "rightBattery": {
    "percent": 19,
    "voltage": 2,
    "charging": true,
    "leak": false
    }
    }
    }
    }
    }
roll?: number

Rov roll

Measured in degrees from neutral roll position

minimum

-180.0

maximum

180.0

readonly

Sensor pod information and calibration controls based on the model.

  • Revolution Calibration User Actions for IMU Calibration. dist/samples/json/requests/devices/vehicles/revolution/calibration/startImuCalibration/revolutionStartImuCalibrationRequest.json dist/samples/json/requests/devices/vehicles/revolution/calibration/stopImuCalibration/revolutionStopImuCalibrationRequest.json dist/samples/json/requests/devices/vehicles/revolution/calibration/denyImuCalibration/revolutionDenyImuCalibrationRequest.json dist/samples/json/requests/devices/vehicles/revolution/calibration/acceptImuCalibration/revolutionAcceptImuCalibrationRequest.json

dist/samples/json/requests/devices/vehicles/pivot/calibration/startImuCalibration/pivotStartImuCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/stopImuCalibration/pivotStopImuCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/denyImuCalibration/pivotDenyImuCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/acceptImuCalibration/pivotAcceptImuCalibrationRequest.json

  • Revolution Calibration User Actions for Magnetic Calibration. dist/samples/json/requests/devices/vehicles/revolution/calibration/startMagneticCalibration/revolutionStartMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/revolution/calibration/stopMagneticCalibration/revolutionStopMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/revolution/calibration/denyMagneticCalibration/revolutionDenyMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/revolution/calibration/acceptMagneticCalibration/revolutionAcceptMagneticCalibrationRequest.json

dist/samples/json/requests/devices/vehicles/pivot/calibration/startMagneticCalibration/pivotStartMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/stopMagneticCalibration/pivotStopMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/denyMagneticCalibration/pivotDenyMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/acceptMagneticCalibration/pivotAcceptMagneticCalibrationRequest.json

  • Revolution and Pivot Pending IMU update dist/samples/json/requests/devices/vehicles/revolution/calibration/startMagneticCalibration/revolutionStartMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/sensorPendingImuCalibration/pivotPendingImuRandomUpdate.json

  • Revolution and Pivot Pending Magnetic update dist/samples/json/requests/devices/vehicles/revolution/calibration/sensorMagneticCalibration/revolutionPendingMagneticRandomUpdate.json dist/samples/json/requests/devices/vehicles/pivot/calibration/sensorPendingMagneticCalibration/pivotPendingMagneticRandomUpdate.json

  • Revolution and Pivot Accepted Magnetic and IMU update dist/samples/json/requests/devices/vehicles/revolution/calibration/acceptMagneticCalibration/revolutionAcceptMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/acceptMagneticCalibration/pivotAcceptMagneticCalibrationRequest.json dist/samples/json/requests/devices/vehicles/pivot/calibration/sensorNotCalibratingState/pivotAcceptedRandomUpdate.json dist/samples/json/requests/devices/vehicles/revolution/calibration/sensorNotCalibratingState/revolutionAcceptedRandomUpdate.json

sensorPodLeak?: boolean

Sensor Pod Leak Fault

Common across all ROV and also comes from the ROV Web Adapter in Con_gui

spareMotor1?: MotorDiagnostics

Provides diagnostics for spare motors on the Rov. These spare motors can be used to extend the capabilities of the ROV by attaching various power tools to them. These tools can include CaviBlasters, cutters and etc.

Example Payloads

UPDATE Requests

  • Resting spare motor 1 diagnostics sample

    From ./dist/samples/json/requests/devices/vehicles/pivot/spareMotors/spareMotor1/pivotSpareMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6DB3C6D55DDE": {
    "model": 18,
    "spareMotor1": {
    "current": 5,
    "overcurrent": false,
    "pwm": 0,
    "rpm": 0,
    "failure": false
    }
    }
    }
    }
    }
  • Arbitrary Spare Motor 1 Diagnostics sample

    From ./dist/samples/json/requests/devices/vehicles/pivot/spareMotors/spareMotor1/pivotSpareMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "730BB08428D0": {
    "model": 18,
    "spareMotor1": {
    "current": 6,
    "overcurrent": false,
    "pwm": 7,
    "rpm": -54,
    "failure": false
    }
    }
    }
    }
    }
tiltPlatform?: TiltPlatform

Grabber

Example Payloads

GET Requests

  • Resting pivot grabber arm

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/pivotTiltPlatformRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3C0270437219": {
    "model": 18,
    "tiltPlatform": {
    "tilt": 0
    }
    }
    }
    }
    }
  • Resting pivot grabber arm diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/motorDiagnostics/tilt/pivotTiltPlatformDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "33045017A367": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 3,
    "overcurrent": false,
    "pwm": 2,
    "rpm": -1,
    "failure": false
    }
    }
    }
    }
    }
    }
  • Tilt up

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/pivotTiltPlatformUpSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A6841E3D2B4F": {
    "model": 18,
    "tiltPlatform": {
    "tilt": 100
    }
    }
    }
    }
    }
  • Tilt up pivot grabber arm diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/motorDiagnostics/tilt/pivotTiltPlatformUpDiagnosticsSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3F2A5E9445A2": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 46,
    "overcurrent": false,
    "pwm": 45,
    "rpm": 6
    }
    }
    }
    }
    }
    }
  • Tilt down

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/pivotTiltPlatformDownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BFB3EF5D8347": {
    "model": 18,
    "tiltPlatform": {
    "tilt": -100
    }
    }
    }
    }
    }
  • Tilt down pivot grabber arm diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/motorDiagnostics/tilt/pivotTiltPlatformDownDiagnosticsSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "70B1AD633256": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 54,
    "overcurrent": false,
    "pwm": -53,
    "rpm": -8
    }
    }
    }
    }
    }
    }
  • Random pivot grabber arm

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/pivotTiltPlatformRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C7F0D7936876": {
    "model": 18,
    "tiltPlatform": {
    "tilt": -44
    }
    }
    }
    }
    }
  • Random pivot grabber arm diagnostic

    From ./dist/samples/json/requests/devices/vehicles/pivot/peripherals/tiltPlatform/motorDiagnostics/tilt/pivotTiltPlatformDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "41F07B4D9E27": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 57,
    "overcurrent": false,
    "pwm": 13,
    "rpm": 52,
    "failure": false
    }
    }
    }
    }
    }
    }
turns?: number

Turns

Count the number of turns the rov has completed

readonly
usageTime?: UsageTime

Vehicle Usage Time

Example Payloads

GET Requests

  • Total and current usage times

    From ./dist/samples/json/requests/devices/vehicles/pivot/usageTime/pivotUsageTimeSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "793A9B27E874": {
    "model": 18,
    "usageTime": {
    "totalSeconds": 0,
    "currentSeconds": 0
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/pivot/usageTime/pivotUsageTimeRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6296A8164B52": {
    "model": 18,
    "usageTime": {
    "totalSeconds": 57,
    "currentSeconds": 45
    }
    }
    }
    }
    }
velocity?: Velocity

Rov Velocity

description

Velocity and speed components for the ROV

Example payloads

UPDATE Requests

  • Arbitrary velocity samples
  • Revolution

    From ./dist/samples/json/requests/devices/vehicles/revolution/velocity/revolutionVelocityRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5A2AF3E40ED5": {
    "model": 13,
    "velocity": {
    "valid": true,
    "forward": -88,
    "rightward": -19,
    "downward": -100,
    "speed": 29
    }
    }
    }
    }
    }
  • Pivot

    From ./dist/samples/json/requests/devices/vehicles/pivot/velocity/pivotVelocityRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DA032A12DE9D": {
    "model": 18,
    "velocity": {
    "valid": true,
    "forward": 29,
    "rightward": 22,
    "downward": 81,
    "speed": 38
    }
    }
    }
    }
    }
version?: DeviceVersion

Pivot Version

Example Payloads

GET Requests

  • Version 1

    From ./dist/samples/json/requests/devices/vehicles/pivot/version/pivotVersion1Sample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1C0478656EEA": {
    "model": 18,
    "version": {
    "hardware": "0",
    "software": "1.1"
    }
    }
    }
    }
    }
  • Version 2

    From ./dist/samples/json/requests/devices/vehicles/pivot/version/pivotVersion2Sample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D506EBB5C2A8": {
    "model": 18,
    "version": {
    "hardware": "1",
    "software": "2.9"
    }
    }
    }
    }
    }
  • Version 3

    From ./dist/samples/json/requests/devices/vehicles/pivot/version/pivotVersion3Sample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BEB4EF404490": {
    "model": 18,
    "version": {
    "hardware": "2",
    "software": "3.7"
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/pivot/version/pivotVersionRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B2B223E471F9": {
    "model": 18,
    "version": {
    "hardware": "1",
    "software": "2.2"
    }
    }
    }
    }
    }
verticalFrontMotorDiagnostics?: MotorDiagnostics

Motor Diagnostics

Example Payloads

GET Requests

  • Arbitrary (Vertical Front Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/verticalFrontThruster/pivotVerticalFrontMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5DD13CE747A6": {
    "model": 18,
    "verticalFrontMotorDiagnostics": {
    "current": 73,
    "overcurrent": true,
    "pwm": 23,
    "rpm": -25,
    "failure": false
    }
    }
    }
    }
    }
  • Resting position (Vertical Front Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/verticalFrontThruster/pivotVerticalFrontMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4B3D608CBF25": {
    "model": 18,
    "verticalFrontMotorDiagnostics": {
    "current": 4,
    "overcurrent": false,
    "pwm": 3,
    "rpm": -1,
    "failure": false
    }
    }
    }
    }
    }
verticalRearMotorDiagnostics?: MotorDiagnostics

Motor Diagnostics

Example Payloads

GET Requests

  • Arbitrary (Vertical Rear Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/verticalRearThruster/pivotVerticalRearMotorDiagnosticsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "680D74DDEFB3": {
    "model": 18,
    "verticalRearMotorDiagnostics": {
    "current": 81,
    "overcurrent": true,
    "pwm": 15,
    "rpm": -28,
    "failure": false
    }
    }
    }
    }
    }
  • Resting position (Vertical Rear Motor)

    From ./dist/samples/json/requests/devices/vehicles/pivot/thrusters/verticalRearThruster/pivotVerticalRearMotorDiagnosticsRestingSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1AF91EC44A50": {
    "model": 18,
    "verticalRearMotorDiagnostics": {
    "current": 7,
    "overcurrent": false,
    "pwm": 1,
    "rpm": 0,
    "failure": false
    }
    }
    }
    }
    }
waterTemp?: number

Water temperature in degrees celsius

Example Payloads

UPDATE Requests

  • Minimum water temperature

    From ./dist/samples/json/requests/devices/vehicles/pivot/temperature/waterTemp/pivotWaterTemperatureMinSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "85FFF6D2D317": {
    "model": 18,
    "waterTemp": -10
    }
    }
    }
    }
  • Maximum water temperature

    From ./dist/samples/json/requests/devices/vehicles/pivot/temperature/waterTemp/pivotWaterTemperatureMaxSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "968BAAB97231": {
    "model": 18,
    "waterTemp": 50
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/pivot/temperature/waterTemp/pivotWaterTemperatureRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.7",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A03DB4D92854": {
    "model": 18,
    "waterTemp": 1
    }
    }
    }
    }