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 Jan 17, 2024
1 parent dd6c3a7 commit 5584852
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ProtocolDefinitions
4 changes: 2 additions & 2 deletions blueye/protocol/protos.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
from .types.mission_planning import PathSegment
from .types.mission_planning import ReferenceAutoPilot
from .types.mission_planning import TiltMainCameraCommand
from .types.mission_planning import TiltServoCommand
from .types.mission_planning import TiltMultibeamCommand
from .types.mission_planning import WaitForCommand
from .types.mission_planning import Waypoint
from .types.mission_planning import WaypointCommand
Expand Down Expand Up @@ -472,7 +472,7 @@
'TiltAngle',
'TiltAngleTel',
'TiltMainCameraCommand',
'TiltServoCommand',
'TiltMultibeamCommand',
'TiltStabilizationCtrl',
'TiltStabilizationState',
'TiltStabilizationTel',
Expand Down
4 changes: 2 additions & 2 deletions blueye/protocol/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
WaypointCommand,
DepthSetPointCommand,
TiltMainCameraCommand,
TiltServoCommand,
TiltMultibeamCommand,
WaitForCommand,
CameraCommand,
GoToSurfaceCommand,
Expand Down Expand Up @@ -360,7 +360,7 @@
'WaypointCommand',
'DepthSetPointCommand',
'TiltMainCameraCommand',
'TiltServoCommand',
'TiltMultibeamCommand',
'WaitForCommand',
'CameraCommand',
'GoToSurfaceCommand',
Expand Down
14 changes: 7 additions & 7 deletions blueye/protocol/types/mission_planning.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'WaypointCommand',
'DepthSetPointCommand',
'TiltMainCameraCommand',
'TiltServoCommand',
'TiltMultibeamCommand',
'WaitForCommand',
'CameraCommand',
'GoToSurfaceCommand',
Expand Down Expand Up @@ -174,8 +174,8 @@ class Instruction(proto.Message):
Set control modes
tilt_main_camera_command (blueye.protocol.types.TiltMainCameraCommand):
Set camera to angle x
tilt_servo_command (blueye.protocol.types.TiltServoCommand):
Set tilt angle
tilt_multibeam_command (blueye.protocol.types.TiltMultibeamCommand):
Set multibeam tilt angle
wait_for_command (blueye.protocol.types.WaitForCommand):
Wait for x seconds
go_to_surface_command (blueye.protocol.types.GoToSurfaceCommand):
Expand Down Expand Up @@ -212,8 +212,8 @@ class Instruction(proto.Message):
message='TiltMainCameraCommand',
)

tilt_servo_command = proto.Field(proto.MESSAGE, number=9, oneof='command',
message='TiltServoCommand',
tilt_multibeam_command = proto.Field(proto.MESSAGE, number=9, oneof='command',
message='TiltMultibeamCommand',
)

wait_for_command = proto.Field(proto.MESSAGE, number=10, oneof='command',
Expand Down Expand Up @@ -348,8 +348,8 @@ class TiltMainCameraCommand(proto.Message):
)


class TiltServoCommand(proto.Message):
r"""The TiltServoCommand is used to set the tilt angle of the
class TiltMultibeamCommand(proto.Message):
r"""The TiltMultibeamCommand is used to set the tilt angle of the
servo.
Attributes:
Expand Down

0 comments on commit 5584852

Please sign in to comment.