Coder Social home page Coder Social logo

19mech02 / dynamicwalking2018.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rdeits/dynamicwalking2018.jl

0.0 0.0 0.0 1.94 MB

Julia Robotics tutorial presented at Dynamic Walking 2018

License: Other

Jupyter Notebook 99.92% Julia 0.08%

dynamicwalking2018.jl's Introduction

Dynamic Walking 2018: Julia Robotics

Build Status

To follow along with the presentation, take a look at the Jupyter notebooks in the notebooks folder.

Getting Help

For help with this tutorial, you can open a new issue here: https://github.com/rdeits/DynamicWalking2018.jl/issues. For general help with Julia usage, try the Julia forum or the Julia Slack chat group

Quickstart

Installing Julia

If you just want to try out Julia itself, all you need to do is download a Julia binary from https://julialang.org/downloads/ and follow the installation instructions.

Important: we've tested everything with the basic command line version of Julia. Please do not use the JuliaPro distribution for this tutorial.

Now you're ready to write Julia code and install other packages.

Using Julia In Jupyter Notebooks

Jupyter notebooks are a great way to write interactive, descriptive code and to integrate code with data, graphs, and other results. Julia works great with Jupyter, and we'll run this tutorial inside a collection of notebooks.

To use Julia with Jupyter, you just need to install the IJulia package. To do that, just start Julia and run:

Pkg.add("IJulia")

To start up Jupyter, you can run (in Julia):

using IJulia
notebook(dir=pwd())

or if you're already a Jupyter user, you can simply run jupyter notebook as usual.

Installing this Entire Tutorial

If you want all of the packages necessary to run this entire tutorial, then you just need to install this tutorial as another Julia package.

In Julia, do:

Pkg.clone("https://github.com/rdeits/DynamicWalking2018.jl")

Note that this will take a few minutes. We're demonstrating a lot of different Julia packages here, so this tutorial has a lot of dependencies, which may take a bit of time to download.

For example, you'll be getting:

  • RigidBodyDynamics.jl: a library for efficient and flexibile rigid body mechanism kinematics and dynamics
  • Plots.jl: a high-level plotting framework with support for various backends
  • GR.jl: a high-performance plotting backend based on the GR framework
  • JuMP.jl: a modeling language for optimization
  • Ipopt.jl: JuMP-compatible bindings to the Ipopt optimization solver
  • MeshCat.jl: a 3D visualizer that runs in the browser or a Jupyter notebook

and many more useful tools.

Starting the Tutorial

To launch Jupyter and access the notebooks found in this tutorial, you can do (in Julia):

using IJulia
notebook(dir=Pkg.dir("DynamicWalking2018", "notebooks"))

or simply run jupyter notebook from the command line, if you already have it installed.

Notes on Startup

The first time you run a given function, Julia compiles native code for that particular function and its input types. Try running functions a few times to get a sense for how long they actually take once they've been compiled.

dynamicwalking2018.jl's People

Contributors

rdeits avatar tkoolen 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.