Skip to content

Repo containing the source code for the compiled OSL controllers that ship as examples in the `opensourceleg` repo.

License

Notifications You must be signed in to change notification settings

neurobionics/OSL_CompiledControllers_Source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Code for opensourceleg example controllers

This repo contains the source code for the example compiled controllers shipped with the opensourceleg library. You can install the opensourceleg library using pip install opensourceleg and you can see the examples in the opensourceleg respository. The library works with any external compiled library that has a C style function of the form my_function(Inputs* inputs, Outputs* outputs), where Inputs and Outputs can be arbitrary datatypes.

Contents

Finite State Machine Walking Controller

We provide the source code for a standard finite state machine walking controller in two languages (C++ and MATLAB). The state machine has four states, two for stance and two for swing. Constant impedance parameters for each joint and state can be tuned to give the desired walking gait. The controller also has tunable transition parameters to allow timing flexibility for different tasks.

Schematic of the Finite State Machine Logic

Please reference the readmes for each implementation for more information and compilation instructions:

Future

Other example controllers may be added to this repository in the future. Check back often!

About

Repo containing the source code for the compiled OSL controllers that ship as examples in the `opensourceleg` repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published