Skip to content

Commit

Permalink
make drone fly lower
Browse files Browse the repository at this point in the history
  • Loading branch information
julienthevenoz committed Nov 24, 2023
1 parent b1aae2b commit f79e6f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crazyflie_examples/crazyflie_examples/figure8.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ def main():
for cf in allcfs.crazyflies:
cf.uploadTrajectory(0, 0, traj1)

allcfs.takeoff(targetHeight=1.0, duration=2.0)
allcfs.takeoff(targetHeight=0.4, duration=2.0)
timeHelper.sleep(2.5)
for cf in allcfs.crazyflies:
pos = np.array(cf.initialPosition) + np.array([0, 0, 1.0])
pos = np.array(cf.initialPosition) + np.array([0, 0, 0.4])
cf.goTo(pos, 0, 2.0)
timeHelper.sleep(2.5)

Expand Down

0 comments on commit f79e6f8

Please sign in to comment.