• Stars
    star
    388
  • Rank 107,207 (Top 3 %)
  • Language
    C++
  • Created about 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bezier Trajectory Generation for Autonomous Quadrotor, ICRA 2018

Btraj

1.Introduction

Btraj is an online UAV planning framework used to generate safe, dynamically feasible trajectories in previous unknown environments. It can be divided as front-end path finding module and back-end trajectory optimization module. In the front-end, we provide two alternates: Fast Marching*(FM*) on a velocity field and A* on a pure grid map. A flight corridor consists of cubes are generated based on the path. In the back-end, we utilize properties of Bezier curve to confine the piecewise Bezier curves entirely within the corridor and dynamical limits. For details we refer readers to our paper.

Authors:Fei Gao and Shaojie Shen from the HUKST Aerial Robotics Group.

Disclaimer

This is research code, any fitness for a particular purpose is disclaimed.

Related Paper

  • Online Safe Trajectory Generation For Quadrotors Using Fast Marching Method and Bernstein Basis Polynomial, Fei Gao, William Wu, Yi Lin and Shaojie Shen, IEEE International Conference on Robotics and Automation (ICRA), 2018, Brisbane, Australia. full text

Video of this paper can be found:

video

If you use this planning framework for your academic research, please cite our related paper.

@inproceedings{Fei2018ICRA,
	Address = {Brisbane, Australia},
	Author = {F. Gao and W.Wu and Y. Lin and S. Shen},
	Booktitle = {Online Safe Trajectory Generation For Quadrotors
Using Fast Marching Method and Bernstein Basis Polynomial},
	Title = {Proc. of the {IEEE} Intl. Conf. on Robot. and Autom.},
	Month = May,
	Year = {2018}}
}

2.Prerequisities

  • Our testing environment: Ubuntu 16.04, ROS Kinetic.
  • We provide a simple simulation to test the code. To run the simulation, you should install armadillo, which is a c++ linear algebra library. Then clone and compile plan_utils, which contains several ROS-package used for running the simulation.
  sudo apt-get install libarmadillo-dev
  cd ~/catkin_ws/src
  git clone https://github.com/HKUST-Aerial-Robotics/plan_utils.git
  cd ../
  catkin_make
  source ~/catkin_ws/devel/setup.bash

3.Build on ROS

Clone the repository to your catkin workspace and catkin_make. For example:

  cd ~/catkin_ws/src
  git clone https://github.com/HKUST-Aerial-Robotics/Btraj.git
  cd ../
  catkin_make
  source ~/catkin_ws/devel/setup.bash

4.Install Mosek

We use mosek for solving quadratic program(QP). To use mosek, you should approve an academic license in here. The academic license is free and is easy to approve. Then create a folder named 'mosek' in your home directory and put your license in it. All header and library files are already included in the 'third_party' folder under this repo, so you don't need to download mosek again.

5.Usage

If you have done all above, you can try the simple simulation.

  roslaunch bezier_planer simulation.launch

In rviz, click 'Panels -> tools -> +' and select the plugin 'Goal3DTool'. If you have successfully compiled all packages from plan_utils, now you can see 3D Nav Goal in the tools panel.

