Giter VIP home page Giter VIP logo

air_mobility's Introduction

General

16-665 Air Mobility Assignment Last Updated: 10 October 2019 Shubham Garg (ssgarg) and Hannah Lyness (hlyness)

Structure

  • main.m: central function that calls all other functions. Takes in question number. Make sure TAs can run your code by entering main(2), for example.
    • lookup_waypoints.m: write this file to store and retreive waypoints for each question
    • trajectory_planner.m: write this function to turn waypoints into a time-discritized trajectory
    • attitude_planner.m: write this function to plan attitude
    • position_controller.m: write this function to find desired acceleration
    • attitude_controller.m: write this funciton to find desired moment
    • motor_model.m: write this funciton to turn desired attributes into motor RPMS
    • dynamics.m: write this function to get the change in state given desired state
    • plot_quadrotor_errors.m: file given to you to plot desired, actual, and error values

Definitions

  • state: quadrotor pose
    • Size: 16x1
    • 1:3: position
    • 4:6: linear velocity
    • 7:9: orientation
    • 10:12: angular velocity
    • 13:16: motor speeds
  • trajectory_matrix: trajectory discritized by time step
    • Size: 15 x n where n is the number of time steps
    • 1:3: position
    • 4:6: linear velocity
    • 7:9: orientation
    • 10:12: angular velocity
    • 13:15: linear accelerations
  • actual_state_matrix: actual state discritized by time step
    • Size: 15 x n where n is the number of time steps
    • 1:3: position
    • 4:6: linear velocity
    • 7:9: orientation
    • 10:12: angular velocity
    • 13:15: linear accelerations
  • actual_desired_state_matrix: desired state discritized by time step (not just the trajectory, this is what the controllers plan for)
    • Size: 15 x n where n is the number of time steps
    • 1:3: position
    • 4:6: linear velocity
    • 7:9: orientation
    • 10:12: angular velocity
    • 13:15: linear accelerations
  • current_state: current struct, used to make feeding current state into control functions easier
    • Size: struct with 5 elements: pos, vel, rot, omega, rpm
  • desired_state: desired struct, used to make feeding current state into control functions easier
    • Size: struct with 5 elements: pos, vel, rot, omega, acc

air_mobility's People

Contributors

koooooalaliketree avatar koalaliketree avatar

Watchers

James Cloos avatar  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.