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.57.4",
"method": "DELETE",
"payload": {
"devices": {
"463FD5BCB383": {
"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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8B2A793883A1": {
    "model": 18,
    "altitude": 279
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E8D29CC001AC": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FE034F0228C8": {
    "model": 18,
    "altitude": 203,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B57175EEA7AC": {
    "model": 13,
    "altitudeValid": true,
    "altitude": 174
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "71301A7EFB30": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E8D29CC001AC": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "C2B45F46F123": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "CDB742525BEC": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "DC3411E27ADE": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "B68EBB9FE936": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "A006049637C0": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "7EF2ED082106": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "9A0D8A4ACB5A": {
    "model": 18,
    "auxLight": {
    "intensity": 51
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "AE534556A269": {
    "model": 13,
    "auxLight": {
    "intensity": 36
    }
    }
    }
    }
    }
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1209CD603B39": {
    "model": 13,
    "bodyLeak": true
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1FA7FD398100": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A95946E6D950": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E59C1B47ACE9": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F1E98B85D2E2": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "6B8272C72E4E": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4D41BB3EEA69": {
    "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.57.4",
"method": "DELETE",
"payload": {
"devices": {
"5BF635BC5D40": {
"model": 18,
"cameras": {
"191528160687": {}
}
}
}
}
}
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "EB81F2DAD2F3": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "9F6BB0AC1140": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DC8A1363FB61": {
    "model": 18,
    "cpuTemp": 87
    }
    }
    }
    }
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.57.4",
"method": "SET",
"payload": {
"devices": {
"82FB3D7C5880": {
"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.57.4",
"method": "SET",
"payload": {
"devices": {
"1C50234C6E46": {
"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.57.4",
"method": "SET",
"payload": {
"devices": {
"45DAE8EF058E": {
"model": 18,
"depth": 73
}
}
}
}

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

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.57.4",
"method": "SET",
"payload": {
"devices": {
"F0E8532FB59E": {
"model": 13,
"depth": 19
}
}
}
}
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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "2056C9F00EDE": {
    "model": 18,
    "drive": {
    "thrust": {
    "forward": -8,
    "yaw": 100,
    "vertical": 18,
    "lateral": 15
    },
    "modes": {
    "headingLock": false,
    "altitudeLock": false,
    "depthLock": true,
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "F384B05E8E9E": {
    "model": 13,
    "drive": {
    "thrust": {
    "forward": -69,
    "yaw": -24,
    "vertical": -9,
    "lateral": 75
    },
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8B74CD15E87A": {
    "model": 18,
    "frontLeftMotorDiagnostics": {
    "current": 43,
    "overcurrent": true,
    "pwm": 48,
    "rpm": -64,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C249B2503AB9": {
    "model": 18,
    "frontLeftMotorDiagnostics": {
    "current": 0,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8A2F2B1ED0E6": {
    "model": 18,
    "frontRightMotorDiagnostics": {
    "current": 48,
    "overcurrent": false,
    "pwm": 89,
    "rpm": -65,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "515548500C57": {
    "model": 18,
    "frontRightMotorDiagnostics": {
    "current": 9,
    "overcurrent": false,
    "pwm": 3,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C55BC85791A8": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C6A90BED6ABB": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 2,
    "overcurrent": false,
    "pwm": 2,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B69D121E45D3": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 9,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2A4FB32AF5C1": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 48,
    "overcurrent": false,
    "pwm": 68,
    "rpm": 1,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2FF0F368A169": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 29,
    "overcurrent": true,
    "pwm": 67,
    "rpm": -74,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F71B801A2321": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "46BA3A038057": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 47,
    "overcurrent": false,
    "pwm": 52,
    "rpm": 5
    }
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "065170930B17": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DA7789027438": {
    "model": 18,
    "grabber": {
    "openCloseMotorDiagnostics": {
    "current": 53,
    "overcurrent": false,
    "pwm": 51,
    "rpm": 5
    }
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BB325FBCA5EF": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DC3C0CB85478": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 46,
    "overcurrent": false,
    "pwm": 50,
    "rpm": 9
    }
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F987E6679898": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CEB4E8B2D524": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 46,
    "overcurrent": false,
    "pwm": 54,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B69D121E45D3": {
    "model": 18,
    "grabber": {
    "rotateMotorDiagnostics": {
    "current": 9,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F7992DF8307D": {
    "model": 18,
    "grabber": {
    "openClose": -13,
    "rotate": 60
    }
    }
    }
    }
    }
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E1C93C1211BC": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "76CBFC406E69": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "260E2D405B8C": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4B5A11E2488D": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A3A50B1E50B4": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D708BCE08CEE": {
    "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.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "792D9728F982": {
    "model": 13,
    "ip": "192.168.31.6"
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "SET",
    "payload": {
    "devices": {
    "93DF42F4AA10": {
    "model": 18,
    "ip": "192.168.143.213"
    }
    }
    }
    }
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.57.4",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "92180388A37D": {
      "model": 18,
      "leftBattery": {
      "percent": 99
      }
      }
      }
      }
      }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FAC50F7F5D62": {
    "model": 18,
    "leftBattery": {
    "voltage": 12
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2FEE9EC75739": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "DC9EADBBB2A8": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "D7C5A2DD7B63": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B9D708F1E975": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BDB6876BF5DC": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "86A1D757C764": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "50615CE2F691": {
    "model": 18,
    "leftBattery": {
    "percent": 81,
    "voltage": 0,
    "charging": false,
    "leak": false
    }
    }
    }
    }
    }
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "053FFD3FE0D3": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "23AF4A1E40BE": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8ED94EF839EA": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0FECCDE74FBF": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "ADCB4699CDF4": {
    "model": 13,
    "position": {
    "local": {
    "northing": 433,
    "easting": -942,
    "uncertainty": 15
    }
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A1BF859C4797": {
    "model": 13,
    "position": {
    "global": {
    "latitude": 8,
    "longitude": -173,
    "uncertainty": 0
    }
    }
    }
    }
    }
    }
  • Pivot

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "89E2C2938BED": {
    "model": 18,
    "position": {
    "local": {
    "northing": 639,
    "easting": -895,
    "uncertainty": 28
    }
    }
    }
    }
    }
    }

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0488C1A6ACAA": {
    "model": 18,
    "position": {
    "global": {
    "latitude": 78,
    "longitude": 93,
    "uncertainty": 5
    }
    }
    }
    }
    }
    }

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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BA01541BC75F": {
    "model": 13,
    "position": {
    "local": {
    "northing": 10,
    "easting": 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "89E2C2938BED": {
    "model": 18,
    "position": {
    "local": {
    "northing": 639,
    "easting": -895,
    "uncertainty": 28
    }
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C7D5EC71480E": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0488C1A6ACAA": {
    "model": 18,
    "position": {
    "global": {
    "latitude": 78,
    "longitude": 93,
    "uncertainty": 5
    }
    }
    }
    }
    }
    }
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.57.4",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "9288D6CD902F": {
      "model": 18,
      "rearLeftMotorDiagnostics": {
      "current": 62,
      "overcurrent": true,
      "pwm": 30,
      "rpm": -45,
      "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3CB29664AA40": {
    "model": 18,
    "rearLeftMotorDiagnostics": {
    "current": 5,
    "overcurrent": false,
    "pwm": 1,
    "rpm": -1,
    "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.57.4",
      "method": "UPDATE",
      "payload": {
      "devices": {
      "352DCEDFFA2F": {
      "model": 18,
      "rearRightMotorDiagnostics": {
      "current": 72,
      "overcurrent": true,
      "pwm": 68,
      "rpm": -94,
      "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E361FE57E7A7": {
    "model": 18,
    "rearRightMotorDiagnostics": {
    "current": 7,
    "overcurrent": false,
    "pwm": 2,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "329582DCACDF": {
    "model": 18,
    "rightBattery": {
    "percent": 83
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "219889642B19": {
    "model": 18,
    "rightBattery": {
    "voltage": 72
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "24C75C156D39": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "3BE4A4655001": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "049C4A053BCF": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "1D2AE076FC2C": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "600F016DA536": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "97DEE7FF1149": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "365B3C1261CB": {
    "model": 18,
    "rightBattery": {
    "percent": 39,
    "voltage": 0,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "8247EDE0B7FC": {
    "model": 18,
    "spareMotor1": {
    "current": 8,
    "overcurrent": false,
    "pwm": 1,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "724695E0C217": {
    "model": 18,
    "spareMotor1": {
    "current": 40,
    "overcurrent": false,
    "pwm": 76,
    "rpm": -61,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "739DAF5CE6B3": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BCACF8DF83C5": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 6,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "0B098A49176D": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "574EC79D2CE2": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 51,
    "overcurrent": false,
    "pwm": 45,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "CC63EDD1A2DD": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "300B12B4709E": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 45,
    "overcurrent": false,
    "pwm": -51,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "FE9CA7AAB89E": {
    "model": 18,
    "tiltPlatform": {
    "tilt": -11
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "21059C90ACE5": {
    "model": 18,
    "tiltPlatform": {
    "tiltMotorDiagnostics": {
    "current": 20,
    "overcurrent": true,
    "pwm": 80,
    "rpm": 88,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "92A87314D31D": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4443A1F25D8F": {
    "model": 18,
    "usageTime": {
    "totalSeconds": 60,
    "currentSeconds": 69
    }
    }
    }
    }
    }
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C1277EFE3FA0": {
    "model": 13,
    "velocity": {
    "valid": true,
    "forward": 77,
    "rightward": 74,
    "downward": -4,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5B7C69C85EAC": {
    "model": 18,
    "velocity": {
    "valid": true,
    "forward": -38,
    "rightward": 14,
    "downward": 16,
    "speed": 32
    }
    }
    }
    }
    }
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "4FE70AE6EA65": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "762AA5F63888": {
    "model": 18,
    "version": {
    "hardware": "1",
    "software": "2.1"
    }
    }
    }
    }
    }
  • 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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "B6B9B84F361D": {
    "model": 18,
    "version": {
    "hardware": "2",
    "software": "3.6"
    }
    }
    }
    }
    }
  • Arbitrary

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

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E3EAD3B6AD00": {
    "model": 18,
    "version": {
    "hardware": "6",
    "software": "7.7"
    }
    }
    }
    }
    }
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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "750F5765A808": {
    "model": 18,
    "verticalFrontMotorDiagnostics": {
    "current": 30,
    "overcurrent": false,
    "pwm": 46,
    "rpm": 23,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "2B003746A3FC": {
    "model": 18,
    "verticalFrontMotorDiagnostics": {
    "current": 1,
    "overcurrent": false,
    "pwm": 0,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "5ABC0F2B4814": {
    "model": 18,
    "verticalRearMotorDiagnostics": {
    "current": 30,
    "overcurrent": true,
    "pwm": 44,
    "rpm": 63,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "EA79C439FAD0": {
    "model": 18,
    "verticalRearMotorDiagnostics": {
    "current": 1,
    "overcurrent": false,
    "pwm": 1,
    "rpm": 1,
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E15C11043663": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "A97C2F163E39": {
    "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.57.4",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "F55C5242BC84": {
    "model": 18,
    "waterTemp": 1
    }
    }
    }
    }