Software
GCOPTER
By ZJU FAST Lab, China (checked on github.com/ZJU-FAST-Lab (opens in a new tab)), from github.com/ZJU-FAST-Lab/GCOPTER (opens in a new tab)
- Drones and boats
- Library
- MIT
A multicopter trajectory optimizer built on the MINCO sparse trajectory representation, supporting nonlinear drag effects and user-defined state-input constraints.
- Stale. No commit in 12 months: the newest is from 6 Jun 2023.
Facts
- GitHub stars
- 1,338read on 28 Nov 2026
- Last update
- 6 Jun 2023Newest commit on main
- Maintenance
- Staleno commit in 12 months
- Difficulty
- Advanced
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit e0444f6 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Optimizes multicopter trajectories under user-defined state-input constraints.
- Handles dynamics with nonlinear drag effects.
- Built on the MINCO sparse trajectory representation.
- Includes a global trajectory planning example that generates corridors and trajectories in real time.
- Physical parameters are modifiable in a config file.
- Provides fast iterative region inflation for corridor generation and non-uniform MINCO modules.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Stale, last commit on 6 Jun 2023.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/ZJU-FAST-Lab/GCOPTER (opens in a new tab)
- The version Robotheca reade0444f6 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by ZJU FAST Lab, at commit e0444f6, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
GCOPTER
GCOPTER is an efficient and versatile multicopter trajectory optimizer built upon a novel sparse trajectory representation named MINCO (opens in a new tab). User-defined state-input constraints for dynamics involving nonlinear drag effects (opens in a new tab) are supported.
Updates
-
July 20, 2022 - Released my thesis in chinese (opens in a new tab) with detailed and up-to-dated methodology about corridor generation, multicopter dynamics, trajectory planning, and so on.
-
Mar 11, 2022 - A minimal but non-trivial example for global kinodynamic planning is released. Modules for trajectory optimization, quadcopter dynamics with nonlinear drags, fast iterative region inflation for corridor generation (opens in a new tab), non-uniform MINCO (s=3), etc., are released.
-
Mar 15, 2022 - Released non-uniform MINCO for s=2 and s=4.
-
May 19, 2022 - Released a doc to detail differential flatness for multicopters under nonlinear drag effects (opens in a new tab). Add code links for all projects powered by MINCO.
-
Plan - More examples are on the way, including uniform MINCO (s=2,3,4), trajectory generation for tube-shaped and sphere-shaped corridors, local replanner, whole-body SE(3) planner, interfaces for external constraints, augmented Lagrangian, and so on.
About
If our repo helps your academic projects, please cite our paper. Thank you!
Author: Zhepei Wang (opens in a new tab) and Fei Gao (opens in a new tab) from ZJU FAST Lab (opens in a new tab).
Paper: Geometrically Constrained Trajectory Optimization for Multicopters (opens in a new tab), Zhepei Wang, Xin Zhou, Chao Xu, and Fei Gao, IEEE Transactions on Robotics (opens in a new tab) (T-RO), Regular Paper.
@article{WANG2022GCOPTER,
title={Geometrically Constrained Trajectory Optimization for Multicopters},
author={Wang, Zhepei and Zhou, Xin and Xu, Chao and Gao, Fei},
journal={IEEE Transactions on Robotics},
year={2022},
volume={38},
number={5},
pages={3259-3278},
doi={10.1109/TRO.2022.3160022}
}
Applications
Example 1: Global Trajectory Planning
This is a minimal yet non-trivial example of our trajectory optimizer for real-time high-quality corridor and global trajectory generation subject to dynamic constraints. For installation, the following terminal commands are helpful.
sudo apt update
sudo apt install cpufrequtils
sudo apt install libompl-dev
sudo cpufreq-set -g performance
mkdir ROS; cd ROS; mkdir src; cd src
git clone https://github.com/ZJU-FAST-Lab/GCOPTER.git
cd ..
catkin_make
source devel/setup.bash
roslaunch gcopter global_planning.launch
After conduct the command, you will see the windows for rviz and rqt_plot. Please follow the gif below for global trajectory planning in a random map.

The angle between the arrow of 2D Nav Goal and positive x-axis (red axis) decides the relative height. You can repeat choosing the start and goal to trigger the global planning. The solution trajectory considers spatial-temporal optimality and vehicle dynamics with drag effects. Some states for trajectories, like net thrust, tilt angle, body rate are all available. The magnitudes for some of them are shown in the rqt_plot. Corridor and trajectory generation are computed in real-time. Physical parameters in standard units are all modifiable in a config file. If you only wants a point-mass model to achieve a faster computing, please modify the penalty-functional-relevant code.
Projects Supported by GCOPTER or MINCO
- Robust Real-Time SE(3) Planning: youtube (opens in a new tab) or bilibili (opens in a new tab). (Reported by IEEE Spectrum Website (opens in a new tab)!) [

](https://www.youtube.com/watch?v=pQ4oSf1rdBU (opens in a new tab))
- High-Speed FPV Flight Planning: youtube (opens in a new tab) or bilibili (opens in a new tab). [

](https://www.youtube.com/watch?v=QQS0AM3iOmc (opens in a new tab))
- Multicopter Swarms Planning: youtube (opens in a new tab) or bilibili (opens in a new tab). (Reported by IEEE Spectrum Website (opens in a new tab)!) Code (opens in a new tab) [

](https://www.youtube.com/watch?v=w5GDMpjAoVQ (opens in a new tab))
- Long-Distance Drone Racing Planning: youtube (opens in a new tab) or bilibili (opens in a new tab). (Published in IEEE RA-L (opens in a new tab)) Code (opens in a new tab) [

](https://www.youtube.com/watch?v=oIqtN3zWIhM (opens in a new tab))
- Gaze Teleoperation Planning: youtube (opens in a new tab) or bilibili (opens in a new tab). (Published in IEEE RA-L (opens in a new tab)) Code (opens in a new tab) [

](https://www.youtube.com/watch?v=WYujLePQwB8 (opens in a new tab))
- Formation Keeping Planning: youtube (opens in a new tab) or bilibili (opens in a new tab). (IEEE ICRA) Code (opens in a new tab) [

](https://www.youtube.com/watch?v=lFumt0rJci4 (opens in a new tab))
- A variety of applications powered by GCOPTER or MINCO are not listed here, such as visibility-aware aerial tracking (opens in a new tab), and planning with nonlinear drag effects (opens in a new tab), etc.
Powerful Submodules
- SDLP: Seidel's Algorithm (opens in a new tab) on Linear-Complexity Linear Programming for Computational Geometry.
- VertexEnumeration3D (opens in a new tab): Highly Efficient Vertex Enumeration for 3D Convex Polytopes (Outperforms cddlib (opens in a new tab) in 3D).
- LBFGS-Lite (opens in a new tab): An Easy-to-Use Header-Only L-BFGS Solver.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.