GAAS is an open-source program designed for fully autonomous VTOL(a.k.a flying cars) and drones. GAAS stands for Generalized Autonomy Aviation System. We hope to accelerate human use of the sky through the full autonomy of flying vehicles. This project started in 2016 as a hobby for two students. 2019 we open-source the project and hope to develop GAAS full time in the long term.
GAAS provides a fully autonomous flight platform based on lidar, HD-map relocalization, path planning, and other modules for aircraft. In contrast to the autopilot technology previously available only for consumer-grade drones, GAAS aims for robust fully autonomous flight for human-carrying, and can be easily combined with national air traffic control. At GAAS you can see many of the automotive-grade(AG) technologies that were previously only available in self-driving cars. The whole framework is coupled loosely so you can customize your own modules and easily add them to GAAS.
A video has been uploaded to show the whole pipeline. You may need to download this video.
We use lidars, as main sensor, rather than vision algorithms.
GAAS deprecated is based on computer vision(CV), but fully vision-algorithms-based framework is not robust enough for autonomous flying.
For flying cars and large cargo drones, vision-based algorithms suffer from:
Lack of robustness, especially at night or over-exposed conditions. When air vehicles are flying at high speed, the localization is not stable enough which may cause severe accidents(vital to large air vehicles).
Computer vision is computationally expensive and does not easily run in real-time on mobile devices.
The neural network-based approach is accident-prone in extreme scenarios, and the failures are not easily reproducible.
These problems are not allowed to occur in manned flight scenarios.
Therefore, the introduction of LIDAR seems to be necessary at present. That's why we make new GAAS from scratch, and refactored all modules in cpp.
Tested on OS: Ubuntu 18.04; PX4(for simulation only) 1.8.0.
wget www.google.com
(optional) install cuda 10.2 for all gpu-based algorithms, like icp_lidar_localization and the gpu version of ndt_localization.
You may need to upgrade cmake to at least 3.13 for building package icp_lidar_localization.
sudo apt install vim bwm-ng htop tmux git net-tools cmake-gui iotop curl
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
sudo usermod -aG docker [your username]
docker pull gaas/mavros-gazebo7-px4
./install_ros_melodic.sh
sudo apt install cmake-qt-gui
[Download opencv 3.4.5 and unzip]
cd opencv-3.4.5/
mkdir build&&cd build&&cmake-gui ..
[Configure your opencv cmake options in cmake-gui]
make -j4&&sudo make install
git clone https://github.com/google/glog.git
cd glog
git checkout -b v0.4.0
mkdir build&&cd build
cmake ..
make
sudo make install
[Download pcl 1.8.0 and unzip]
cd pcl-1.8.0
mkdir build&&cd build&&cmake-gui ..
[Configure your pcl cmake options in cmake-gui]
make -j4
sudo make install
cd GAAS/simulation
./upgrade_gazebo.sh
To build the project, setup all dependencies, run:
./build_all.sh
To run GAAS_contrib algorithms:
cd algorithms
./run_gaas_contrib_algorithms.sh
Start simulation (or play a rosbag instead):
cd simulation&&./scripts/prepare_simulation.sh
or:
rosbag play --clock [path_to_your_rosbag]
And checkout your L5 flying car demo in simulation environment!
GAAS is under BSD 3-Clause License.
Simulation env with 32 lines lidar and stereo cameras.
Spinning lidar mapping and NDT matching localization.
Check out simulation/README.md to get more details of simulation env setup.
(1). Livox Horizon + Forward Stereo Camera --Done.
(2). Velodyne HDL-32 + Forward Stereo Camera --Done.
(1). Lidar Points to Image Projection-- Done.
(2). Euclidean Cluster Extraction. --Done.
(3). Global Coordinate based HD-Map Building. --Done.
(4). NDT Lidar Localization(CPU/Cuda) --Done.
(5). Downsampling Node --Done.
(6). A* Path Planner --Done.
(7). Refactored px4 Offboard Commander --Done.
(8). Dynamic Obstacles Generation and Replanning --Done.
(9). Jetson AGX Xavier Adaptation --Done.
(10). Interactive GUI Target Selector in HD-maps --Done.
(11). Multiple Submaps Switching --TODO
(12). IMU-Preintegration and High-Frequency Localization --Done.
(13). VTOL Mode Switching --TODO.
(14). Decentralized Robust Ground Control Station --TODO.
(15). Generalized Flight Controller State Management --Done.
(16). PX4 State Reporter --Done.
(17). HUD Module --Done.
(18). Cuda-based Multiple Lidar Pointclouds ICP Localization --Done.
(19). Ground Points Removal Preprocessing --Done.
(20). System State Surveillance Service --Done.
(21). HTTP Server on Ground Control Station --TODO.
(22). Multiple Spinning Lidar Support --Done.
(23). Airsim Simulation Env Support --Done.
Adding logics for flight stage manager module. Including flight stage transfer service clients(triggered by mission config file) and servers(including localization module, flight control commander module and target navigation module.)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. Open source ecosystem
2. Collaboration, People, Software
3. Evaluation model