Skip to content

Playground for validating nonlinear control strategies and testing out low-level motor control

License

Notifications You must be signed in to change notification settings

packbionics/control-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

control-examples

Examples of control relevant to PackBionics projects

Dependencies

OpenAI gym

$ pip install gym

Pygame

$ python3 -m pip install -U pygame --user

Description

An unactuated pendulum is attached to a cart sliding on a rail, swing the pendulum to the top by applying forces to the cart

Three ways to achieve the task is available:

  1. Manual control: You move the cart to swing the pole up
  2. Energy shaping: Use an "energy function" to guarantee convergence to fixed point
  3. Trajectory Optimization: Run optimization to find best trajectory wrt cost

Dependencies

ODriveTool

Description

Scripts for ODrive motor calibration, plus position/velocity/torque control

Walker

Dependencies

Drake

Description

Explore trajectory optimization for generating limit cycles in reduced-order models, with applications towards gait generation in prosthetic legs.

Walking reduced to a linear inverted pendulum. Direct transciption with hybrid dynamics.