ZJU-FAST-Lab / GCOPTER

A General-Purpose Trajectory Optimizer for Multicopters
MIT License
792 stars 156 forks source link

The trajectory planner doesn't work properly? #10

Closed GChasing closed 2 years ago

GChasing commented 2 years ago

The quadrotor is required to fly through the windows, but based on the gcopter planning, it bypass the wall to the endpoint. Thus, what's wrong the the trajectory planner? how to get the desired path?

The video can be found here

Wish your reply and thank you very much!

ZhepeiWang commented 2 years ago

This is exactly how the code in the repo works. If you need large tilt angle to cross narrow gaps, see the corresponding proj https://github.com/ZJU-FAST-Lab/Fast-Racing

GChasing commented 2 years ago

@ZhepeiWang Thanks a lot. I found some associted code about gcopter at https://github.com/ZJU-FAST-Lab/Fast-Racing/blob/a1d086ccb6deb2993d71a5afda13fffa66567363/src/plan_manage/src/MinCoPlan_CPU.cpp#L117 - https://github.com/ZJU-FAST-Lab/Fast-Racing/blob/a1d086ccb6deb2993d71a5afda13fffa66567363/src/plan_manage/src/MinCoPlan_CPU.cpp#L124.

It is a huge project, which may be unfriendly to the newer. Could you share some ideas about how to show the large tilt angle to crosse narrow gaps, and how to insert the waypoints in the #9 (Adding the waypoints)?

Thanks again, and wish your reply!