Commit Graph

3 Commits

Author SHA1 Message Date
f8d12a8348 feat: refactor project structure and update dependencies
- Rename app_ui.py to main.py for better naming convention
- Update balance.py import to use dm_imu_pkg.dm_imu_py for modularity
- Constrain Gradio version to <5.0 in pyproject.toml and <6.0 in PKG-INFO for compatibility
- Add compiled .so file for dm_imu_pkg and update cached .pyc files after builds
- Include motors_enabled flag in main.py UI for better state management

These changes improve code organization, resolve potential import issues, and ensure dependency compatibility in the balance controller project.
2025-12-09 22:55:35 +08:00
8c76cf23a7 feat: add runtime dependencies for IMU functionality
- Add numpy<2.0 for numerical computations with IMU data
- Add pyserial>=3.5 for serial communication with IMU hardware
- Add gradio for web-based user interface

These dependencies enable core features like data processing, hardware connectivity, and UI interaction for the IMU package. Updated pyproject.toml, with resulting changes in requires.txt and PKG-INFO.
2025-12-09 13:11:48 +08:00
c3dac34dcc feat: add IMU Python package with pybind11 bindings
- Add dm_imu_pkg/__init__.py to dynamically load compiled IMU module during development and installation
- Update .vscode/settings.json to ignore missing CMakeLists for flexible builds
- Generate egg-info metadata and package structure for distribution
2025-12-08 23:54:56 +08:00