Control
control
Classes:
-
ActivateGuestPortsCtrl–Activated the guest port power.
-
ActivateMultibeamCtrl–Activate the multibeam with specified configuration.
-
AnnotationCtrl–Request to add an annotation to the current dive.
-
AutoAltitudeCtrl–Issue a command to set auto altitude to a desired state.
-
AutoDepthCtrl–Issue a command to set auto depth to a desired state.
-
AutoHeadingCtrl–Issue a command to set auto heading to a desired state.
-
AutoPilotHeaveCtrl–Issue a command to set Auto Pilot for vertiacl movement to a
-
AutoPilotSurgeYawCtrl–Issue a command to set Auto Pilot for cruising and turning to
-
CalibrateDvlGyroCtrl–Issue a command to calibrate the DVL gyro.
-
CameraPanTiltZoomCtrl–Issue a command to set the digital pan, tilt, and zoom of the
-
CancelCalibrationCtrl–Issue a command to cancel compass calibration.
-
ClearMissionCtrl–Clear the loaded mission.
-
ClearSotTargetCtrl–Issue a command to clear the single-object tracking (SOT)
-
DeactivateGuestPortsCtrl–Deactivate the guest port power.
-
DeactivateMultibeamCtrl–Deactivate the multibeam.
-
EndDiveCtrl–Message sent when the user hits the end dive button in the
-
FinishCalibrationCtrl–Issue a command to finish compass calibration.
-
FormatRemovableStorageDeviceCtrl–Message sent when the user wants to format a connected
-
GenericServoCtrl–Issue a command to set a generic servo value.
-
GripperCtrl–Issue a command to control the gripper.
-
GuestportLightsCtrl–Issue a command to set the guest port light intensity.
-
LaserCtrl–Issue a command to set the laser intensity.
-
LightsCtrl–Issue a command to set the main light intensity.
-
MotionInputCtrl–Issue a command to move the drone in the surge, sway, heave,
-
MultibeamServoCtrl–Issue a command to set multibeam servo angle.
-
PauseMissionCtrl–Issue a command to pause the loaded mission.
-
PilotGPSPositionCtrl–Issue a command with the GPS position of the pilot.
-
PingerConfigurationCtrl–Issue a command to set the pinger configuration.
-
RecordCtrl–Issue a command to start video or multibeam recording.
-
RescanCvModelsCtrl–Issue a command to rescan the computer vision model packages
-
ResetOdometerCtrl–Issue a command to reset the odometer.
-
ResetPositionCtrl–Issue a command to reset the position estimate.
-
RestartGuestPortsCtrl–Restart the guest ports by turning power on and off.
-
RunMissionCtrl–Issue a command to start and pause the loaded mission.
-
SetAquaTrollConnectionStatusCtrl–Request to change the In-Situ Aqua Troll connection status.
-
SetAquaTrollParameterUnitCtrl–Request to set an In-Situ Aqua Troll parameter unit.
-
SetColorCorrectionCtrl–Message sent when the user wants to set color correction
-
SetMarineSnowFilterCtrl–Message sent when the user wants to set marine snow filter
-
SetMultibeamConfigCtrl–Update the multibeam settings.
-
SetSotTargetCtrl–Issue a command to set the single-object tracking (SOT)
-
SetTurbidityFilterCtrl–Message sent when the user wants to set turbidity filter
-
StartCalibrationCtrl–Issue a command to start compass calibration.
-
StartDiveCtrl–Message sent when the user hits the start dive button in the
-
StartLogStreamingCtrl–Message sent to start streaming log entries to the client.
-
StationKeepingCtrl–Issue a command to set station keeping to a desired state.
-
StopLogStreamingCtrl–Message sent to stop streaming log entries to the client.
-
SystemTimeCtrl–Issue a command to set the system time on the drone.
-
TakePictureCtrl–Issue a command to take a picture.
-
TiltStabilizationCtrl–Issue a command to enable or disable tilt stabilization.
-
TiltVelocityCtrl–Issue a command to tilt the drone camera.
-
VisionTrackingCtrl–Issue a command to set the vision-based tracking mode.
-
WatchdogCtrl–Issue a watchdog message to indicate that the remote client
-
WaterDensityCtrl–Issue a command to set the water density.
-
WeatherVaningCtrl–Issue a command to set station keeping with weather vaning to
ActivateGuestPortsCtrl
Activated the guest port power.
ActivateMultibeamCtrl
Activate the multibeam with specified configuration.
Attributes:
-
config(MultibeamConfig) –Message with the multibeam ping configuration to set on connect.
AnnotationCtrl
Request to add an annotation to the current dive.
Sent by the app when a diver picks a type from the in-dive command palette. The drone stamps the authoritative time, publishes the result as an AnnotationTel to every connected client, and writes it to the dive logfile, so all clients converge on the same set. Fire-and-forget, like LightsCtrl.
Attributes:
-
annotation(Annotation) –The annotation to record. The drone owns the timestamp, not this message.
AutoAltitudeCtrl
Issue a command to set auto altitude to a desired state.
Attributes:
-
state(AutoAltitudeState) –State of the altitude controller.
AutoDepthCtrl
Issue a command to set auto depth to a desired state.
Attributes:
-
state(AutoDepthState) –State of the depth controller.
AutoHeadingCtrl
Issue a command to set auto heading to a desired state.
Attributes:
-
state(AutoHeadingState) –State of the heading controller.
AutoPilotHeaveCtrl
Issue a command to set Auto Pilot for vertiacl movement to a desired state.
Attributes:
-
state(AutoPilotHeaveState) –State of the auto pilot heave controller-
AutoPilotSurgeYawCtrl
Issue a command to set Auto Pilot for cruising and turning to a desired state.
Attributes:
-
state(AutoPilotSurgeYawState) –State of the auto pilot surge yaw controller.
CalibrateDvlGyroCtrl
Issue a command to calibrate the DVL gyro.
CameraPanTiltZoomCtrl
Issue a command to set the digital pan, tilt, and zoom of the main camera. Only supported on X3 Ultra.
Attributes:
-
camera_pan_tilt_zoom(CameraPanTiltZoom) –The desired pan, tilt, and zoom state.
CancelCalibrationCtrl
Issue a command to cancel compass calibration.
ClearMissionCtrl
Clear the loaded mission.
ClearSotTargetCtrl
Issue a command to clear the single-object tracking (SOT) target (stop tracking).
DeactivateGuestPortsCtrl
Deactivate the guest port power.
DeactivateMultibeamCtrl
Deactivate the multibeam.
EndDiveCtrl
Message sent when the user hits the end dive button in the app. The message does not do anything, but is included in the log files so we can see at which point the user exited the dive view.
FinishCalibrationCtrl
Issue a command to finish compass calibration.
FormatRemovableStorageDeviceCtrl
Message sent when the user wants to format a connected removable storage device. The app will receive a RemovableStorageTel message with information about the newly formatted drive.
Warning: The drone will delete any partitions and format the drive with a single exFat partition. Any data on the drive will be lost.
GenericServoCtrl
Issue a command to set a generic servo value.
Attributes:
-
servo(GenericServo) –Message with the desired servo value.
GripperCtrl
Issue a command to control the gripper.
On a manipulator arm the command can also move the arm. Each command stands until the next one: the arm stops on a command without arm input, or when the client watchdog (WatchdogCtrl) lapses.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes:
-
gripper_velocities(GripperVelocities) –The desired gripping and rotation velocity.
-
cartesian(CartesianManipulatorInput) –In the drone body frame.
This field is a member of
oneof_arm_input. -
cylindrical(CylindricalManipulatorInput) –About the axis of the arm's base joint.
This field is a member of
oneof_arm_input. -
known_pose(KnownPoseManipulatorInput) –Towards a named pose, such as stowed or deployed.
This field is a member of
oneof_arm_input. -
speed_modifier(float) –Speed of the arm input relative to the drone default (-1.0..1.0): negative is slower, positive is faster, and 0 is the default speed. Scales arm_input only, not gripper_velocities.
GuestportLightsCtrl
Issue a command to set the guest port light intensity.
Attributes:
-
lights(Lights) –Message with the desired light intensity.
LaserCtrl
Issue a command to set the laser intensity.
Attributes:
-
laser(Laser) –Message with the desired laser intensity.
LightsCtrl
Issue a command to set the main light intensity.
Attributes:
-
lights(Lights) –Message with the desired light intensity.
MotionInputCtrl
Issue a command to move the drone in the surge, sway, heave, or yaw direction.
Attributes:
-
motion_input(MotionInput) –Message with the desired movement in each direction.
MultibeamServoCtrl
Issue a command to set multibeam servo angle.
Attributes:
-
servo(MultibeamServo) –Message with the desired servo angle.
PauseMissionCtrl
Issue a command to pause the loaded mission.
PilotGPSPositionCtrl
Issue a command with the GPS position of the pilot.
Attributes:
-
position(LatLongPosition) –The GPS position of the pilot.
PingerConfigurationCtrl
Issue a command to set the pinger configuration.
Attributes:
-
configuration(PingerConfiguration) –Message with the pinger configuration to set.
RecordCtrl
Issue a command to start video or multibeam recording.
Attributes:
-
record_on(RecordOn) –Message specifying which cameras to record.
-
storage_location(StorageLocation) –Storage location to use for the recordings.
RescanCvModelsCtrl
Issue a command to rescan the computer vision model packages installed on the drone. The drone rediscovers model packages on disk and publishes an updated model list. Use after installing or removing a model package without rebooting.
ResetOdometerCtrl
Issue a command to reset the odometer.
ResetPositionCtrl
Issue a command to reset the position estimate.
Attributes:
-
settings(ResetPositionSettings) –Reset settings.
RestartGuestPortsCtrl
Restart the guest ports by turning power on and off.
Attributes:
-
restart_info(GuestPortRestartInfo) –Message with information about how long to keep the guest ports off.
RunMissionCtrl
Issue a command to start and pause the loaded mission.
SetAquaTrollConnectionStatusCtrl
Request to change the In-Situ Aqua Troll connection status.
Attributes:
-
connection_status(SetAquaTrollConnectionStatus) –Message with information about which parameter to set and the unit to set it to.
SetAquaTrollParameterUnitCtrl
Request to set an In-Situ Aqua Troll parameter unit.
Attributes:
-
parameter_info(SetAquaTrollParameterUnit) –Message with information about which parameter to set and the unit to set it to.
SetColorCorrectionCtrl
Message sent when the user wants to set color correction settings. Applies depth- and scene-driven underwater color correction, restoring the red/blue balance lost with depth. The intensity field scales the correction (0.0 = off/identity, 1.0 = full). Only supported on X3 Ultra.
Attributes:
-
color_correction_filter(FilterMessage) –Message with the color correction settings to set.
SetMarineSnowFilterCtrl
Message sent when the user wants to set marine snow filter settings. Removes bright particles, such as marine snow, from the video. The intensity field sets how faint a particle can be and still be removed (0.0 = only the brightest, 1.0 = faint particles as well). Turn it off during laser detection. Only supported on X3 Ultra.
Attributes:
-
marine_snow_filter(FilterMessage) –Message with the marine snow filter settings to set.
-
frames(MarineSnowFilterFrames) –Frames to compare with. Leave it unset to keep the current frames.
SetMultibeamConfigCtrl
Update the multibeam settings.
Attributes:
-
config(MultibeamConfig) –Message with the multibeam ping configuration to set.
SetSotTargetCtrl
Issue a command to set the single-object tracking (SOT) target. Send a bounding box to start tracking a new target. The CV pipeline will initialize the SOT tracker on the specified region of the video frame.
Attributes:
-
bounding_box(BoundingBox) –Target bounding box.
-
image_width(int) –Width of the frame the bounding box was drawn on.
-
image_height(int) –Height of the frame the bounding box was drawn on.
SetTurbidityFilterCtrl
Message sent when the user wants to set turbidity filter settings. Uses CLAHE to enhance the contrast of the video, which can make it easier to see details in turbid water. Only supported on X3 Ultra.
Attributes:
-
turbidity_filter(FilterMessage) –Message with the turbidity filter settings to set.
StartCalibrationCtrl
Issue a command to start compass calibration.
StartDiveCtrl
Message sent when the user hits the start dive button in the app. The message does not do anything, but is included in the log files so we can see at which point the user entered the dive view.
Attributes:
-
operator_info(OperatorInfo) –Optional information about the operator who started the dive.
StartLogStreamingCtrl
Message sent to start streaming log entries to the client.
StationKeepingCtrl
Issue a command to set station keeping to a desired state.
Attributes:
-
state(StationKeepingState) –State of the station keeping controller.
StopLogStreamingCtrl
Message sent to stop streaming log entries to the client.
SystemTimeCtrl
Issue a command to set the system time on the drone.
Attributes:
-
system_time(SystemTime) –Message with the system time to set.
TakePictureCtrl
Issue a command to take a picture.
Attributes:
-
storage_location(StorageLocation) –Storage location to use for the picture.
TiltStabilizationCtrl
Issue a command to enable or disable tilt stabilization.
Attributes:
-
state(TiltStabilizationState) –Message with the tilt stabilization state to set.
TiltVelocityCtrl
Issue a command to tilt the drone camera.
Attributes:
-
velocity(TiltVelocity) –Message with the desired tilt velocity (direction and speed).
VisionTrackingCtrl
Issue a command to set the vision-based tracking mode.
Setting a mode requires an actively tracked single-object-tracking (SOT) target; the drone refuses to enable a mode otherwise. Setting a different mode while one is active switches atomically. Sending a state with no mode set disables vision tracking. An OrbitState with a zero rate is rejected.
Attributes:
-
state(VisionTrackingState) –The desired vision tracking mode, or none to disable.
WatchdogCtrl
Issue a watchdog message to indicate that the remote client is connected and working as expected. If a watchdog message is not received every second, the drone will turn off lights and other auto functions to indicate that connection with the client has been lost.
Attributes:
-
connection_duration(ConnectionDuration) –Message with the number of seconds the client has been connected.
-
client_id(int) –The ID of the client, received in the ConnectClientRep response.
WaterDensityCtrl
Issue a command to set the water density.
Attributes:
-
density(WaterDensity) –Message with the water density to set.
WeatherVaningCtrl
Issue a command to set station keeping with weather vaning to a desired state.
Attributes:
-
state(WeatherVaningState) –State of the weather vaning controller.