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

See type declaration

a150 Crawler

DELETE Request

From ./dist/samples/json/requests/devices/vehicles/a150/core/a150DeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "DELETE",
"payload": {
"devices": {
"F28B1A8B979D": {
"model": 20
}
}
}
}

Hierarchy

Index

Properties

auxLight?: Light

Aux Light

Controls the auxiliary light attached to the a150 crawler.

remarks

See Light type for more details.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOnMidIntensitySample.json

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

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOffSample.json

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

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightOnMaxIntensitySample.json

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

    From ./dist/samples/json/requests/devices/vehicles/a150/auxLight/a150AuxLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "EDA67E2F9351": {
    "model": 20,
    "auxLight": {
    "intensity": 64
    }
    }
    }
    }
    }
battery?: Battery

Main Crawler Battery

Example Payload

Battery Danger Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryDangerSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"BFE3AB45F026": {
"model": 20,
"battery": {
"percent": 15
}
}
}
}
}

Battery Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"06A029A4A0BD": {
"model": 20,
"battery": {
"voltage": 99,
"percent": 49,
"charging": false
}
}
}
}
}

Battery Shutdown Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryShutdownSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"8B9937975182": {
"model": 20,
"battery": {
"percent": 3
}
}
}
}
}

Battery Warning Sample

From ./dist/samples/json/requests/devices/vehicles/a150/battery/a150BatteryWarningSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"9C29CD8F82F9": {
"model": 20,
"battery": {
"percent": 30
}
}
}
}
}
bodyLeak?: boolean

Body Leak Fault

Example Payloads

UPDATE Requests

  • No body leak

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150HasNoBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "40C41ED83498": {
    "model": 20,
    "bodyLeak": false
    }
    }
    }
    }
  • Body leak present

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150HasBodyLeakSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "E8A8F4711215": {
    "model": 20,
    "bodyLeak": true
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/bodyLeak/a150BodyLeakRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "39E19DBC6ED9": {
    "model": 20,
    "bodyLeak": false
    }
    }
    }
    }
calibrator?: boolean

Calibrator

Calibrator Front-end (request) Back-end (response)
true Calibrate -
false Cancel Calibration -
undefined - -
cameraHead?: Record<string, never> | A200CameraHead | A150CameraHead

Camera Head

Example Payloads

GET Requests

  • a150 camera head

    From ./dist/samples/json/requests/devices/vehicles/a150/cameraHead/a150CameraHead/core/a150A150CameraHeadSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "DELETE",
    "payload": {
    "devices": {
    "8AAD47C925A8": {
    "model": 20,
    "cameraHead": {}
    }
    }
    }
    }
cameras?: Record<string, Removable<Cameras>>

Cameras

Example Payloads

DELETE Requests

From ./dist/samples/json/requests/devices/vehicles/a150/cameras/core/a150CameraDeleteSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "DELETE",
"payload": {
"devices": {
"7BF01F0DDFD1": {
"model": 20,
"cameras": {
"C2A153D52B30": {}
}
}
}
}
}

From ./dist/samples/json/requests/devices/vehicles/a150/cameras/core/a150CamerasSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "DELETE",
"payload": {
"devices": {
"7966AE7333AD": {
"model": 20,
"cameras": {}
}
}
}
}
cpProbe?: string

The cp probe

cpuTemp?: number

CPU Temperature Sensor

Measured in degrees celsius

  • Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"CFAA2FBA3FFA": {
"model": 20,
"cpuTemp": 49
}
}
}
}
  • CPU temperature warning

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureWarningSample.json

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

From ./dist/samples/json/requests/devices/vehicles/a150/temperature/cpuTemp/a150CPUTemperatureShutdownSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"83CC832FBD89": {
"model": 20,
"cpuTemp": 85
}
}
}
}
cygnus?: cygnusType

The ut(cygnus) probe

drive?: CrawlerDrive

Drive

Controls the direction of drive for the a150

remarks

See CrawlerDrive type for more details

Example Payloads

