GithubHelp home page GithubHelp logo

yvaine / stoba Goto Github PK

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

A stereo based obstacle avoidance system for drones using the ArduPilot SITL.

License: GNU General Public License v2.0

Python 100.00%

stoba's Introduction

STOBA

A stereo based obstacle avoidance system for drones using the ArduPilot SITL.

Installation

First, install ArduPilot SITL on linux. Follow these steps: http://dev.ardupilot.com/wiki/simulation-2/sitl-simulator-software-in-the-loop/setting-up-sitl-on-linux/

Next, install dronekit-python from source. Follow the instructions mentioned on their website: http://python.dronekit.io/getting_started.html

Next, download this entire repository and paste it in ../path-to-dronekit/examples/my_app/

Before starting the simulator to run the api make sure you load the params from the copter params by running this script, in the ArduCopter directory inside ardupilot:

/path-to-ardupilot/ardupilot/Tools/autotest/./sim_vehicle.sh -w

Next, create a start script for ardupilot, "start.sh" in the ArduCopter folder, with the following:

--------------------------------script---------------------------------------------

export PATH=$PATH:/home/ardupilot/droneapi-python/example/my_app

export PYTHONPATH=$PYTHONPATH:/home/ardupilot/droneapi-python/example/my_app

/path-to-ardupilot/ardupilot/Tools/autotest/./sim_vehicle.sh -L Gatech --console --map --aircraft test

-------------------------------eoscript---------------------------------------------

You can set a location for simulation using locations.txt in the autotest folder in ArduPilot. You can see that the -L option is used to do this, as shown above.

Start the Ardupilot SITL simulator and run the api using the command given in apistart.txt.

Make sure you change the location of the ardupilot folder in the logger module and stereo module.

stoba's People

Watchers

James Cloos avatar

Forkers

arjun180

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.