A Python-based tool for visualizing IMU (Inertial Measurement Unit) orientation data in 3D space. This tool is specifically designed for biomechanical analysis, allowing visualization of multiple IMUs simultaneously.
- Real-time 3D visualization of IMU orientations
- Support for multiple IMUs (up to 4) in separate subplots
- Standard biomechanical coordinate system representation
- Comprehensive documentation of biomechanical concepts
- Smooth animation at 30 Hz display rate
- Python 3.x
- NumPy
- Pandas
- Matplotlib
- SciPy
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/imu-visualization.git
cd imu-visualization- Install dependencies:
pip install numpy pandas matplotlib scipy- Place your IMU data files in the
data/rec/directory - Run the visualization script:
python vis_3D_rot_scikit_V4.pyThe tool expects CSV files in Xsens DOT format with the following structure:
- First 7 rows: Metadata
- Header row: Column names
- Data rows: Time series of quaternions and sensor data
- X-axis (Red): Forward direction
- Y-axis (Green): Left direction
- Z-axis (Blue): Upward direction