How john2zy/imu-position-tracking works
Main Components
• Data Acquisition:
• External mobile device running the HyperIMU app as the data source.
• “data_receiver.py” module as the network interface to receive uncalibrated IMU data.
• Signal Processing & Filtering:
• Although currently not used for real-time processing, include “butter.py” (the Butterworth filter module) to illustrate a filtering option in the architecture. This shows potential flow or alternate data processing paths.
• Core Algorithm – Extended Kalman Filter (EKF):
• Use of matrix calculations and helper functions by linking in “mathlib.py”. This module is essential for the mathematical underpinnings of the EKF.
• Visualization & Prototyping:
• Documentation & External References:
Relationships and Data Flow
• Lastly, show the output from the EKF (position and orientation estimates) flowing into “plotlib.py” and “main.ipynb” for visualization and prototyping.
Architectural Patterns and Design Choices
• Modularity: Each Python module (data_receiver, main EKF, mathlib, and plotlib) represents a separable step in the processing pipeline.
• Potential for extension: Although the Butterworth filter isn’t currently in active use, its existence shows an intention to possibly integrate real-time digital filtering.
• Separation of concerns: Data acquisition, processing (filtering + EKF), mathematical computation, and visualization are clearly separated in the file structure.