Coder Social home page Coder Social logo

mjhaskell / roscopter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from byu-magicc/roscopter

0.0 0.0 0.0 2.34 MB

*Under Development* - A fully-featured multirotor autopilot for ROS, based on Dr. Beard's Quadrotor Notes

Home Page: http://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2324&context=facpub

CMake 8.10% Python 30.81% C++ 57.86% C 3.24%

roscopter's Introduction

ROScopter

This repository contains the ROS packages associated with flying a multirotor on the ROSflight autopilot stack. The roscopter ROS package contains a high-level multirotor autopilot while the roscopter_sim package is used for simulation.

The roscopter autopilot has been built with reference to Dr. Randy Beard's Quadrotor Dynamics and Control notes, so as to allow anyone to easily understand, modify and use the code. The framework developed in the aforementioned reference closely resembles the fixed-wing framework developed in Small Unmanned Aircraft by Beard and McLain. This framework is inherently modular and extensively documented so as to aid the user in understanding and extending for personal use.

Running Simulation

Simplified Dynamics Model

Clone this repo and the ROSflight_plugins repo into catkin_ws/src, you can run the Gazebo simulator with

$ catkin_make
$ source devel/setup.bash
$ roslaunch roscopter_sim multirotor.launch

This simulation does not simulate the firmware and does not require a joystick. It has the same API as the SIL stack, and can be useful for developing high-level algorithms, however it makes some simplifying assumptions in the dynamics which reduces the fidelity of the simulation.

Software In The Loop

To run the rosflight SIL simulation information with the full roscopter stack, clone the ROSflight repo, connect a joystick or transmitter and run

$ catkin_make
$ source devel/setup.bash
$ roslaunch roscopter copter_sil..launch

Core Autopilot Components

EKF

An Extended Kalman Filter (EKF) on manifold is used for state estimation using ROSflight attitude estimates as measurements. See Derivation of the Relative Multiplicative Kalman Filter by David Wheeler and Daniel Koch for more information.

The EKF supports measurements from a position and attitude estimator (motion capture system), altitude sensor (sonar or barometer) and IMU. GPS support is currently being developed. Measurement models can be added quite easily to the filter, please create an Issue if you have a measurement model you want supported and we can walk you through the steps on how to do it.

Controller

A PID controller is used.

Waypoint Manager

Velocity manager and commander.

roscopter's People

Contributors

superjax avatar jerelbn avatar billtheplatypus avatar mmmfarrell avatar plusk01 avatar wynn4 avatar nonrevlb avatar el3ment avatar goromal avatar len0rd avatar drinkdhmo avatar memphis242 avatar pmarke 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.