SET Requests

  • Arbitrary Values

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "C316AC5CD3CF": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL",
    "speed": 87,
    "steer": 5,
    "motorsDisabled": false,
    "calibrator": true
    }
    }
    }
    }
    }
  • Drive mode: Normal

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeNormalSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "05C2BE4B8D08": {
    "model": 20,
    "drive": {
    "driveMode": "NORMAL"
    }
    }
    }
    }
    }
  • Drive mode: Assist

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeAssistSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "8AB712DB4776": {
    "model": 20,
    "drive": {
    "driveMode": "RETRIEVAL_ASSIST"
    }
    }
    }
    }
    }
  • Drive mode: Cruise

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveModeCruiseSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "5E0C21B8A9DA": {
    "model": 20,
    "drive": {
    "driveMode": "RETRIEVAL_CRUISE"
    }
    }
    }
    }
    }
  • Random Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSpeedRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "F2C22996D252": {
    "model": 20,
    "drive": {
    "speed": 40
    }
    }
    }
    }
    }
  • Max Speed Forward Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveMaxSpeedForwardSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "31826FC6330B": {
    "model": 20,
    "drive": {
    "speed": 100
    }
    }
    }
    }
    }
  • Max Speed Backward Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveMaxSpeedBackwardSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "4775113F35D8": {
    "model": 20,
    "drive": {
    "speed": -100
    }
    }
    }
    }
    }
  • No Speed

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveNoSpeedSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "8FA4CFAB5CCB": {
    "model": 20,
    "drive": {
    "speed": 0
    }
    }
    }
    }
    }
  • Random Steer

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "43119F43977D": {
    "model": 20,
    "drive": {
    "steer": 6
    }
    }
    }
    }
    }
  • Steer Left

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerLeftSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "2099B1A652D0": {
    "model": 20,
    "drive": {
    "steer": -100
    }
    }
    }
    }
    }
  • Steer Right

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveSteerRightSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "09995C064AF8": {
    "model": 20,
    "drive": {
    "steer": 100
    }
    }
    }
    }
    }
  • No Steer

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150DriveNoSteerSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "7200E0170797": {
    "model": 20,
    "drive": {
    "steer": 0
    }
    }
    }
    }
    }
  • Motors Disabled

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150MotorsDisabledSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "61802A287F7D": {
    "model": 20,
    "drive": {
    "motorsDisabled": true
    }
    }
    }
    }
    }
  • Motors Enabled

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150MotorsEnabledSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "407BD368143E": {
    "model": 20,
    "drive": {
    "motorsDisabled": false
    }
    }
    }
    }
    }
  • Active Freewheel Calibration

    From ./dist/samples/json/requests/devices/vehicles/a150/drive/a150AFWCalibrationSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "E7A88FE21BF4": {
    "model": 20,
    "drive": {
    "calibrator": true
    }
    }
    }
    }
    }
elevatingArm?: ElevatingArm

Elevating Arm

No elevating arm

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmNotPresentSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "SET",
"payload": {
"devices": {
"D3E5C7BCF06B": {
"model": 20,
"elevatingArm": {
"present": false
}
}
}
}
}

Elevating arm minimum height

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmMinHeightSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "SET",
"payload": {
"devices": {
"01C6E8C0D6FC": {
"model": 20,
"elevatingArm": {
"height": 0
}
}
}
}
}

Elevating arm maximum height

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmMaxHeightSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "SET",
"payload": {
"devices": {
"D57F160F1558": {
"model": 20,
"elevatingArm": {
"height": 100
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/elevatingArm/a150ElevatingArmRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "SET",
"payload": {
"devices": {
"3BEE8F25C5A8": {
"model": 20,
"elevatingArm": {
"present": true,
"height": 84,
"speed": 65,
"leak": false
}
}
}
}
}
hybridPowerDiagnostics?: VehicleHpDiagnostics

Hybrid Power Diagnostics

Hybrid Power Diagnostics Charge Input Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/hybridPowerDiagnostics/chargeVoltage/a150HybridPowerDiagnosticsChargeVoltageRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"708469A4A6DE": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 91
}
}
}
}
}

Hybrid Power Diagnostics Input Voltage Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/hybridPowerDiagnostics/inputVoltage/a150HybridPowerDiagnosticsInputVoltageRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"50D829DAF0E9": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 94
}
}
}
}
}

Hybrid Power Diagnostics Random Sample

From ./dist/samples/json/requests/devices/vehicles/a150/hybridPowerDiagnostics/a150HybridPowerDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"20BD51939C28": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 92
}
},
"D70DAB657FF0": {
"model": 20,
"hybridPowerDiagnostics": {
"chargeVoltage": 0
}
}
}
}
}
imuTemp?: number

IMU Temperature Sensor

Measured in degrees celsius

  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "BAB9B9DD7BCF": {
    "model": 20,
    "imuTemp": 11
    }
    }
    }
    }
  • IMU temperature warning

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureWarningSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "002A46BF20EC": {
    "model": 20,
    "imuTemp": 75
    }
    }
    }
    }
  • IMU temperature shutdown

    From ./dist/samples/json/requests/devices/vehicles/a150/temperature/imuTemp/a150IMUTemperatureShutdownSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "914FBED9C3F0": {
    "model": 20,
    "imuTemp": 85
    }
    }
    }
    }
