mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 00:43:54 +08:00
* fix mapd folder * not needed * unnecessary * Remove unused import from mapd_installer.py Deleted the unused import of Paths from openpilot.system.hardware.hw to clean up the code. * Undo changes * update: adjust `mapd` process to conditionally start based on readiness - Added `mapd_ready` function to check `mapd` readiness. - Modified `mapd` process to use this readiness condition. * update: bump mapd version to v1.10.0 and add readiness utility - Updated `VERSION` to v1.10.0 for `mapd_installer.py`. * update: integrate `MapdInstallManager` versioning into main thread - Added a call to `MapdInstallManager.update_installed_version` with `VERSION`. - Ensures version management for `mapd` is synchronized during runtime. * refactor: centralize `MAPD_PATH` and `MAPD_BIN_DIR` definitions in module init - Moved constants to `sunnypilot/mapd/__init__.py` for cleaner imports and reuse. - Updated references in `mapd_manager.py` and `mapd_installer.py`. * revert back the file permission * do this * no longer static --------- Co-authored-by: DevTekVE <devtekve@gmail.com> Co-authored-by: rav4kumar <meetkumardesai@gmail.com> Co-authored-by: James Vecellio-Grant <159560811+Discountchubbs@users.noreply.github.com> Co-authored-by: Jason Wen <haibin.wen3@gmail.com>