Switching Between Arcade and Swerve Has Turning Issues [SYNTH-273] - #1451
Merged
Conversation
[SYNTH-273]
AlexD717
marked this pull request as ready for review
July 27, 2026 18:18
Dhruv-0-Arora
approved these changes
Jul 31, 2026
PepperLola
approved these changes
Aug 5, 2026
BrandonPacewic
approved these changes
Aug 7, 2026
BrandonPacewic
left a comment
Member
There was a problem hiding this comment.
lgtm, going to make a small push to fix conflicts before merging.
* 'dev' of github.com:Autodesk/synthesis: chore: fix ci refactor: create useHoldPhysicsPause hook fix: update stale comment fix: restore previously removed cast fix: mock real jolt vec object in unit test fix: revert auto formatting change fix: asan build jolt memory bug catches
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.
Task
SYNTH-273
Symptom
If you have an Arcade drive robot (ex Dozer) and then switch to Swerve, and then back to Arcade, you can no longer turn.
Solution
Most of the code was already their to fallback to Arcade if Swerve detection failed. I fixed that system up by actually assigning the driveType. In addition, I had to switch to calculating wheel position in local position, as you might be configuring a robot after it has rotated from its starting position.
Verification
Before merging, ensure the following criteria are met: