Skip to content

Commit

Permalink
Add control message for laser intensity
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrehan committed Oct 17, 2024
1 parent 80ad30c commit 4c18474
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blueye/sdk/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ def set_gripper_velocities(self, grip: float, rotation: float):
)
self._messages_to_send.put(msg)

def set_laser_intensity(self, intensity: float):
msg = blueye.protocol.LaserCtrl(laser={"value": intensity})
self._messages_to_send.put(msg)


class ReqRepClient(threading.Thread):
def __init__(self, parent_drone: "blueye.sdk.Drone", context: zmq.Context = None):
Expand Down

0 comments on commit 4c18474

Please sign in to comment.