From 1edae132ba6eeb39aba3d8cbc726b45c89b1ea0d Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Fri, 22 Mar 2019 09:11:25 +0000 Subject: [PATCH] Flightlib2: return empty navigate back --- Drone/FlightLib2/FlightLib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Drone/FlightLib2/FlightLib.py b/Drone/FlightLib2/FlightLib.py index 4137133..af5a8cc 100644 --- a/Drone/FlightLib2/FlightLib.py +++ b/Drone/FlightLib2/FlightLib.py @@ -236,7 +236,8 @@ def takeoff(z=1.0, speed=0.8, frame_id='body', freq=FREQUENCY, module_logger.info("Arming, going to OFFBOARD mode") # Arming check - arming(True) + #arming(True) + navigate(frame_id=frame_id, speed=speed, auto_arm=True) telemetry = get_telemetry(frame_id=frame_id) rate = rospy.Rate(freq) time_start = rospy.get_rostime()