@blueyerobotics/protocol-definitions 3.2.0-3e35b5c5 → 3.2.0-423f0fbf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/control.d.ts +15 -1
- package/dist/control.js +55 -2
- package/dist/message_formats.d.ts +86 -1
- package/dist/message_formats.js +325 -4
- package/package.json +1 -1
package/dist/control.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { SetAquaTrollConnectionStatus, SetAquaTrollParameterUnit } from "./aquatroll";
|
|
3
|
-
import { Annotation, AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, BoundingBox, CameraPanTiltZoom, ConnectionDuration, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
3
|
+
import { Annotation, AutoAltitudeState, AutoDepthState, AutoHeadingState, AutoPilotHeaveState, AutoPilotSurgeYawState, BoundingBox, CameraPanTiltZoom, ConnectionDuration, FilterMessage, GenericServo, GripperVelocities, GuestPortRestartInfo, Laser, LatLongPosition, Lights, MotionInput, MultibeamConfig, MultibeamServo, OperatorInfo, PingerConfiguration, RecordOn, ResetPositionSettings, StationKeepingState, StorageLocation, SystemTime, TiltStabilizationState, TiltVelocity, VisionTrackingState, WaterDensity, WeatherVaningState } from "./message_formats";
|
|
4
4
|
/**
|
|
5
5
|
* Control
|
|
6
6
|
*
|
|
@@ -104,6 +104,19 @@ export interface AutoPilotHeaveCtrl {
|
|
|
104
104
|
/** State of the auto pilot heave controller- */
|
|
105
105
|
state: AutoPilotHeaveState | undefined;
|
|
106
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Issue a command to set the vision-based tracking mode.
|
|
109
|
+
*
|
|
110
|
+
* Setting a mode requires an actively tracked single-object-tracking (SOT)
|
|
111
|
+
* target; the drone refuses to enable a mode otherwise. Setting a different
|
|
112
|
+
* mode while one is active switches atomically. Sending a state with no
|
|
113
|
+
* mode set disables vision tracking. An OrbitState with a zero rate is
|
|
114
|
+
* rejected.
|
|
115
|
+
*/
|
|
116
|
+
export interface VisionTrackingCtrl {
|
|
117
|
+
/** The desired vision tracking mode, or none to disable. */
|
|
118
|
+
state: VisionTrackingState | undefined;
|
|
119
|
+
}
|
|
107
120
|
/** Issue a command to start and pause the loaded mission. */
|
|
108
121
|
export interface RunMissionCtrl {
|
|
109
122
|
}
|
|
@@ -304,6 +317,7 @@ export declare const StationKeepingCtrl: MessageFns<StationKeepingCtrl>;
|
|
|
304
317
|
export declare const WeatherVaningCtrl: MessageFns<WeatherVaningCtrl>;
|
|
305
318
|
export declare const AutoPilotSurgeYawCtrl: MessageFns<AutoPilotSurgeYawCtrl>;
|
|
306
319
|
export declare const AutoPilotHeaveCtrl: MessageFns<AutoPilotHeaveCtrl>;
|
|
320
|
+
export declare const VisionTrackingCtrl: MessageFns<VisionTrackingCtrl>;
|
|
307
321
|
export declare const RunMissionCtrl: MessageFns<RunMissionCtrl>;
|
|
308
322
|
export declare const PauseMissionCtrl: MessageFns<PauseMissionCtrl>;
|
|
309
323
|
export declare const ClearMissionCtrl: MessageFns<ClearMissionCtrl>;
|
package/dist/control.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.AnnotationCtrl = void 0;
|
|
8
|
+
exports.SetSotTargetCtrl = exports.StopLogStreamingCtrl = exports.StartLogStreamingCtrl = exports.CameraPanTiltZoomCtrl = exports.SetColorCorrectionCtrl = exports.SetTurbidityFilterCtrl = exports.FormatRemovableStorageDeviceCtrl = exports.EndDiveCtrl = exports.StartDiveCtrl = exports.DeactivateMultibeamCtrl = exports.ActivateMultibeamCtrl = exports.SetMultibeamConfigCtrl = exports.SetAquaTrollConnectionStatusCtrl = exports.SetAquaTrollParameterUnitCtrl = exports.RestartGuestPortsCtrl = exports.ActivateGuestPortsCtrl = exports.DeactivateGuestPortsCtrl = exports.MultibeamServoCtrl = exports.GenericServoCtrl = exports.GripperCtrl = exports.SystemTimeCtrl = exports.PingerConfigurationCtrl = exports.WaterDensityCtrl = exports.TiltStabilizationCtrl = exports.CalibrateDvlGyroCtrl = exports.ResetOdometerCtrl = exports.ResetPositionCtrl = exports.ClearMissionCtrl = exports.PauseMissionCtrl = exports.RunMissionCtrl = exports.VisionTrackingCtrl = exports.AutoPilotHeaveCtrl = exports.AutoPilotSurgeYawCtrl = exports.WeatherVaningCtrl = exports.StationKeepingCtrl = exports.AutoAltitudeCtrl = exports.AutoDepthCtrl = exports.AutoHeadingCtrl = exports.FinishCalibrationCtrl = exports.CancelCalibrationCtrl = exports.StartCalibrationCtrl = exports.TakePictureCtrl = exports.RecordCtrl = exports.WatchdogCtrl = exports.PilotGPSPositionCtrl = exports.LaserCtrl = exports.GuestportLightsCtrl = exports.LightsCtrl = exports.TiltVelocityCtrl = exports.MotionInputCtrl = void 0;
|
|
9
|
+
exports.AnnotationCtrl = exports.ClearSotTargetCtrl = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const aquatroll_1 = require("./aquatroll");
|
|
@@ -1002,6 +1002,59 @@ exports.AutoPilotHeaveCtrl = {
|
|
|
1002
1002
|
return message;
|
|
1003
1003
|
},
|
|
1004
1004
|
};
|
|
1005
|
+
function createBaseVisionTrackingCtrl() {
|
|
1006
|
+
return { state: undefined };
|
|
1007
|
+
}
|
|
1008
|
+
exports.VisionTrackingCtrl = {
|
|
1009
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1010
|
+
if (message.state !== undefined) {
|
|
1011
|
+
message_formats_1.VisionTrackingState.encode(message.state, writer.uint32(10).fork()).join();
|
|
1012
|
+
}
|
|
1013
|
+
return writer;
|
|
1014
|
+
},
|
|
1015
|
+
decode(input, length) {
|
|
1016
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1017
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1018
|
+
const message = createBaseVisionTrackingCtrl();
|
|
1019
|
+
while (reader.pos < end) {
|
|
1020
|
+
const tag = reader.uint32();
|
|
1021
|
+
switch (tag >>> 3) {
|
|
1022
|
+
case 1: {
|
|
1023
|
+
if (tag !== 10) {
|
|
1024
|
+
break;
|
|
1025
|
+
}
|
|
1026
|
+
message.state = message_formats_1.VisionTrackingState.decode(reader, reader.uint32());
|
|
1027
|
+
continue;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1031
|
+
break;
|
|
1032
|
+
}
|
|
1033
|
+
reader.skip(tag & 7);
|
|
1034
|
+
}
|
|
1035
|
+
return message;
|
|
1036
|
+
},
|
|
1037
|
+
fromJSON(object) {
|
|
1038
|
+
return { state: isSet(object.state) ? message_formats_1.VisionTrackingState.fromJSON(object.state) : undefined };
|
|
1039
|
+
},
|
|
1040
|
+
toJSON(message) {
|
|
1041
|
+
const obj = {};
|
|
1042
|
+
if (message.state !== undefined) {
|
|
1043
|
+
obj.state = message_formats_1.VisionTrackingState.toJSON(message.state);
|
|
1044
|
+
}
|
|
1045
|
+
return obj;
|
|
1046
|
+
},
|
|
1047
|
+
create(base) {
|
|
1048
|
+
return exports.VisionTrackingCtrl.fromPartial(base ?? {});
|
|
1049
|
+
},
|
|
1050
|
+
fromPartial(object) {
|
|
1051
|
+
const message = createBaseVisionTrackingCtrl();
|
|
1052
|
+
message.state = (object.state !== undefined && object.state !== null)
|
|
1053
|
+
? message_formats_1.VisionTrackingState.fromPartial(object.state)
|
|
1054
|
+
: undefined;
|
|
1055
|
+
return message;
|
|
1056
|
+
},
|
|
1057
|
+
};
|
|
1005
1058
|
function createBaseRunMissionCtrl() {
|
|
1006
1059
|
return {};
|
|
1007
1060
|
}
|
|
@@ -477,6 +477,8 @@ export declare enum GuestPortDeviceID {
|
|
|
477
477
|
* RS232, letting it be used on drones with no RS485, such as the X7.
|
|
478
478
|
*/
|
|
479
479
|
GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
|
|
480
|
+
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
481
|
+
GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
|
|
480
482
|
UNRECOGNIZED = -1
|
|
481
483
|
}
|
|
482
484
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -544,6 +546,8 @@ export declare enum NavigationSensorID {
|
|
|
544
546
|
NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS = 5,
|
|
545
547
|
/** NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
546
548
|
NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 = 6,
|
|
549
|
+
/** NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 - Water Linked DVL A100. */
|
|
550
|
+
NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 = 7,
|
|
547
551
|
UNRECOGNIZED = -1
|
|
548
552
|
}
|
|
549
553
|
export declare function navigationSensorIDFromJSON(object: any): NavigationSensorID;
|
|
@@ -858,6 +862,66 @@ export interface AutoPilotHeaveState {
|
|
|
858
862
|
/** If auto pilot heave is enabled. */
|
|
859
863
|
enabled: boolean;
|
|
860
864
|
}
|
|
865
|
+
/**
|
|
866
|
+
* Spotlight mode parameters.
|
|
867
|
+
*
|
|
868
|
+
* Vision-based mode that keeps the tracked object centred in the frame
|
|
869
|
+
* while the pilot flies around it. Currently carries no parameters.
|
|
870
|
+
*
|
|
871
|
+
* Automatically controlled: yaw (horizontal centring) and depth
|
|
872
|
+
* (vertical centring).
|
|
873
|
+
* Pilot controlled: surge and sway.
|
|
874
|
+
*/
|
|
875
|
+
export interface SpotlightState {
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Active track mode parameters.
|
|
879
|
+
*
|
|
880
|
+
* Vision-based mode that follows the tracked object, keeping it centred
|
|
881
|
+
* and at a constant apparent size in the frame. Currently carries no
|
|
882
|
+
* parameters.
|
|
883
|
+
*
|
|
884
|
+
* Automatically controlled: yaw (horizontal centring), depth (vertical
|
|
885
|
+
* centring), and surge (distance keeping).
|
|
886
|
+
* Pilot controlled: sway.
|
|
887
|
+
*/
|
|
888
|
+
export interface ActiveTrackState {
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Orbit mode parameters.
|
|
892
|
+
*
|
|
893
|
+
* Vision-based mode that circles the tracked object while keeping it
|
|
894
|
+
* centred in the frame.
|
|
895
|
+
*
|
|
896
|
+
* Automatically controlled: yaw (horizontal centring), depth (vertical
|
|
897
|
+
* centring), surge (distance keeping), and sway (tangential motion at
|
|
898
|
+
* the commanded angular rate). No degree of freedom is pilot controlled
|
|
899
|
+
* while orbit is active.
|
|
900
|
+
*/
|
|
901
|
+
export interface OrbitState {
|
|
902
|
+
/** Orbit angular rate (deg/s); positive orbits clockwise seen from above. Must be non-zero. */
|
|
903
|
+
rate: number;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* The active vision-based tracking mode.
|
|
907
|
+
*
|
|
908
|
+
* The modes are mutually exclusive, which the oneof encodes: at most one
|
|
909
|
+
* mode is set at a time, and no field set means no vision tracking mode
|
|
910
|
+
* is active.
|
|
911
|
+
*
|
|
912
|
+
* Each mode's message documents which degrees of freedom it controls
|
|
913
|
+
* automatically; any degree of freedom not listed as automatic remains
|
|
914
|
+
* under pilot control. Pilot input on an automatically controlled degree
|
|
915
|
+
* of freedom is ignored while the mode is active.
|
|
916
|
+
*/
|
|
917
|
+
export interface VisionTrackingState {
|
|
918
|
+
/** Spotlight mode is active. */
|
|
919
|
+
spotlight?: SpotlightState | undefined;
|
|
920
|
+
/** Active track mode is active. */
|
|
921
|
+
activeTrack?: ActiveTrackState | undefined;
|
|
922
|
+
/** Orbit mode is active, at the reported angular rate. */
|
|
923
|
+
orbit?: OrbitState | undefined;
|
|
924
|
+
}
|
|
861
925
|
/** Control mode from drone supervisor */
|
|
862
926
|
export interface ControlMode {
|
|
863
927
|
/** If auto depth is enabled. */
|
|
@@ -874,6 +938,8 @@ export interface ControlMode {
|
|
|
874
938
|
autoPilotSurgeYaw: boolean;
|
|
875
939
|
/** If auto pilot heave is enabled. */
|
|
876
940
|
autoPilotHeave: boolean;
|
|
941
|
+
/** The active vision-based tracking mode, if any. */
|
|
942
|
+
visionTracking: VisionTrackingState | undefined;
|
|
877
943
|
}
|
|
878
944
|
/**
|
|
879
945
|
* Tilt stabilization state.
|
|
@@ -2593,7 +2659,12 @@ export interface OperatorInfo {
|
|
|
2593
2659
|
/** E-mail address of the operator. */
|
|
2594
2660
|
email: string;
|
|
2595
2661
|
}
|
|
2596
|
-
/**
|
|
2662
|
+
/**
|
|
2663
|
+
* Single-object tracking (SOT) state reported by the computer vision pipeline.
|
|
2664
|
+
*
|
|
2665
|
+
* The velocity fields are Kalman filter estimates expressed in the CV frame
|
|
2666
|
+
* coordinate space (image_width x image_height pixels).
|
|
2667
|
+
*/
|
|
2597
2668
|
export interface SotState {
|
|
2598
2669
|
/** Current tracking state. */
|
|
2599
2670
|
state: SotState_State;
|
|
@@ -2603,6 +2674,16 @@ export interface SotState {
|
|
|
2603
2674
|
imageWidth: number;
|
|
2604
2675
|
/** Height of the source frame in pixels. */
|
|
2605
2676
|
imageHeight: number;
|
|
2677
|
+
/** Tracker confidence of the last model update (0..1). 0 while coasting and when LOST. */
|
|
2678
|
+
confidence: number;
|
|
2679
|
+
/** Kalman velocity estimate of the bounding box centre, horizontal (px/s). */
|
|
2680
|
+
vx: number;
|
|
2681
|
+
/** Kalman velocity estimate of the bounding box centre, vertical (px/s). */
|
|
2682
|
+
vy: number;
|
|
2683
|
+
/** Kalman rate of change of the bounding box area, width * height (px²/s). */
|
|
2684
|
+
vs: number;
|
|
2685
|
+
/** Kalman rate of change of the bounding box aspect ratio, width / height (1/s). */
|
|
2686
|
+
vr: number;
|
|
2606
2687
|
}
|
|
2607
2688
|
/** Current state of the SOT tracker. */
|
|
2608
2689
|
export declare enum SotState_State {
|
|
@@ -2667,6 +2748,10 @@ export declare const StationKeepingState: MessageFns<StationKeepingState>;
|
|
|
2667
2748
|
export declare const WeatherVaningState: MessageFns<WeatherVaningState>;
|
|
2668
2749
|
export declare const AutoPilotSurgeYawState: MessageFns<AutoPilotSurgeYawState>;
|
|
2669
2750
|
export declare const AutoPilotHeaveState: MessageFns<AutoPilotHeaveState>;
|
|
2751
|
+
export declare const SpotlightState: MessageFns<SpotlightState>;
|
|
2752
|
+
export declare const ActiveTrackState: MessageFns<ActiveTrackState>;
|
|
2753
|
+
export declare const OrbitState: MessageFns<OrbitState>;
|
|
2754
|
+
export declare const VisionTrackingState: MessageFns<VisionTrackingState>;
|
|
2670
2755
|
export declare const ControlMode: MessageFns<ControlMode>;
|
|
2671
2756
|
export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
|
|
2672
2757
|
export declare const SystemTime: MessageFns<SystemTime>;
|
package/dist/message_formats.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.LaserDetection = exports.Point2D = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SotState_State = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CvModelInfo_ModelType = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.AnnotationSource = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortCapability = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.RecordingCodec = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PowerSource = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.Annotation = exports.SotState = void 0;
|
|
9
|
+
exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.VisionTrackingState = exports.OrbitState = exports.ActiveTrackState = exports.SpotlightState = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = void 0;
|
|
10
|
+
exports.ObjectDetection = exports.SegmentationMask = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.NvmeInfo = exports.VideoCodecInfo = exports.ThermalZone = exports.MemoryInfo = exports.DlaInfo = exports.GpuInfo = exports.CpuCoreLoad = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.CvModelInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = void 0;
|
|
11
|
+
exports.Annotation = exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ModelDetections = void 0;
|
|
12
12
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
13
13
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
14
14
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -1432,6 +1432,8 @@ var GuestPortDeviceID;
|
|
|
1432
1432
|
* RS232, letting it be used on drones with no RS485, such as the X7.
|
|
1433
1433
|
*/
|
|
1434
1434
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232"] = 49] = "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1435
|
+
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
1436
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100"] = 50] = "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
|
|
1435
1437
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1436
1438
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1437
1439
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1586,6 +1588,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1586
1588
|
case 49:
|
|
1587
1589
|
case "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232":
|
|
1588
1590
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232;
|
|
1591
|
+
case 50:
|
|
1592
|
+
case "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100":
|
|
1593
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100;
|
|
1589
1594
|
case -1:
|
|
1590
1595
|
case "UNRECOGNIZED":
|
|
1591
1596
|
default:
|
|
@@ -1694,6 +1699,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1694
1699
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_SCALING_LASER";
|
|
1695
1700
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232:
|
|
1696
1701
|
return "GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232";
|
|
1702
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100:
|
|
1703
|
+
return "GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100";
|
|
1697
1704
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1698
1705
|
default:
|
|
1699
1706
|
return "UNRECOGNIZED";
|
|
@@ -1866,6 +1873,8 @@ var NavigationSensorID;
|
|
|
1866
1873
|
NavigationSensorID[NavigationSensorID["NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS"] = 5] = "NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS";
|
|
1867
1874
|
/** NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1868
1875
|
NavigationSensorID[NavigationSensorID["NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650"] = 6] = "NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650";
|
|
1876
|
+
/** NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100 - Water Linked DVL A100. */
|
|
1877
|
+
NavigationSensorID[NavigationSensorID["NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100"] = 7] = "NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100";
|
|
1869
1878
|
NavigationSensorID[NavigationSensorID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1870
1879
|
})(NavigationSensorID || (exports.NavigationSensorID = NavigationSensorID = {}));
|
|
1871
1880
|
function navigationSensorIDFromJSON(object) {
|
|
@@ -1891,6 +1900,9 @@ function navigationSensorIDFromJSON(object) {
|
|
|
1891
1900
|
case 6:
|
|
1892
1901
|
case "NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650":
|
|
1893
1902
|
return NavigationSensorID.NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650;
|
|
1903
|
+
case 7:
|
|
1904
|
+
case "NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100":
|
|
1905
|
+
return NavigationSensorID.NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100;
|
|
1894
1906
|
case -1:
|
|
1895
1907
|
case "UNRECOGNIZED":
|
|
1896
1908
|
default:
|
|
@@ -1913,6 +1925,8 @@ function navigationSensorIDToJSON(object) {
|
|
|
1913
1925
|
return "NAVIGATION_SENSOR_ID_NORTEK_DVL_NUCLEUS";
|
|
1914
1926
|
case NavigationSensorID.NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650:
|
|
1915
1927
|
return "NAVIGATION_SENSOR_ID_CERULEAN_TRACKER_650";
|
|
1928
|
+
case NavigationSensorID.NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100:
|
|
1929
|
+
return "NAVIGATION_SENSOR_ID_WATERLINKED_DVL_A100";
|
|
1916
1930
|
case NavigationSensorID.UNRECOGNIZED:
|
|
1917
1931
|
default:
|
|
1918
1932
|
return "UNRECOGNIZED";
|
|
@@ -4309,6 +4323,220 @@ exports.AutoPilotHeaveState = {
|
|
|
4309
4323
|
return message;
|
|
4310
4324
|
},
|
|
4311
4325
|
};
|
|
4326
|
+
function createBaseSpotlightState() {
|
|
4327
|
+
return {};
|
|
4328
|
+
}
|
|
4329
|
+
exports.SpotlightState = {
|
|
4330
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
4331
|
+
return writer;
|
|
4332
|
+
},
|
|
4333
|
+
decode(input, length) {
|
|
4334
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4335
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4336
|
+
const message = createBaseSpotlightState();
|
|
4337
|
+
while (reader.pos < end) {
|
|
4338
|
+
const tag = reader.uint32();
|
|
4339
|
+
switch (tag >>> 3) {
|
|
4340
|
+
}
|
|
4341
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4342
|
+
break;
|
|
4343
|
+
}
|
|
4344
|
+
reader.skip(tag & 7);
|
|
4345
|
+
}
|
|
4346
|
+
return message;
|
|
4347
|
+
},
|
|
4348
|
+
fromJSON(_) {
|
|
4349
|
+
return {};
|
|
4350
|
+
},
|
|
4351
|
+
toJSON(_) {
|
|
4352
|
+
const obj = {};
|
|
4353
|
+
return obj;
|
|
4354
|
+
},
|
|
4355
|
+
create(base) {
|
|
4356
|
+
return exports.SpotlightState.fromPartial(base ?? {});
|
|
4357
|
+
},
|
|
4358
|
+
fromPartial(_) {
|
|
4359
|
+
const message = createBaseSpotlightState();
|
|
4360
|
+
return message;
|
|
4361
|
+
},
|
|
4362
|
+
};
|
|
4363
|
+
function createBaseActiveTrackState() {
|
|
4364
|
+
return {};
|
|
4365
|
+
}
|
|
4366
|
+
exports.ActiveTrackState = {
|
|
4367
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
4368
|
+
return writer;
|
|
4369
|
+
},
|
|
4370
|
+
decode(input, length) {
|
|
4371
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4372
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4373
|
+
const message = createBaseActiveTrackState();
|
|
4374
|
+
while (reader.pos < end) {
|
|
4375
|
+
const tag = reader.uint32();
|
|
4376
|
+
switch (tag >>> 3) {
|
|
4377
|
+
}
|
|
4378
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4379
|
+
break;
|
|
4380
|
+
}
|
|
4381
|
+
reader.skip(tag & 7);
|
|
4382
|
+
}
|
|
4383
|
+
return message;
|
|
4384
|
+
},
|
|
4385
|
+
fromJSON(_) {
|
|
4386
|
+
return {};
|
|
4387
|
+
},
|
|
4388
|
+
toJSON(_) {
|
|
4389
|
+
const obj = {};
|
|
4390
|
+
return obj;
|
|
4391
|
+
},
|
|
4392
|
+
create(base) {
|
|
4393
|
+
return exports.ActiveTrackState.fromPartial(base ?? {});
|
|
4394
|
+
},
|
|
4395
|
+
fromPartial(_) {
|
|
4396
|
+
const message = createBaseActiveTrackState();
|
|
4397
|
+
return message;
|
|
4398
|
+
},
|
|
4399
|
+
};
|
|
4400
|
+
function createBaseOrbitState() {
|
|
4401
|
+
return { rate: 0 };
|
|
4402
|
+
}
|
|
4403
|
+
exports.OrbitState = {
|
|
4404
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4405
|
+
if (message.rate !== 0) {
|
|
4406
|
+
writer.uint32(13).float(message.rate);
|
|
4407
|
+
}
|
|
4408
|
+
return writer;
|
|
4409
|
+
},
|
|
4410
|
+
decode(input, length) {
|
|
4411
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4412
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4413
|
+
const message = createBaseOrbitState();
|
|
4414
|
+
while (reader.pos < end) {
|
|
4415
|
+
const tag = reader.uint32();
|
|
4416
|
+
switch (tag >>> 3) {
|
|
4417
|
+
case 1: {
|
|
4418
|
+
if (tag !== 13) {
|
|
4419
|
+
break;
|
|
4420
|
+
}
|
|
4421
|
+
message.rate = reader.float();
|
|
4422
|
+
continue;
|
|
4423
|
+
}
|
|
4424
|
+
}
|
|
4425
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4426
|
+
break;
|
|
4427
|
+
}
|
|
4428
|
+
reader.skip(tag & 7);
|
|
4429
|
+
}
|
|
4430
|
+
return message;
|
|
4431
|
+
},
|
|
4432
|
+
fromJSON(object) {
|
|
4433
|
+
return { rate: isSet(object.rate) ? gt.Number(object.rate) : 0 };
|
|
4434
|
+
},
|
|
4435
|
+
toJSON(message) {
|
|
4436
|
+
const obj = {};
|
|
4437
|
+
if (message.rate !== 0) {
|
|
4438
|
+
obj.rate = message.rate;
|
|
4439
|
+
}
|
|
4440
|
+
return obj;
|
|
4441
|
+
},
|
|
4442
|
+
create(base) {
|
|
4443
|
+
return exports.OrbitState.fromPartial(base ?? {});
|
|
4444
|
+
},
|
|
4445
|
+
fromPartial(object) {
|
|
4446
|
+
const message = createBaseOrbitState();
|
|
4447
|
+
message.rate = object.rate ?? 0;
|
|
4448
|
+
return message;
|
|
4449
|
+
},
|
|
4450
|
+
};
|
|
4451
|
+
function createBaseVisionTrackingState() {
|
|
4452
|
+
return { spotlight: undefined, activeTrack: undefined, orbit: undefined };
|
|
4453
|
+
}
|
|
4454
|
+
exports.VisionTrackingState = {
|
|
4455
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4456
|
+
if (message.spotlight !== undefined) {
|
|
4457
|
+
exports.SpotlightState.encode(message.spotlight, writer.uint32(10).fork()).join();
|
|
4458
|
+
}
|
|
4459
|
+
if (message.activeTrack !== undefined) {
|
|
4460
|
+
exports.ActiveTrackState.encode(message.activeTrack, writer.uint32(18).fork()).join();
|
|
4461
|
+
}
|
|
4462
|
+
if (message.orbit !== undefined) {
|
|
4463
|
+
exports.OrbitState.encode(message.orbit, writer.uint32(26).fork()).join();
|
|
4464
|
+
}
|
|
4465
|
+
return writer;
|
|
4466
|
+
},
|
|
4467
|
+
decode(input, length) {
|
|
4468
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4469
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4470
|
+
const message = createBaseVisionTrackingState();
|
|
4471
|
+
while (reader.pos < end) {
|
|
4472
|
+
const tag = reader.uint32();
|
|
4473
|
+
switch (tag >>> 3) {
|
|
4474
|
+
case 1: {
|
|
4475
|
+
if (tag !== 10) {
|
|
4476
|
+
break;
|
|
4477
|
+
}
|
|
4478
|
+
message.spotlight = exports.SpotlightState.decode(reader, reader.uint32());
|
|
4479
|
+
continue;
|
|
4480
|
+
}
|
|
4481
|
+
case 2: {
|
|
4482
|
+
if (tag !== 18) {
|
|
4483
|
+
break;
|
|
4484
|
+
}
|
|
4485
|
+
message.activeTrack = exports.ActiveTrackState.decode(reader, reader.uint32());
|
|
4486
|
+
continue;
|
|
4487
|
+
}
|
|
4488
|
+
case 3: {
|
|
4489
|
+
if (tag !== 26) {
|
|
4490
|
+
break;
|
|
4491
|
+
}
|
|
4492
|
+
message.orbit = exports.OrbitState.decode(reader, reader.uint32());
|
|
4493
|
+
continue;
|
|
4494
|
+
}
|
|
4495
|
+
}
|
|
4496
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4497
|
+
break;
|
|
4498
|
+
}
|
|
4499
|
+
reader.skip(tag & 7);
|
|
4500
|
+
}
|
|
4501
|
+
return message;
|
|
4502
|
+
},
|
|
4503
|
+
fromJSON(object) {
|
|
4504
|
+
return {
|
|
4505
|
+
spotlight: isSet(object.spotlight) ? exports.SpotlightState.fromJSON(object.spotlight) : undefined,
|
|
4506
|
+
activeTrack: isSet(object.activeTrack) ? exports.ActiveTrackState.fromJSON(object.activeTrack) : undefined,
|
|
4507
|
+
orbit: isSet(object.orbit) ? exports.OrbitState.fromJSON(object.orbit) : undefined,
|
|
4508
|
+
};
|
|
4509
|
+
},
|
|
4510
|
+
toJSON(message) {
|
|
4511
|
+
const obj = {};
|
|
4512
|
+
if (message.spotlight !== undefined) {
|
|
4513
|
+
obj.spotlight = exports.SpotlightState.toJSON(message.spotlight);
|
|
4514
|
+
}
|
|
4515
|
+
if (message.activeTrack !== undefined) {
|
|
4516
|
+
obj.activeTrack = exports.ActiveTrackState.toJSON(message.activeTrack);
|
|
4517
|
+
}
|
|
4518
|
+
if (message.orbit !== undefined) {
|
|
4519
|
+
obj.orbit = exports.OrbitState.toJSON(message.orbit);
|
|
4520
|
+
}
|
|
4521
|
+
return obj;
|
|
4522
|
+
},
|
|
4523
|
+
create(base) {
|
|
4524
|
+
return exports.VisionTrackingState.fromPartial(base ?? {});
|
|
4525
|
+
},
|
|
4526
|
+
fromPartial(object) {
|
|
4527
|
+
const message = createBaseVisionTrackingState();
|
|
4528
|
+
message.spotlight = (object.spotlight !== undefined && object.spotlight !== null)
|
|
4529
|
+
? exports.SpotlightState.fromPartial(object.spotlight)
|
|
4530
|
+
: undefined;
|
|
4531
|
+
message.activeTrack = (object.activeTrack !== undefined && object.activeTrack !== null)
|
|
4532
|
+
? exports.ActiveTrackState.fromPartial(object.activeTrack)
|
|
4533
|
+
: undefined;
|
|
4534
|
+
message.orbit = (object.orbit !== undefined && object.orbit !== null)
|
|
4535
|
+
? exports.OrbitState.fromPartial(object.orbit)
|
|
4536
|
+
: undefined;
|
|
4537
|
+
return message;
|
|
4538
|
+
},
|
|
4539
|
+
};
|
|
4312
4540
|
function createBaseControlMode() {
|
|
4313
4541
|
return {
|
|
4314
4542
|
autoDepth: false,
|
|
@@ -4318,6 +4546,7 @@ function createBaseControlMode() {
|
|
|
4318
4546
|
weatherVaning: false,
|
|
4319
4547
|
autoPilotSurgeYaw: false,
|
|
4320
4548
|
autoPilotHeave: false,
|
|
4549
|
+
visionTracking: undefined,
|
|
4321
4550
|
};
|
|
4322
4551
|
}
|
|
4323
4552
|
exports.ControlMode = {
|
|
@@ -4343,6 +4572,9 @@ exports.ControlMode = {
|
|
|
4343
4572
|
if (message.autoPilotHeave !== false) {
|
|
4344
4573
|
writer.uint32(56).bool(message.autoPilotHeave);
|
|
4345
4574
|
}
|
|
4575
|
+
if (message.visionTracking !== undefined) {
|
|
4576
|
+
exports.VisionTrackingState.encode(message.visionTracking, writer.uint32(66).fork()).join();
|
|
4577
|
+
}
|
|
4346
4578
|
return writer;
|
|
4347
4579
|
},
|
|
4348
4580
|
decode(input, length) {
|
|
@@ -4401,6 +4633,13 @@ exports.ControlMode = {
|
|
|
4401
4633
|
message.autoPilotHeave = reader.bool();
|
|
4402
4634
|
continue;
|
|
4403
4635
|
}
|
|
4636
|
+
case 8: {
|
|
4637
|
+
if (tag !== 66) {
|
|
4638
|
+
break;
|
|
4639
|
+
}
|
|
4640
|
+
message.visionTracking = exports.VisionTrackingState.decode(reader, reader.uint32());
|
|
4641
|
+
continue;
|
|
4642
|
+
}
|
|
4404
4643
|
}
|
|
4405
4644
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4406
4645
|
break;
|
|
@@ -4418,6 +4657,7 @@ exports.ControlMode = {
|
|
|
4418
4657
|
weatherVaning: isSet(object.weatherVaning) ? gt.Boolean(object.weatherVaning) : false,
|
|
4419
4658
|
autoPilotSurgeYaw: isSet(object.autoPilotSurgeYaw) ? gt.Boolean(object.autoPilotSurgeYaw) : false,
|
|
4420
4659
|
autoPilotHeave: isSet(object.autoPilotHeave) ? gt.Boolean(object.autoPilotHeave) : false,
|
|
4660
|
+
visionTracking: isSet(object.visionTracking) ? exports.VisionTrackingState.fromJSON(object.visionTracking) : undefined,
|
|
4421
4661
|
};
|
|
4422
4662
|
},
|
|
4423
4663
|
toJSON(message) {
|
|
@@ -4443,6 +4683,9 @@ exports.ControlMode = {
|
|
|
4443
4683
|
if (message.autoPilotHeave !== false) {
|
|
4444
4684
|
obj.autoPilotHeave = message.autoPilotHeave;
|
|
4445
4685
|
}
|
|
4686
|
+
if (message.visionTracking !== undefined) {
|
|
4687
|
+
obj.visionTracking = exports.VisionTrackingState.toJSON(message.visionTracking);
|
|
4688
|
+
}
|
|
4446
4689
|
return obj;
|
|
4447
4690
|
},
|
|
4448
4691
|
create(base) {
|
|
@@ -4457,6 +4700,9 @@ exports.ControlMode = {
|
|
|
4457
4700
|
message.weatherVaning = object.weatherVaning ?? false;
|
|
4458
4701
|
message.autoPilotSurgeYaw = object.autoPilotSurgeYaw ?? false;
|
|
4459
4702
|
message.autoPilotHeave = object.autoPilotHeave ?? false;
|
|
4703
|
+
message.visionTracking = (object.visionTracking !== undefined && object.visionTracking !== null)
|
|
4704
|
+
? exports.VisionTrackingState.fromPartial(object.visionTracking)
|
|
4705
|
+
: undefined;
|
|
4460
4706
|
return message;
|
|
4461
4707
|
},
|
|
4462
4708
|
};
|
|
@@ -17467,7 +17713,7 @@ exports.OperatorInfo = {
|
|
|
17467
17713
|
},
|
|
17468
17714
|
};
|
|
17469
17715
|
function createBaseSotState() {
|
|
17470
|
-
return { state: 0, boundingBox: undefined, imageWidth: 0, imageHeight: 0 };
|
|
17716
|
+
return { state: 0, boundingBox: undefined, imageWidth: 0, imageHeight: 0, confidence: 0, vx: 0, vy: 0, vs: 0, vr: 0 };
|
|
17471
17717
|
}
|
|
17472
17718
|
exports.SotState = {
|
|
17473
17719
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -17483,6 +17729,21 @@ exports.SotState = {
|
|
|
17483
17729
|
if (message.imageHeight !== 0) {
|
|
17484
17730
|
writer.uint32(32).uint32(message.imageHeight);
|
|
17485
17731
|
}
|
|
17732
|
+
if (message.confidence !== 0) {
|
|
17733
|
+
writer.uint32(45).float(message.confidence);
|
|
17734
|
+
}
|
|
17735
|
+
if (message.vx !== 0) {
|
|
17736
|
+
writer.uint32(53).float(message.vx);
|
|
17737
|
+
}
|
|
17738
|
+
if (message.vy !== 0) {
|
|
17739
|
+
writer.uint32(61).float(message.vy);
|
|
17740
|
+
}
|
|
17741
|
+
if (message.vs !== 0) {
|
|
17742
|
+
writer.uint32(69).float(message.vs);
|
|
17743
|
+
}
|
|
17744
|
+
if (message.vr !== 0) {
|
|
17745
|
+
writer.uint32(77).float(message.vr);
|
|
17746
|
+
}
|
|
17486
17747
|
return writer;
|
|
17487
17748
|
},
|
|
17488
17749
|
decode(input, length) {
|
|
@@ -17520,6 +17781,41 @@ exports.SotState = {
|
|
|
17520
17781
|
message.imageHeight = reader.uint32();
|
|
17521
17782
|
continue;
|
|
17522
17783
|
}
|
|
17784
|
+
case 5: {
|
|
17785
|
+
if (tag !== 45) {
|
|
17786
|
+
break;
|
|
17787
|
+
}
|
|
17788
|
+
message.confidence = reader.float();
|
|
17789
|
+
continue;
|
|
17790
|
+
}
|
|
17791
|
+
case 6: {
|
|
17792
|
+
if (tag !== 53) {
|
|
17793
|
+
break;
|
|
17794
|
+
}
|
|
17795
|
+
message.vx = reader.float();
|
|
17796
|
+
continue;
|
|
17797
|
+
}
|
|
17798
|
+
case 7: {
|
|
17799
|
+
if (tag !== 61) {
|
|
17800
|
+
break;
|
|
17801
|
+
}
|
|
17802
|
+
message.vy = reader.float();
|
|
17803
|
+
continue;
|
|
17804
|
+
}
|
|
17805
|
+
case 8: {
|
|
17806
|
+
if (tag !== 69) {
|
|
17807
|
+
break;
|
|
17808
|
+
}
|
|
17809
|
+
message.vs = reader.float();
|
|
17810
|
+
continue;
|
|
17811
|
+
}
|
|
17812
|
+
case 9: {
|
|
17813
|
+
if (tag !== 77) {
|
|
17814
|
+
break;
|
|
17815
|
+
}
|
|
17816
|
+
message.vr = reader.float();
|
|
17817
|
+
continue;
|
|
17818
|
+
}
|
|
17523
17819
|
}
|
|
17524
17820
|
if ((tag & 7) === 4 || tag === 0) {
|
|
17525
17821
|
break;
|
|
@@ -17534,6 +17830,11 @@ exports.SotState = {
|
|
|
17534
17830
|
boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
|
|
17535
17831
|
imageWidth: isSet(object.imageWidth) ? gt.Number(object.imageWidth) : 0,
|
|
17536
17832
|
imageHeight: isSet(object.imageHeight) ? gt.Number(object.imageHeight) : 0,
|
|
17833
|
+
confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
|
|
17834
|
+
vx: isSet(object.vx) ? gt.Number(object.vx) : 0,
|
|
17835
|
+
vy: isSet(object.vy) ? gt.Number(object.vy) : 0,
|
|
17836
|
+
vs: isSet(object.vs) ? gt.Number(object.vs) : 0,
|
|
17837
|
+
vr: isSet(object.vr) ? gt.Number(object.vr) : 0,
|
|
17537
17838
|
};
|
|
17538
17839
|
},
|
|
17539
17840
|
toJSON(message) {
|
|
@@ -17550,6 +17851,21 @@ exports.SotState = {
|
|
|
17550
17851
|
if (message.imageHeight !== 0) {
|
|
17551
17852
|
obj.imageHeight = Math.round(message.imageHeight);
|
|
17552
17853
|
}
|
|
17854
|
+
if (message.confidence !== 0) {
|
|
17855
|
+
obj.confidence = message.confidence;
|
|
17856
|
+
}
|
|
17857
|
+
if (message.vx !== 0) {
|
|
17858
|
+
obj.vx = message.vx;
|
|
17859
|
+
}
|
|
17860
|
+
if (message.vy !== 0) {
|
|
17861
|
+
obj.vy = message.vy;
|
|
17862
|
+
}
|
|
17863
|
+
if (message.vs !== 0) {
|
|
17864
|
+
obj.vs = message.vs;
|
|
17865
|
+
}
|
|
17866
|
+
if (message.vr !== 0) {
|
|
17867
|
+
obj.vr = message.vr;
|
|
17868
|
+
}
|
|
17553
17869
|
return obj;
|
|
17554
17870
|
},
|
|
17555
17871
|
create(base) {
|
|
@@ -17563,6 +17879,11 @@ exports.SotState = {
|
|
|
17563
17879
|
: undefined;
|
|
17564
17880
|
message.imageWidth = object.imageWidth ?? 0;
|
|
17565
17881
|
message.imageHeight = object.imageHeight ?? 0;
|
|
17882
|
+
message.confidence = object.confidence ?? 0;
|
|
17883
|
+
message.vx = object.vx ?? 0;
|
|
17884
|
+
message.vy = object.vy ?? 0;
|
|
17885
|
+
message.vs = object.vs ?? 0;
|
|
17886
|
+
message.vr = object.vr ?? 0;
|
|
17566
17887
|
return message;
|
|
17567
17888
|
},
|
|
17568
17889
|
};
|