Skip to content

one-for-all/gorilla-physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gorilla Physics Engine (for robotics in Rust)

I used Rapier before, but it did not seem to be quite made for robotics, and was missing some features I needed, so I embarked on this journey to build a physics engine myself.

I am learning a lot as I build it, so it is also a learning project for me.

Getting Started

Run all tests in lib:

cargo test --lib -- --nocapture

Run the pendulum example:

cargo run --bin horizontal_rod_pendulum

It should generate a plot that plots angle of the rod against the time axis.

TODO

  • Deploy the visualization to github page
  • Add section on visualization in README

References

It mainly implements the theory in Roy Featherstone's book Rigid Body Dynamics Algorithm.

Also built with a lot of references to Julia package RigidBodyDynamics.jl.

About

3D Physics Engine for Robotics in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published