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.9",
"method": "DELETE",
"payload": {
"devices": {
"E602FA0F1605": {
"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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FEA7AC45C96D": {
    "model": 18,
    "altitude": 170
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1CF3A51A7EB8": {
    "model": 13,
    "altitudeValid": true
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "35511A62B573": {
    "model": 18,
    "altitude": 47,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0D1042559CE9": {
    "model": 13,
    "altitudeValid": true,
    "altitude": 246
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1F2D2A2CCEE2": {
    "model": 18,
    "altitudeValid": true
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1CF3A51A7EB8": {
    "model": 13,
    "altitudeValid": true
    }
    }
    }
    }
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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "DDACEC7E4D2F": {
    "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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "CF4AF37B2DDA": {
    "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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "181AB1FCE83E": {
    "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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "8B936B0ADEC1": {
    "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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "A6F9043034B6": {
    "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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "55349A31E270": {
    "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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "742BE099B6EA": {
    "model": 18,
    "auxLight": {
    "intensity": 82
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "SET",
    "payload": {
    "devices": {
    "04CC209513E9": {
    "model": 13,
    "auxLight": {
    "intensity": 38
    }
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0D3F76BDA8A2": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "573D58391B99": {
    "model": 18,
    "bodyLeak": true
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "212D37AE2700": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F02D268749D8": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "263C610B5F92": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1CF729D50AE2": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F413D387B5DA": {
    "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.9",
"method": "DELETE",
"payload": {
"devices": {
"9426CB13B76B": {
"model": 18,
"cameras": {
"713A81397FB6": {}
}
}
}
}
}
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "643A7CDF154F": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B58A16055738": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CA161C8808A6": {
    "model": 18,
    "cpuTemp": 95
    }
    }
    }
    }
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.9",
"method": "SET",
"payload": {
"devices": {
"28CE6A592154": {
"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.9",
"method": "SET",
"payload": {
"devices": {
"62DF2D572809": {
"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.9",
"method": "SET",
"payload": {
"devices": {
"7DDA06D4727B": {
"model": 18,
"depth": 52
}
}
}
}

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

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.58.9",
"method": "SET",
"payload": {
"devices": {
"4BCF1CC01267": {
"model": 13,
"depth": 263
}
}
}
}
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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "157BF2B24B67": {
    "model": 18,
    "drive": {
    "thrust": {
    "forward": 84,
    "yaw": 52,
    "vertical": -41,
    "lateral": -31
    },
    "modes": {
    "headingLock": true,
    "altitudeLock": true,
    "depthLock": false,
    "autoStabilization": true,
    "motorsDisabled": false
    }
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "SET",
    "payload": {
    "devices": {
    "B8FD8ABCBB99": {
    "model": 13,
    "drive": {
    "thrust": {
    "forward": -53,
    "yaw": -23,
    "vertical": -89,
    "lateral": -53
    },
    "modes": {
    "headingLock": false,
    "altitudeLock": true,
    "depthLock": true,
    "autoStabilization": true,
    "motorsDisabled": true
    }
    }
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4C04D0543633": {
    "model": 18,
    "frontLeftMotorDiagnostics": {
    "current": 74,
    "overcurrent": false,
    "pwm": 38,
    "rpm": 21,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1F64CBF0443F": {
    "model": 18,
    "frontLeftMotorDiagnostics": {
    "current": 10,
    "overcurrent": false,
    "pwm": 4,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F8F1251BB422": {
    "model": 18,
    "frontRightMotorDiagnostics": {
    "current": 51,
    "overcurrent": false,
    "pwm": 62,
    "rpm": 7,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FCB191416F89": {
    "model": 18,
    "frontRightMotorDiagnostics": {
    "current": 1,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9C9775041B2C": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "71422245DD9D": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 3,
    "overcurrent": false,
    "pwm": 1,
    "rpm": -1,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "83FC502F740E": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 3,
    "overcurrent": false,
    "pwm": 3,
    "rpm": 1,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "EDD1CB0B6DEF": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 25,
    "overcurrent": true,
    "pwm": 94,
    "rpm": -70,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FBA81D2F7D2C": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 92,
    "overcurrent": true,
    "pwm": 15,
    "rpm": 33,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CF7007849E22": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DF29A36391A5": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 48,
    "overcurrent": false,
    "pwm": 53,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0FD47D902080": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E943DC80221E": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 51,
    "overcurrent": false,
    "pwm": 50,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "84DEB6A60C0E": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DC559B50EFAE": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 53,
    "overcurrent": false,
    "pwm": 46,
    "rpm": 5
    }
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "279777B83990": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D8E25A271A57": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 46,
    "overcurrent": false,
    "pwm": 52,
    "rpm": 9
    }
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "83FC502F740E": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 3,
    "overcurrent": false,
    "pwm": 3,
    "rpm": 1,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "708671070D35": {
    "model": 18,
    "grabber": {
    "openClose": 11,
    "rotate": 74
    }
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3C2C580BF8D0": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2F213225923A": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C3E3AD4EADFE": {
    "model": 18,
    "inWater": true
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0474F7B82887": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "835BD700ECD8": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8D512F527240": {
    "model": 13,
    "inWater": false
    }
    }
    }
    }
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.9",
    "method": "SET",
    "payload": {
    "devices": {
    "F9441E97F6D1": {
    "model": 13,
    "ip": "192.168.4.252"
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "SET",
    "payload": {
    "devices": {
    "FFFC34F183C2": {
    "model": 18,
    "ip": "192.168.157.99"
    }
    }
    }
    }
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.9",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "90AE60EE25C7": {
      "model": 18,
      "leftBattery": {
      "percent": 11
      }
      }
      }
      }
      }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "EAA15B9C02A4": {
    "model": 18,
    "leftBattery": {
    "voltage": 54
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4B9B2098AB5A": {
    "model": 18,
    "leftBattery": {
    "leak": false
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "20B68591048D": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C19DDF60889F": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "78DAD0657CD8": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "219CD44C3F51": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C20696D300E9": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D4818C9EB12A": {
    "model": 18,
    "leftBattery": {
    "percent": 89,
    "voltage": 10,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1168C98AA233": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4D016C5D8344": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6961F1F0D1D8": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4CE8FB6F8B29": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "ACE65BA0BAFC": {
    "model": 13,
    "position": {
    "local": {
    "x": -43,
    "y": -134,
    "uncertainty": 71
    }
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AD38F2B41509": {
    "model": 13,
    "position": {
    "global": {
    "latitude": -60,
    "longitude": -85,
    "uncertainty": 43
    }
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6DB67A684C39": {
    "model": 18,
    "position": {
    "local": {
    "x": 333,
    "y": 178,
    "uncertainty": 73
    }
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.58.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D61647B62F33": {
    "model": 18,
    "position": {
    "global": {
    "latitude": -17,
    "longitude": 148,
    "uncertainty": 1
    }
    }
    }
    }
    }
    }

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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E0EFC5EB071E": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6DB67A684C39": {
    "model": 18,
    "position": {
    "local": {
    "x": 333,
    "y": 178,
    "uncertainty": 73
    }
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "976A900806A0": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D61647B62F33": {
    "model": 18,
    "position": {
    "global": {
    "latitude": -17,
    "longitude": 148,
    "uncertainty": 1
    }
    }
    }
    }
    }
    }
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.9",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "E94FB1BC6685": {
      "model": 18,
      "rearLeftMotorDiagnostics": {
      "current": 22,
      "overcurrent": true,
      "pwm": 6,
      "rpm": 84,
      "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0E1CECD8F7FE": {
    "model": 18,
    "rearLeftMotorDiagnostics": {
    "current": 3,
    "overcurrent": false,
    "pwm": 3,
    "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.9",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "20FED4DA1B6C": {
      "model": 18,
      "rearRightMotorDiagnostics": {
      "current": 95,
      "overcurrent": true,
      "pwm": 55,
      "rpm": 66,
      "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BF6BFE324C3B": {
    "model": 18,
    "rearRightMotorDiagnostics": {
    "current": 7,
    "overcurrent": false,
    "pwm": 0,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6EE4BD4ADFB1": {
    "model": 18,
    "rightBattery": {
    "percent": 74
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CE9ED705BE50": {
    "model": 18,
    "rightBattery": {
    "voltage": 5
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BF727161F5EF": {
    "model": 18,
    "rightBattery": {
    "leak": true
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F3F06EF6C2BE": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1CE3FAC8C5B4": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9E3EB298DF83": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "558AD3FE9AF0": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CD3E87D8EE97": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AA344C9EB17A": {
    "model": 18,
    "rightBattery": {
    "percent": 10,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1555174A960C": {
    "model": 18,
    "spareMotor1": {
    "current": 2,
    "overcurrent": false,
    "pwm": 1,
    "rpm": 1,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3E7227E1B096": {
    "model": 18,
    "spareMotor1": {
    "current": 87,
    "overcurrent": true,
    "pwm": 66,
    "rpm": -43,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D00F97787CF5": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "01CF252EC910": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 1,
    "overcurrent": false,
    "pwm": 0,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "7E1A07FED3A6": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C82527371144": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 50,
    "overcurrent": false,
    "pwm": 53,
    "rpm": 9
    }
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B0F0C4BA16F1": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4FC8CBB2DF9E": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 48,
    "overcurrent": false,
    "pwm": -48,
    "rpm": -10
    }
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3626CCA5B2CD": {
    "model": 18,
    "tiltPlatform": {
    "tilt": -29
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1202DE4341ED": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 40,
    "overcurrent": true,
    "pwm": 27,
    "rpm": -76,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4FB059B266E6": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E2C251A01CDA": {
    "model": 18,
    "usageTime": {
    "totalSeconds": 97,
    "currentSeconds": 75
    }
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "40D3549BCB36": {
    "model": 13,
    "velocity": {
    "valid": true,
    "forward": -20,
    "rightward": 42,
    "downward": 45,
    "speed": 82
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2ED84FA221B9": {
    "model": 18,
    "velocity": {
    "valid": true,
    "forward": -94,
    "rightward": -91,
    "downward": -62,
    "speed": 74
    }
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "AFFB0F6A0E6C": {
    "model": 18,
    "version": {
    "hardware": "0",
    "software": "1.0"
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CDC6D36B6894": {
    "model": 18,
    "version": {
    "hardware": "1",
    "software": "2.5"
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "11E32E93218F": {
    "model": 18,
    "version": {
    "hardware": "2",
    "software": "3.3"
    }
    }
    }
    }
    }
  • 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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6F0513CBD75A": {
    "model": 18,
    "version": {
    "hardware": "4",
    "software": "5.5"
    }
    }
    }
    }
    }
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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E15BE5651A47": {
    "model": 18,
    "verticalFrontMotorDiagnostics": {
    "current": 0,
    "overcurrent": false,
    "pwm": 31,
    "rpm": 88,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0187E53FFE6A": {
    "model": 18,
    "verticalFrontMotorDiagnostics": {
    "current": 6,
    "overcurrent": false,
    "pwm": 2,
    "rpm": 0,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0DB938C78219": {
    "model": 18,
    "verticalRearMotorDiagnostics": {
    "current": 62,
    "overcurrent": true,
    "pwm": 73,
    "rpm": 52,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1F69CC7979CD": {
    "model": 18,
    "verticalRearMotorDiagnostics": {
    "current": 1,
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CA3681F4BC11": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3601CDE3A55B": {
    "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.9",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A38172719F97": {
    "model": 18,
    "waterTemp": 46
    }
    }
    }
    }