Giter Site home page Giter Site logo

alexseysua / gisnav Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hmakelin/gisnav

0.0 0.0 0.0 47.68 MB

Estimates airborne drone global position by matching video to map retrieved from onboard GIS server.

Home Page: https://hmakelin.github.io/gisnav

License: MIT License

Shell 3.01% Python 84.16% Makefile 5.03% Dockerfile 7.29% CMake 0.50%

gisnav's Introduction

gisnav-mock-gps-demo.mp4

Introduction

Warning Do not use this software for real drone flights. GISNav is untested and has only been demonstrated in a simulation environment.

GISNav is a ROS 2 package that enables map-based visual navigation for airborne drones in a simulation environment.

GISNav provides a precise global position by visually comparing frames from the drone's nadir-facing camera to a map of the drone's approximate global position retrieved from an onboard GIS system.

Mock GPS Example

The below steps demonstrate how GISNav enables GNSS-free flight with PX4 Autopilot's Mission mode in a SITL simulation.

You will need to have the docker compose plugin and NVIDIA Container Toolkit installed.

Build and run SITL simulation

Build the Docker images and create and run the containers (downloading and building everything will take a long time):

Note This script will automatically expose your xhost to the created Docker containers to make the GUI applications work.

git clone https://github.com/hmakelin/gisnav.git
cd gisnav
make -C docker demo

Upload flight plan via QGroundControl

Once both the Gazebo and QGroundControl windows have appeared (QGroundControl should show the drone location near San Carlos airport), use QGroundControl to upload the sample ~/ksql_airport_px4.plan flight plan that is included inside the Docker container, and then start the mission.

Simulate GPS failure

Wait until the drone has risen to its final mission altitude. You should see a visualization of the GISNav-estimated field of view projected on the ground appear. You can then try disabling GPS through your MAVLink Shell (accessible e.g. through QGroundControl > Analyze Tools > MAVLink Console):

failure gps off

The drone should now continue to complete its mission GNSS-free with GISNav substituting for GPS.

You can check if PX4 is receiving the mock GPS position estimates by typing the following in the MAVLink shell:

listener sensor_gps

Documentation

See the latest developer documentation for information on how to setup a local environment for GISNav development, for code examples and API documentation, and for contribution guidelines.

License

This software is released under the MIT license. See the LICENSE.md file for more information.

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.