Giter Club home page Giter Club logo

robotzoo.jl's Introduction

CI codecov

RobotZoo.jl

Provides a handful of dynamics models of common robotic platforms, implemented using the RobotDynamics.jl package. The following models are currently implemented:

  • Acrobot (Acrobot)
  • Dubins Car (unicycle model) (DubinsCar)
  • Kinematic Bicycle car model (BicycleModel)
  • Cartpole (Cartpole)
  • Double Integrator (DoubleIntegrator)
  • Pendulum (Pendulum)
  • Quadrotor (Quadrotor)
  • Airplane (YakPlane)
  • Satellite (Satellite)

Most models can be constructed using their default constructor, e.g. model = RobotZoo.Cartpole(). To get more information on each model, refer to the documentation for each type, accessible via the command line:

?RobotZoo.Quadrotor

Example Usage

using RobotZoo
using RobotDynamics

model RobotZoo.Cartpole()
n,m = size(model)

# Generate random state and control vector
x,u = rand(model)
dt = 0.1  # time step (s)
z = KnotPoint(x,u,dt)

# Evaluate the continuous dynamics and Jacobian= dynamics(model, x, u)
∇f = RobotDynamics.DynamicsJacobian(model)
jacobian!(∇f, model, z)

# Evaluate the discrete dynamics and Jacobian
x′ = discrete_dynamics(RK3, model, z)
discrete_jacobian!(RK3, ∇f, model, z)

robotzoo.jl's People

Contributors

bjack205 avatar github-actions[bot] 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.