incline?: number

Vehicle incline

minimum

-180.0

maximum

180.0

ip?: string

IP address

leftMotorDiagnostics?: MotorDiagnostics

Left Motor Diagnostics

Resting Motor

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/leftMotor/a150LeftMotorDiagnosticsRestingSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"89B958E145F6": {
"model": 20,
"leftMotorDiagnostics": {
"current": 6,
"overcurrent": false,
"pwm": 2,
"rpm": 1,
"failure": false
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/leftMotor/a150LeftMotorDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"5FE3AD7FFECD": {
"model": 20,
"leftMotorDiagnostics": {
"current": 65,
"overcurrent": false,
"pwm": 79,
"rpm": -49,
"failure": false
}
}
}
}
}
rearLight?: Light

Aux Light

Controls the rear light attached to the a150 crawler.

remarks

See Light type for more details.

Example Payloads

SET Requests

  • Lights On (mid)

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOnMidIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "A7D255907162": {
    "model": 20,
    "rearLight": {
    "intensity": 50
    }
    }
    }
    }
    }
  • Lights Off

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOffSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "9BA5BA75A770": {
    "model": 20,
    "rearLight": {
    "intensity": 0
    }
    }
    }
    }
    }
  • Lights On (max)

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightOnMaxIntensitySample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "8B854E8A2DD0": {
    "model": 20,
    "rearLight": {
    "intensity": 100
    }
    }
    }
    }
    }
  • Arbitrary

    From ./dist/samples/json/requests/devices/vehicles/a150/rearLight/a150RearLightRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "SET",
    "payload": {
    "devices": {
    "31F48D86F012": {
    "model": 20,
    "rearLight": {
    "intensity": 6
    }
    }
    }
    }
    }
rightMotorDiagnostics?: MotorDiagnostics

Right Motor Diagnostics

Resting Motor

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/rightMotor/a150RightMotorDiagnosticsRestingSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"8830325226CD": {
"model": 20,
"rightMotorDiagnostics": {
"current": 9,
"overcurrent": false,
"pwm": 3,
"rpm": 1,
"failure": false
}
}
}
}
}

Arbitrary

From ./dist/samples/json/requests/devices/vehicles/a150/motorDiagnostics/rightMotor/a150RightMotorDiagnosticsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"BDD87F90BFF4": {
"model": 20,
"rightMotorDiagnostics": {
"current": 30,
"overcurrent": false,
"pwm": 86,
"rpm": -17,
"failure": false
}
}
}
}
}
roll?: number

Vehicle roll

minimum

-180.0

maximum

180.0

sonde?: Sonde

Sonde

Example Payloads

SET Request

  • Sonde enabled

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/sonde/a150SondeEnabledSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "SET",
"payload": {
"devices": {
"9C5F3A6461F5": {
"model": 20,
"sonde": {
"enabled": true
}
}
}
}
}
  • Sonde Disabled

From ./dist/samples/json/requests/devices/vehicles/a150/peripherals/sonde/a150SondeDisabledSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "SET",
"payload": {
"devices": {
"5287CE2206D0": {
"model": 20,
"sonde": {
"enabled": false
}
}
}
}
}
usageTime?: UsageTime

Vehicle Usage Time

Example Payloads

GET Requests

  • Current seconds

    From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150CurrentSecondsRandomSample.json

    {
    "$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
    "apiVersion": "0.59.0",
    "method": "UPDATE",
    "payload": {
    "devices": {
    "C2641C53EA1D": {
    "model": 20,
    "usageTime": {
    "currentSeconds": 57
    }
    }
    }
    }
    }
  • Total Seconds

From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150TotalSecondsRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"E692E79763C0": {
"model": 20,
"usageTime": {
"totalSeconds": 28
}
}
}
}
}
  • Arbitrary Total Usage

From ./dist/samples/json/requests/devices/vehicles/a150/usageTime/a150UsageTimeRandomSample.json

{
"$schema": "https://docs.api.deeptrekker.com/dist/schemas/schema.json",
"apiVersion": "0.59.0",
"method": "UPDATE",
"payload": {
"devices": {
"34E50CFB5203": {
"model": 20,
"usageTime": {
"totalSeconds": 54,
"currentSeconds": 67
}
}
}
}
}
version?: DeviceVersion

Version