Skip to content

Ankle only FSM controller #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 8, 2025
Merged

Conversation

matteo-crotti
Copy link
Member

Hi, I added a Python controller for the OSL ankle implementing an FSM impedance control.

@tkevinbest
Copy link
Member

@matteo-crotti I'd suggest using your log within a context manager as well. That way the close method is always called

@senthurayyappan senthurayyappan self-requested a review June 20, 2025 19:14
@matteo-crotti
Copy link
Member Author

@matteo-crotti I'd suggest using your log within a context manager as well. That way the close method is always called

Done. Let me know if it's ok.

osl.ankle.set_impedance_gains()

for t in clock:
with fsm_logger:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would modify this to one line with the next with block

@tkevinbest
Copy link
Member

Looks good to me. Has this been tested on hardware to make sure all the gains set work well?

Also some checks are still failing.

@VarunSatyadevShetty
Copy link
Member

Tested the ankle only FSM (may require some subject specific tuning) but overall it is good and ready to merge.
Great work! @matteo-crotti @senthurayyappan @tkevinbest

@matteo-crotti matteo-crotti merged commit 25876ea into neurobionics:main Jul 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants