Skip to content

2D Contact physics simulation by solving Linear Complementarity Problems.

License

Notifications You must be signed in to change notification settings

joshikaustubh/contact_sim.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contact_sim

2D Contact physics simulation by solving Linear Complementarity Problems.

For more details, see my related paper: https://arxiv.org/abs/2112.08426

Installation

  1. Open your Julia REPL by typing julia in your terminal.
  2. Press ] on your keyboard to enter the package manager
  3. Enter command add https://github.com/adubredu/contact_walk.jl and press Enter on your keyboard to install this package.
  4. Press the Backspace key on your keyboard to return to the REPL

Usage

Example scripts can be found in the examples folder in this repo.

The block_sim.jl script simulates physics of a 2D square block dropped from a height, as shown below:

The ball_sim.jl script simulates physics of a 2D ball, as shown below:

The walker_sim.jl script simulates physics of a 2D dynamic walker, as shown below. The walking controller uses partial feedback linearization:

The kick_ball_sim.jl script simulates physics of a 2D dynamic walker kicking a ball, as shown below. The walking controller uses partial feedback linearization.:

About

2D Contact physics simulation by solving Linear Complementarity Problems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%