Coder Social home page Coder Social logo

tayalmanan28 / opt_controls Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 4.46 MB

Repository of implementation of few algorithms for Under-actuated Systems in Robotics and solutions to some interesting problems

License: MIT License

Jupyter Notebook 73.67% Python 26.33%
lqr robotics underactuatedrobotics double-integrator gym-environments iisc

opt_controls's Introduction

I'll be implementing few algorithms in Underactuated Robotics and also solving some interesting problems

Table of Contents

List of Custom Environments

The below is a list of custom environments that I built using OpenAI gym, feel free to use them however you want

Quadrotor-2D

Consider here an extremely simple model of a quadrotor that is restricted to live in the plane. The equations of motion are almost trivial, since it is only a single rigid body, and certainly fit into our standard manipulator equations:

Trajectory Optimization on Quadrotor-2D

here

LQR on Quadrotor-2D

LQR here works essentially out of the box for Quadrotors, if linearized around a nominal fixed point (where the non-zero thrust from the propellers is balancing gravity). In this case nominal fixed point is

CartPole Continuous

The here task is to balance a simple pendulum around its unstable equilibrium, using only horizontal forces on the cart. Balancing the cart-pole system is used in many introductory courses in control because it can be accomplished with simple linear control (e.g. pole placement) techniques. Consider the full swing-up and balance control problem, which requires a full nonlinear control treatment.

LQR on CartPole Continuous

here

Double Integrator

Consider the double integrator system

If you would like a mechanical analog of the system, then you can think about this as a unit mass brick moving along the x-axis on a frictionless surface, with a control input which provides a horizontal force, u . The task is to find a policy for the system where, to regulate this brick to .

Value Iteration on Double Integrator

here

LQR on Double Integrator

here

Trajectory Optimization on Double Integrator

here

Pendulum with Vibrating Base

Consider here an actuated pendulum whose base (pivot of the rod) is forced to oscillate horizontally according to the harmonic law , where h denotes the amplitude of the oscillation and ฯ‰ the frequency. The equation of motion for this system is

The goal is to design a time-dependent policy that makes the pendulum spin at constant velocity ,

below is the result through feedback cancellation,

opt_controls's People

Contributors

tayalmanan28 avatar

Stargazers

 avatar

Watchers

 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.