Coder Social home page Coder Social logo

uav_trajectory_optimizer_gurobi's Introduction

Trajectory Optimization for Multirotors using Gurobi

Authors: Parker Lusk and Jesus Tordesillas

This repo has the code implemented for the project of Underactuated Robotics (6.832) at MIT. The pdf is available here.

@techreport{luskjtorde2019,
     title = {{Trajectory Optimization for Multirotors}},
     author = {Parker Lusk and Jesus Tordesillas},
     year = {2019},
     url = {https://github.com/jtorde/uav_trajectory_optimizer_gurobi},
     institution = {Aerospace Controls Lab},
     month = {05}
}

Introduction:

It uses an integrator model of any order, and solves the optimal control problem to minimize the input squared. The order of the input is specified by the user (Acceleration, Jerk, Snap, Crackle,... ). Additional position and/or attitude constraints can be specified along the trajectory.

Flip in roll Flip in pitch Flip in roll with translation Half-flip with translation

A video of the simulation and hardware experiments is available here:

Trajectory Optimization for Multirotors

Instructions:

Install Gurobi

Clone this repository:

mkdir ws && cd ws && mkdir src && cd src
git clone https://github.com/jtorde/uav_trajectory_optimizer_gurobi.git

Source the workspace:

cd ..
catkin build
source ./devel/setup.bash

Run the ROS node:

roscore
rosrun project flipper.py __ns:=SQ01s

Open Rviz and then call one of these services:

rosservice call /SQ01s/line       #Straight line
rosservice call /SQ01s/flip       #Flip in roll 
rosservice call /SQ01s/flip_pitch #Flip in pitch  
rosservice call /SQ01s/flip_trans #Flip in roll with translation
rosservice call /SQ01s/window     #Half-flip with translation

Use with an external simulator or hardware:

This code can also be used with an external simulation, or run onboard a real UAV.

License

BSD 3-Clause, see License file attached

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.