Giter VIP home page Giter VIP logo

px4_rrt_avoidance's Introduction

Obstacle Avoidance

Key features

  • This code uses the RRT*-algorithm for collision avoidance at a fixed altitude
  • 3D obstacle detection using the Intel D435 camera
  • redirecting the UAV onto the predefined mission path (ideal for photogrammetry missions)
  • paths smoothing
  • uses octomap for obstacle mapping

Note: Collision prevention at a cruise velocity of 6 m/s. Collision avoidance

Note: Collision avoidance at a cruise velocity of 6 m/s. Collision avoidance

Blue line: followed path Green line: alternative suggested path

Instructions

Getting Started

See also:

Add to .bashrc:

Note: Your catkin workspace is assumed to be in ~/catkin_ws.

  • export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/catkin_ws/src/px4_rrt_avoidance/include/gazebo_models

QGC (QGroundControl): \

  • set parameter COM_OBS_AVOID = 1
  • select mission mode

Recommendations

  • We recommend testing the code in the safe simulation software Gazebo

Run RRT-Star collision avoidance simulation

run the following commands:

  • roslaunch px4_rrt_avoidance iris_depth.launch
  • rosrun px4_rrt_avoidance Master_node.py

To-Do's:

  • Some topics/msg can be changed into services
  • Create ROS-parameters to adjust the basic variables
  • Before take-off: obstacle must be visible otherwise /projected_map is not being published
  • When altitude is not correct: mapping error (ground detected as obstacle)
  • Obstacle avoidance below 5 meters ignored (ground mapping issue)
  • Drone stops at the end of mission: changes yaw angle to zero (EAST)
  • New ROS-parameter: change distance for incremental WP's
  • Sequential start of the master node
  • Solely allow flight direction to be within the visual field of view
  • Huge obstacle (e.g., building): incremental WP lays within a free cell of the grid map, but can't be reached -- create a service when the map has reached the maximum number of iterations and RRT* still can't find a solution to skip this WP

px4_rrt_avoidance's People

Contributors

lars-ki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.