Code Monkey home page Code Monkey logo

lie_groups's Introduction

Lie Groups

nbviewer Binder

This repo houses an implementation-focused introduction to Lie Groups for roboticists. All material is written in Python and presented in Jupyter Notebook format.

For the best experience, start reading online with nbviewer or interacting with the code using binder by clicking the appropriate badge above. Alternatively, follow the Getting Started instructions below to run the notebook on your local machine.

Overview

The purpose of this repo is to present theory, tools, and examples of Lie groups and algebras for the practitioner working with the control, estimation, and optimization of rigid bodies.

To facilitate this, each chapter will present a section on using the group element to illustrate kinematics, solving differential equations, control, and estimation. We take the approach of starting with the unit circle (S^1) and working through more complicated spaces: SE(2), SO(3), SE(3), and SL(3).

Motivation

Many interesting problems in control and estimation exist which can be solved by using "hacks" like wrapping Euler angles, normalizing quaternions at every step, etc. Alternatively, Lie theory can be applied to implement algorithms that do their work on the manifold (i.e., the surface of all 3D rotation matrices, SO(3)).

In particular, vision-based control and estimation is an active research area that employs the use of Lie groups and Lie algebras to leverage computationally efficient representations of rigid body transformations. Many state of the art algorithms in visual-inertial odometry, SLAM, and robust control use these concepts.

Getting Started

To get started improving and learning with these notebooks, make sure you have Jupyter installed:

$ pip install jupyter --user

After cloning this repo and navigating into its directory on your machine, kick off the Jupyter notebook server with:

$ jupyter notebook

The server will start and a new browser tab will open.

For more information on Python/pip, see here.

You will also need ffmpeg installed to render matplotlib animations as inline videos. On Ubuntu, this is accomplished with

sudo apt install ffmpeg

For other operating systems, refer to the documentation here or here.

Handling Merge Conflicts: nbdime

Because Jupyter notebook are difficult to parse as raw text, the nbdime tool was created to help graphically manage merge conflicts. Install using pip with

$ pip install -U nbdime

and make sure to integrate with git using nbdime config-git --enable --global. This will allow git diff to use nbdime's command-line diff interface for any *.ipynb files. Alternatively, you can use nbdiff-web to compare Jupyter notebooks graphically.

See the nbdime docs to read more about git integration and using nbdime as the merge tool.

lie_groups's People

Contributors

devonmorris avatar dpkoch avatar drinkdhmo avatar jerelbn avatar mjhaskell avatar plusk01 avatar pmarke avatar randybeard avatar superjax avatar

Watchers

 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.