Skip to content

Control systems#31

Closed
deshpr3 wants to merge 6 commits intoMcMasterExoskeleton:mainfrom
deshpr3:control_systems
Closed

Control systems#31
deshpr3 wants to merge 6 commits intoMcMasterExoskeleton:mainfrom
deshpr3:control_systems

Conversation

@deshpr3
Copy link

@deshpr3 deshpr3 commented Apr 1, 2025

No description provided.

JuanR-Git and others added 6 commits March 2, 2025 23:13
…s_FSM_General_Controller

Adding C++ general controller to control systems branch
Torque Controller assumes that the hip and knee joints follow a
sinusodial pattern. We can change this, when we get real data from the
AI team.

Running "make run_plot", runs the control system and outputs the Joint
trajectories with their respective output torques using MatPlotLib.
Integrate IMU joint anle input into torque controller

- Replaced sinusoidal test angles with real data from AI team (JSON)
- Added IMUDataLoader directory to load and preprocess Right Knee joint angles
- JointEstimator now supports variable dt from IMU timestamps
- Skipped noisy samples with dt < 10ms to avoid torque spikes
- Updated ActiveState.cpp to run a 120 second test for real data

TODO:
- Add support for AI-predicted hip angles (currently using simulated sine wave)
- Think about how to handle the knee angle normalization:
- Currently we assume min roll = full extension (0 rad), but that may
  not be correct
@deshpr3 deshpr3 closed this Apr 1, 2025
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