mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 15:13:26 +00:00
Revert "animation_lib: delete unnecessary condition"
This reverts commit c9960fdbdc.
This commit is contained in:
committed by
Artem30801
parent
09427f32bb
commit
2e13d05b06
@@ -85,7 +85,11 @@ def convert_frame(frame):
|
||||
|
||||
|
||||
def execute_frame(point=(), color=(), yaw=float('Nan'), frame_id='aruco_map', use_leds=True,
|
||||
flight_func=FlightLib.navto, flight_kwargs={}, interrupter=interrupt_event):
|
||||
flight_func=FlightLib.navto, flight_kwargs=None, interrupter=interrupt_event):
|
||||
|
||||
if flight_kwargs is None:
|
||||
flight_kwargs = {}
|
||||
|
||||
flight_func(*point, yaw=yaw, frame_id=frame_id, interrupter=interrupt_event, **flight_kwargs)
|
||||
if use_leds:
|
||||
if color:
|
||||
|
||||
Reference in New Issue
Block a user