From 8cb911854dda30883af98fb2f14c6c25037166c3 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Thu, 12 Aug 2021 21:09:43 +0300 Subject: [PATCH] Minor changes to examples --- clover/examples/flight.py | 8 ++++---- clover/examples/flight_marker.py | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/clover/examples/flight.py b/clover/examples/flight.py index 0f0d0510..1b4118d6 100644 --- a/clover/examples/flight.py +++ b/clover/examples/flight.py @@ -18,14 +18,14 @@ land = rospy.ServiceProxy('land', Trigger) # Take off and hover 1 m above the ground navigate(x=0, y=0, z=1, frame_id='body', auto_arm=True) -# Wait for 3 seconds -rospy.sleep(3) +# Wait for 5 seconds +rospy.sleep(5) # Fly forward 1 m navigate(x=1, y=0, z=0, frame_id='body') -# Wait for 3 seconds -rospy.sleep(3) +# Wait for 5 seconds +rospy.sleep(5) # Perform landing land() diff --git a/clover/examples/flight_marker.py b/clover/examples/flight_marker.py index 51ac78a4..a71e2c1c 100644 --- a/clover/examples/flight_marker.py +++ b/clover/examples/flight_marker.py @@ -18,20 +18,20 @@ land = rospy.ServiceProxy('land', Trigger) # Take off and hover 1 m above the ground navigate(x=0, y=0, z=1, frame_id='body', auto_arm=True) -# Wait for 3 seconds -rospy.sleep(3) +# Wait for 5 seconds +rospy.sleep(5) # Fly 1 meter above ArUco marker 0 navigate(x=0, y=0, z=1, frame_id='aruco_0') -# Wait for 3 seconds -rospy.sleep(3) +# Wait for 5 seconds +rospy.sleep(5) # Fly to x=1 y=1 z=1 relative to ArUco markers map navigate(x=1, y=1, z=1, frame_id='aruco_map') -# Wait for 3 seconds -rospy.sleep(3) +# Wait for 5 seconds +rospy.sleep(5) # Perform landing land()