Giter Site home page Giter Site logo

abj247 / uav-obstacle-avoidance Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 69.67 MB

This repo contains the codes for algorithms and techniques for enabling UAVs to navigate safely and avoid obstacles in their flight paths using LiDAR sensor data.

CMake 13.77% C 0.27% C++ 2.99% Makefile 74.77% Python 3.33% Shell 0.21% Common Lisp 3.37% JavaScript 1.30%

uav-obstacle-avoidance's Introduction

UAV-Obstacle-Avoidance

This repo consists of obstacle avoidance implemented in Robot operating system for Unmanned Aerial Vehicle (UAV) using LiDAR scan data. Hector quadrotor package is used for spawning the drone in the gazebo environment. Readings from SONAR sensor with python script is used for flying the drone to a certain height. LiDAR readings are used to detect obstacles in the surroundings.

To spawn the drone in the gazebo open the terminal and use the command:

roslaunch drone_sim spawn_drone.launch

For flying the drone, open another terminal and use the command:

rosrun drone_sim make_drone_fly.py

For simulating obstacle avoidance, open another teminal use command:

rosrun drone_sim obstacle_avoidance.py

Spawned drone in gazebo with LiDAR

Drone with lidar on ground Drone on ground_v2

Drone flying in air with LiDAR and SONAR sensor (Low LiDAR range)

Drone in air with low lidar range

Drone flying in air with LiDAR and SONAR (high LiDAR range)

Drone in air with high lidar range

Drone in between obstacles

Obstacle Avoidance_v1

Drone successfully obtained collison-free path

Obstacle Avoidance_v1 Obstacle Avoidance_drone path_v2

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.