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 Jul 8, 2024
1 parent f04bfc2 commit 01140c8
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ProtocolDefinitions
4 changes: 4 additions & 0 deletions blueye/protocol/protos.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from .types.control import ClearMissionCtrl
from .types.control import DeactivateGuestPortsCtrl
from .types.control import DeactivateMultibeamCtrl
from .types.control import EndDiveCtrl
from .types.control import FinishCalibrationCtrl
from .types.control import GenericServoCtrl
from .types.control import GripperCtrl
Expand All @@ -63,6 +64,7 @@
from .types.control import SetAquaTrollParameterUnitCtrl
from .types.control import SetMultibeamConfigCtrl
from .types.control import StartCalibrationCtrl
from .types.control import StartDiveCtrl
from .types.control import StationKeepingCtrl
from .types.control import SystemTimeCtrl
from .types.control import TakePictureCtrl
Expand Down Expand Up @@ -356,6 +358,7 @@
'DroneInfo',
'DroneInfoTel',
'DroneTimeTel',
'EndDiveCtrl',
'ErrorFlags',
'ErrorFlagsTel',
'FinishCalibrationCtrl',
Expand Down Expand Up @@ -483,6 +486,7 @@
'SetThicknessGaugeParametersRep',
'SetThicknessGaugeParametersReq',
'StartCalibrationCtrl',
'StartDiveCtrl',
'StationKeepingCtrl',
'StationKeepingState',
'StorageSpace',
Expand Down
4 changes: 4 additions & 0 deletions blueye/protocol/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@
SetMultibeamConfigCtrl,
ActivateMultibeamCtrl,
DeactivateMultibeamCtrl,
StartDiveCtrl,
EndDiveCtrl,
)

__all__ = (
Expand Down Expand Up @@ -531,4 +533,6 @@
'SetMultibeamConfigCtrl',
'ActivateMultibeamCtrl',
'DeactivateMultibeamCtrl',
'StartDiveCtrl',
'EndDiveCtrl',
)
20 changes: 20 additions & 0 deletions blueye/protocol/types/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
'SetMultibeamConfigCtrl',
'ActivateMultibeamCtrl',
'DeactivateMultibeamCtrl',
'StartDiveCtrl',
'EndDiveCtrl',
},
)

Expand Down Expand Up @@ -503,4 +505,22 @@ class DeactivateMultibeamCtrl(proto.Message):
r"""Deactivate multibeam"""


class StartDiveCtrl(proto.Message):
r"""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.
"""


class EndDiveCtrl(proto.Message):
r"""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.
"""


__all__ = tuple(sorted(__protobuf__.manifest))

0 comments on commit 01140c8

Please sign in to comment.