Skip to content

Commit

Permalink
Update ProtocolDefinitions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 22, 2024
1 parent d28287f commit 37af386
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 63 deletions.
2 changes: 1 addition & 1 deletion ProtocolDefinitions
2 changes: 2 additions & 0 deletions blueye/protocol/protos.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
from .types.control import AutoHeadingCtrl
from .types.control import AutoPilotHeaveCtrl
from .types.control import AutoPilotSurgeYawCtrl
from .types.control import CalibrateDvlGyroCtrl
from .types.control import CancelCalibrationCtrl
from .types.control import ClearMissionCtrl
from .types.control import DeactivateGuestPortsCtrl
Expand Down Expand Up @@ -295,6 +296,7 @@
'BinlogRecord',
'CPUTemperature',
'CPUTemperatureTel',
'CalibrateDvlGyroCtrl',
'CalibratedImuTel',
'CalibrationState',
'CalibrationStateTel',
Expand Down
126 changes: 64 additions & 62 deletions blueye/protocol/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,38 +145,6 @@
InstructionType,
MissionState,
)
from .req_rep import (
SetOverlayParametersReq,
SetOverlayParametersRep,
GetOverlayParametersReq,
GetOverlayParametersRep,
SetCameraParametersReq,
SetCameraParametersRep,
GetCameraParametersReq,
GetCameraParametersRep,
SyncTimeReq,
SyncTimeRep,
PingReq,
PingRep,
SetThicknessGaugeParametersReq,
SetThicknessGaugeParametersRep,
ConnectClientReq,
ConnectClientRep,
DisconnectClientReq,
DisconnectClientRep,
GetBatteryReq,
GetBatteryRep,
SetMissionReq,
SetMissionRep,
GetMissionReq,
GetMissionRep,
SetInstructionUpdateReq,
SetInstructionUpdateRep,
SetPubFrequencyReq,
SetPubFrequencyRep,
GetTelemetryReq,
GetTelemetryRep,
)
from .telemetry import (
AttitudeTel,
AltitudeTel,
Expand Down Expand Up @@ -229,6 +197,38 @@
Imu2Tel,
MedusaSpectrometerDataTel,
)
from .req_rep import (
SetOverlayParametersReq,
SetOverlayParametersRep,
GetOverlayParametersReq,
GetOverlayParametersRep,
SetCameraParametersReq,
SetCameraParametersRep,
GetCameraParametersReq,
GetCameraParametersRep,
SyncTimeReq,
SyncTimeRep,
PingReq,
PingRep,
SetThicknessGaugeParametersReq,
SetThicknessGaugeParametersRep,
ConnectClientReq,
ConnectClientRep,
DisconnectClientReq,
DisconnectClientRep,
GetBatteryReq,
GetBatteryRep,
SetMissionReq,
SetMissionRep,
GetMissionReq,
GetMissionRep,
SetInstructionUpdateReq,
SetInstructionUpdateRep,
SetPubFrequencyReq,
SetPubFrequencyRep,
GetTelemetryReq,
GetTelemetryRep,
)
from .control import (
MotionInputCtrl,
TiltVelocityCtrl,
Expand All @@ -254,6 +254,7 @@
ClearMissionCtrl,
ResetPositionCtrl,
ResetOdometerCtrl,
CalibrateDvlGyroCtrl,
TiltStabilizationCtrl,
WaterDensityCtrl,
PingerConfigurationCtrl,
Expand Down Expand Up @@ -393,36 +394,6 @@
'CameraAction',
'InstructionType',
'MissionState',
'SetOverlayParametersReq',
'SetOverlayParametersRep',
'GetOverlayParametersReq',
'GetOverlayParametersRep',
'SetCameraParametersReq',
'SetCameraParametersRep',
'GetCameraParametersReq',
'GetCameraParametersRep',
'SyncTimeReq',
'SyncTimeRep',
'PingReq',
'PingRep',
'SetThicknessGaugeParametersReq',
'SetThicknessGaugeParametersRep',
'ConnectClientReq',
'ConnectClientRep',
'DisconnectClientReq',
'DisconnectClientRep',
'GetBatteryReq',
'GetBatteryRep',
'SetMissionReq',
'SetMissionRep',
'GetMissionReq',
'GetMissionRep',
'SetInstructionUpdateReq',
'SetInstructionUpdateRep',
'SetPubFrequencyReq',
'SetPubFrequencyRep',
'GetTelemetryReq',
'GetTelemetryRep',
'AttitudeTel',
'AltitudeTel',
'ForwardDistanceTel',
Expand Down Expand Up @@ -473,6 +444,36 @@
'Imu1Tel',
'Imu2Tel',
'MedusaSpectrometerDataTel',
'SetOverlayParametersReq',
'SetOverlayParametersRep',
'GetOverlayParametersReq',
'GetOverlayParametersRep',
'SetCameraParametersReq',
'SetCameraParametersRep',
'GetCameraParametersReq',
'GetCameraParametersRep',
'SyncTimeReq',
'SyncTimeRep',
'PingReq',
'PingRep',
'SetThicknessGaugeParametersReq',
'SetThicknessGaugeParametersRep',
'ConnectClientReq',
'ConnectClientRep',
'DisconnectClientReq',
'DisconnectClientRep',
'GetBatteryReq',
'GetBatteryRep',
'SetMissionReq',
'SetMissionRep',
'GetMissionReq',
'GetMissionRep',
'SetInstructionUpdateReq',
'SetInstructionUpdateRep',
'SetPubFrequencyReq',
'SetPubFrequencyRep',
'GetTelemetryReq',
'GetTelemetryRep',
'MotionInputCtrl',
'TiltVelocityCtrl',
'LightsCtrl',
Expand All @@ -497,6 +498,7 @@
'ClearMissionCtrl',
'ResetPositionCtrl',
'ResetOdometerCtrl',
'CalibrateDvlGyroCtrl',
'TiltStabilizationCtrl',
'WaterDensityCtrl',
'PingerConfigurationCtrl',
Expand Down
5 changes: 5 additions & 0 deletions blueye/protocol/types/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
'ClearMissionCtrl',
'ResetPositionCtrl',
'ResetOdometerCtrl',
'CalibrateDvlGyroCtrl',
'TiltStabilizationCtrl',
'WaterDensityCtrl',
'PingerConfigurationCtrl',
Expand Down Expand Up @@ -321,6 +322,10 @@ class ResetOdometerCtrl(proto.Message):
r"""Issue a command to reset the odometer."""


class CalibrateDvlGyroCtrl(proto.Message):
r"""Issue a command to calibrate the DVL gyro."""


class TiltStabilizationCtrl(proto.Message):
r"""Issue a command to enable or disable tilt stabilization.
Expand Down

0 comments on commit 37af386

Please sign in to comment.