Skip to content

Commit

Permalink
add quadcopter control
Browse files Browse the repository at this point in the history
  • Loading branch information
sldai committed Dec 16, 2021
1 parent bb577b3 commit 04c96ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Planning/fast_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ def calcAcc(x, t):
ctrl_pts_opt = opt.BsplineOptimizeTraj(ctrl_pts, ts, opt.SMOOTHNESS|opt.DISTANCE|opt.FEASIBILITY, 500, 500)
bspline_opt = NonUniformBspline(ctrl_pts_opt, 3, ts)

# comment below to reallocate time to ensure feasibility
# uncomment below to reallocate time to ensure feasibility
# bspline_opt.setPhysicalLimits(3,2)
# while True:
# if bspline_opt.reallocateTime():
Expand Down

0 comments on commit 04c96ea

Please sign in to comment.