Skip to main content

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

  1. Install Poetry
  2. make init to create the virtual environment and install dependencies
  3. make format to format the code and check for errors
  4. make test to run the test suite
  5. make clean to delete the temporary files and directories
  6. poetry publish --build to 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. Screenshot 2025-09-25 at 4 21 48 PM

The plot below shows the results of plotting an entire saved dataset. iit_plot

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)

Source distribution for iit-rehab 0.0.2
File Size Uploaded
iit_rehab-0.0.2.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iit-rehab 0.0.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page