https://github.com/nate711/mipsi-visualization
https://github.com/nate711/mipsi-visualization
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nate711/mipsi-visualization
- Owner: Nate711
- Created: 2022-06-03T06:13:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T06:54:20.000Z (about 3 years ago)
- Last Synced: 2025-01-13T18:35:47.774Z (5 months ago)
- Language: Roff
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Segway MIPSI Visualization
## Instructions
1. Install the following python packages
```
pip3 install numpy
pip3 install pandas
pip3 install meshcat
```
2. Copy your ODE.1 file into this directory. Make sure your MG code outputs the variables in the following order: `Output t sec, qA deg, qB deg, qA' deg/sec, qB' deg/sec, vx m/s, TC N*m, TD N*m, x m, y m`
3. `cd` into this directory
4. Run the visualizer `python3 mipsi_viz.py`
6. Go to the URL printed to Terminal/Command Prompt to see the 3D visualization. The URL should be something similar to `http://127.0.0.1:7033/static/`. See image below for expected result.
7. Click and drag to look around. Right click and drag to pan the camera. Click the "Open Controls" button in the top-right to see the controls for the animation (scrub through time etc)