We use 3D Nav Goal to send a target for the drone to navigate. To use it, click the tool (shortcut keyboard 'g' may conflict with 2D Nav Goal), then press on left mouse button on a position in rviz, click right mouse button to start to drag it slide up or down for a targeting height (don't loose left button at this time). Finally you loose left mouse button and a target will be sent to the planner, done.

By default the planer use FM* to find a path in the distance field. You can change the path search function to A* in the launch file by setting is_use_fm to false.

6.Acknowledgements

We use mosek for solving quadratic program(QP), fast_methods for performing general fast marching method and sdf_tools for building euclidean distance field.

7.Licence

The source code is released under GPLv3 license.

8.Notes

  • The code has not been deeply tested, if you find any problems, do not hesitate to raise a issue or write e-mail to me.
  • The code is written for research purpose and has not been fully optimized. In the future I will add more functionalities and improve efficiency, and also add more comment.

More Repositories

1

VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
C++
4,733
star
2

VINS-Fusion

An optimization-based multi-sensor state estimator
C++
3,181
star
3

Fast-Planner

A Robust and Efficient Trajectory Planner for Quadrotors
C++
2,194
star
4

A-LOAM

Advanced implementation of LOAM
C++
1,957
star
5

VINS-Mobile

Monocular Visual-Inertial State Estimator on Mobile Phones
C++
1,242
star
6

Teach-Repeat-Replan

Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments
C++
875
star
7

GVINS

Tightly coupled GNSS-Visual-Inertial system for locally smooth and globally consistent state estimation in complex environment.
C++
792
star
8

FUEL

An Efficient Framework for Fast UAV Exploration
C++
744
star
9

Stereo-RCNN

Code for 'Stereo R-CNN based 3D Object Detection for Autonomous Driving' (CVPR 2019)
Python
681
star
10

DenseSurfelMapping

This is the open-source version of ICRA 2019 submission "Real-time Scalable Dense Surfel Mapping"
C++
661
star
11

FIESTA

Fast Incremental Euclidean Distance Fields for Online Motion Planning of Aerial Robots
C++
552
star
12

EPSILON

C++
493
star
13

ESVO

This repository maintains the implementation of "Event-based Stereo Visual Odometry".
C++
408
star
14

grad_traj_optimization

Gradient-Based Online Safe Trajectory Generator
C++
349
star
15

open_quadtree_mapping

This is a monocular dense mapping system corresponding to IROS 2018 "Quadtree-accelerated Real-time Monocular Dense Mapping"
Cuda
347
star
16

MVDepthNet

This repository provides PyTorch implementation for 3DV 2018 paper "MVDepthNet: real-time multiview depth estimation neural network"
Python
305
star
17

MonoLaneMapping

Online Monocular Lane Mapping Using Catmull-Rom Spline (IROS 2023)
Python
277
star
18

D2SLAM

$D^2$SLAM: Decentralized and Distributed Collaborative Visual-inertial SLAM System for Aerial Swarm
Jupyter Notebook
218
star
19

Omni-swarm

A Decentralized Omnidirectional Visual-Inertial-UWB State Estimation System for Aerial Swar.
Jupyter Notebook
179
star
20

GVINS-Dataset

A dataset containing synchronized visual, inertial and GNSS raw measurements.
C++
173
star
21

spatiotemporal_semantic_corridor

Implementation of the paper "Safe Trajectory Generation For Complex Urban Environments Using Spatio-temporal Semantic Corridor".
C++
160
star
22

PredRecon

A Prediction-boosted Planner for Fast and High-quality Autonomous Aerial Reconstruction
C++
142
star
23

eudm_planner

Implementation of the paper "Efficient Uncertainty-aware Decision-making for Automated Driving Using Guided Branching".
C++
139
star
24

DSP

Trajectory Prediction with Graph-based Dual-scale Context Fusion
Python
132
star
25

Nxt-FC

Mini PX4 for UAV Group
Shell
130
star
26

mockamap

a simple map generator based on ROS
C++
120
star
27

pointcloudTraj

Trajectory generation on point clouds
C++
117
star
28

Flow-Motion-Depth

This is the project page of the paper "Flow-Motion and Depth Network for Monocular Stereo and Beyond''
Python
114
star
29

Pagor

Pyramid Semantic Graph-based Global Point Cloud Registration with Low Overlap (IROS 2023)
C++
113
star
30

SIMPL

SIMPL: A Simple and Efficient Multi-agent Motion Prediction Baseline for Autonomous Driving
Python
107
star
31

VINS-kidnap

a place recognition system for VINS-fusion
105
star
32

gnss_comm

Basic definitions and utility functions for GNSS raw measurement processing
C++
97
star
33

G3Reg

G3Reg: Pyramid Graph-based Global Registration using Gaussian Ellipsoid Model
87
star
34

ublox_driver

A driver for u-blox receiver (ZED-F9P) with ros support
C++
81
star
35

TopoTraj

A robust UAV local planner based on the ICRA2020 paper: Robust Real-time UAV Replanning Using Guided Gradient-based Optimization and Topological Paths
80
star
36

TimeOptimizer

Optimal Time Allocation for Quadrotor Trajectory Generation
C++
77
star
37

Pinhole-Fisheye-Mapping

70
star
38

FC-Planner

An Efficient Planner for Fast Aerial Coverage
54
star
39

AutoTrans

AutoTrans: A Complete Planning and Control Framework for Autonomous UAV Payload Transportation.
C++
54
star
40

EMSGC

This repository maintains the implementation of the paper "Event-based Motion Segmentation withSpatio-Temporal Graph Cuts".
C++
54
star
41

LiDAR-Registration-Benchmark

LiDAR-based 3D global registration benchmark.
Python
53
star
42

VINS-Fisheye

Fisheye version of VINS-Fusion
C++
52
star
43

GeometricPretraining

This is the code base for paper ``Geometric Pretraining for Monocular Depth Estimation``, the paper is currently under review. The preprint will be available when it is ready.
49
star
44

HKUST-ELEC5660-Introduction-to-Aerial-Robotics

Repo for HKUST ELEC5660 Course Notes & Lab Tutorial & Project Docker
C++
44
star
45

OmniNxt

A Fully Open-source and Compact Aerial Robot with Omnidirectional Visual Perception
32
star
46

IMPACTOR

Impact-Aware Planning and Control for Aerial Robots with Suspended Payloads
31
star
47

plan_utils

Some useful pkgs for running planning simulation.
Makefile
28
star
48

edge_alignment

Clone of https://github.com/mpkuse/edge_alignment
C++
26
star
49

mockasimulator

C++
19
star
50

probabilistic_mapping

Probabilistic Dense Mapping
C++
19
star
51

swarm_gcs

Ground Station Software for aerial robots.
JavaScript
18
star
52

stTraj

Spatial-temporal Trajectory Planning for UAV Teach-and-Repeat
15
star
53

APACE

APACE: Agile and Perception-aware Trajectory Generation for Quadrotor Flights (ICRA2024)
10
star
54

MASSTAR

A Multi-modal Large-scale Scene Dataset and A Versatile Toolchain for Scene Prediction
8
star
55

mockacam

Camera package of mocka WFB
C++
3
star
56

RI_Mocap

Mocap device driver of RI
C++
1
star