Skip to content

Commit

Permalink
Enable HL commander again
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Oct 16, 2023
1 parent 8cd8523 commit d932a46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cflib/positioning/motion_commander.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def land(self, velocity=VELOCITY):
self._thread = None

self._cf.commander.send_stop_setpoint()
# Stop using low level setpoints and hand responsibility over to the high level commander to
# avoid time out when no setpoints are received any more
self._cf.commander.send_notify_setpoint_stop()
self._is_flying = False

def __enter__(self):
Expand Down

0 comments on commit d932a46

Please sign in to comment.