Repository navigation
Code fixes: drive mode, Linux robot, CI - #561
Merged
Merged
Conversation
currentDriveMode was never updated, so connecting the phone or web controller saved GAME as the mode to restore, and the status sent to the controller always said GAME. Read the mode from the vehicle instead. Co-authored-by: Jacob Wu <wuyijun1129@hotmail.com>
There was a problem hiding this comment.
🟡 Changes recommended
Switching from phone to web control overwrites the saved drive mode with temporary DUAL mode in all four fragments, causing incorrect restoration.
1 open issue
What changed in this PR
This PR addresses Android drive-mode handling, updates Linux robot setup after the repository move, and refines release and CI behavior.
Changes:
- Uses the vehicle’s drive mode for controller status and mode restoration.
- Updates Linux dependencies, automatic test-path discovery, and translated setup instructions.
- Limits controller release APKs to ARM, skips firmware builds for Markdown-only changes, and excludes the Java formatting commit from blame.
| File | Description |
|---|---|
robot/linux/tests/test_infer.py |
Derives the repository path automatically. |
robot/linux/requirements.txt |
Adds pandas and bounds OpenVINO dependencies. |
robot/linux/README.zh-CN.md |
Updates Chinese setup and test-path instructions. |
robot/linux/README.md |
Updates English setup and test-path instructions. |
robot/linux/README.fr-FR.md |
Updates French setup and test-path instructions. |
robot/linux/README.es-ES.md |
Updates Spanish setup and test-path instructions. |
robot/linux/README.de-DE.md |
Updates German setup and test-path instructions. |
robot/android/app/src/main/java/org/openbot/app/robot/robot/FreeRoamFragment.java |
Reads vehicle mode when entering controller modes. |
robot/android/app/src/main/java/org/openbot/app/robot/objectNav/ObjectNavFragment.java |
Reads vehicle mode when entering controller modes. |
robot/android/app/src/main/java/org/openbot/app/robot/logging/LoggerFragment.java |
Reads vehicle mode when entering controller modes. |
robot/android/app/src/main/java/org/openbot/app/robot/common/ControlsFragment.java |
Removes stale mode storage and reports vehicle mode. |
robot/android/app/src/main/java/org/openbot/app/robot/autopilot/AutopilotFragment.java |
Reads vehicle mode when entering controller modes. |
.github/workflows/releases.yml |
Restricts controller APK builds to ARM targets. |
.github/workflows/firmware.yml |
Excludes firmware Markdown files from build triggers. |
.git-blame-ignore-revs |
Marks the Java formatting commit for blame exclusion. |
Review effort: Balanced
Contributor
|
@thias15 following for quite some time but didn't notice it supports linux. Is the linux app something new or did it slip through for me. BTW Thanks a lot for it ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

currentDriveModewas never updated, so connecting the controller saved Game as the mode to restore, and the status sent to the controller always said Game. The mode is now read from the vehicle. This redoes Unify the driveMode storage and fetching - from ControlsFragment.vehicle.driveMode, instead of ControlsFragment.currentDriveMode. #498 on the current code, with Jacob Wu as co-author.pandasto the requirementsopenvino.runtimewas removed in 2026)test_infer.pyfinds the repo path itself instead of using a hard-coded oneandroid-arm,android-arm64), like the robot app. This drops x86_64, which is mainly the emulator, and makes the APK smaller.firmware/**/*.mdno longer start the firmware builds..git-blame-ignore-revs: git blame skips the Java formatting commit from Move the robot apps into robot/ #560. GitHub uses this file automatically; locally, rungit config blame.ignoreRevsFile .git-blame-ignore-revs.To test the drive mode fix on a phone: