IIT Rehab Collaboration
This project is a collaboration with IIT. Our team was tasked with integrating our controller into their software for their exo-suit.
Install
To install the library run: pip install iit-rehab
Development
- Install Poetry
make initto create the virtual environment and install dependenciesmake formatto format the code and check for errorsmake testto run the test suitemake cleanto delete the temporary files and directoriespoetry publish --buildto build and publish to https://pypi.org/project/iit-rehab
Usage
"""Basic usage for our module."""
def main() -> None:
"""Run a simple demonstration."""
# Initialize system
estimator = GaitPhaseEstimator(AOParameters())
controller = LowLevelController()
plotter = RealtimeAOPlotter() if args.real_time else None
if plotter:
logger.info("Starting Dash app for real-time plotting.")
plotter.run()
logger.info("Replaying log file with controller.")
time_data, theta_il, theta_hat, phi_gp, omegas = run_controller_loop(
log_data, estimator, controller, plotter=plotter
)
if __name__ == "__main__":
main()
Connecting to RaspberryPi
There is no static IP address, so you will need to connect the device to a monitor first.
On powerup, the IP address is shown so if you are quick, you won't need a keyboard or mouse to find it with ifconfig -a
I suggest copying files with rsync:
rsync -auv rehab@<IP_ADDR>:~/Desktop ~/Desktop/rehab_iit
Connect to rehab with the above IP address while using featherexo as the password.
ssh rehab@10.183.89.195
Results
The plot below shows the results being plotted in real time.
The plot below shows the results of plotting an entire saved dataset.
Metadata
Release files for iit-rehab 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iit_rehab-0.0.2.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iit_rehab-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / iit_rehab-0.0.2.tar.gz
| Download URL | iit_rehab-0.0.2.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e66fec1e2b2f3cbce8141cb74d72d628c052a6ed47e5c7e3512d6dd5e1f10abd
|
|
BLAKE2b-256 checksum How to use checksums |
fc60548b27d3773c4dc17e8606c8f67daf80500a94d45ff204e2f2916e6ad59c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.6 Darwin/25.0.0
|
Release files / iit_rehab-0.0.2-py3-none-any.whl
| Download URL | iit_rehab-0.0.2-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08f95f26071d0adbea7fd68c7178e214ab5431c6cbe73c828ebee5b4244602cd
|
|
BLAKE2b-256 checksum How to use checksums |
014a6f0c42180deb63944704fac0c744f8c8fcbb09f606d16e5048930d6c4f12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.6 Darwin/25.0.0
|