Skip to content

Switching Between Arcade and Swerve Has Turning Issues [SYNTH-273] - #1451

Merged
BrandonPacewic merged 6 commits into
devfrom
alexey/273/arcade-to-swerve-turning
Aug 7, 2026
Merged

Switching Between Arcade and Swerve Has Turning Issues [SYNTH-273]#1451
BrandonPacewic merged 6 commits into
devfrom
alexey/273/arcade-to-swerve-turning

Conversation

@AlexD717

@AlexD717 AlexD717 commented Jul 27, 2026

Copy link
Copy Markdown
Member

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

  • Trying to spawn a Arcade robot with Swerve drive gives a warning toast and doesn't let you
  • Trying to switch a Arcade robot to Swerve gives a warning toast if swerve detection failed and doesn't let you
  • Can still switch to Swerve drive on a Swerve robot

Before merging, ensure the following criteria are met:

  • All acceptance criteria outlined in the ticket are met.
  • Necessary test cases have been added and updated.
  • A feature toggle or safe disable path has been added (if applicable).
  • User-facing polish:
    • Ask: "Is this ready-looking?"
  • Cross-linking between Jira and GitHub:
    • PR links to the relevant Jira issue.
    • Jira ticket has a comment referencing this PR.

@AlexD717 AlexD717 self-assigned this Jul 27, 2026
@AlexD717 AlexD717 added bug Fixes an issue ui/ux Relating to user interface, or in general, user experience labels Jul 27, 2026
@AlexD717 AlexD717 changed the title Bugfix: Switching from Arcade drive to Swerve drive and then back to Arcade doesn't allow you to turn Switching Between Arcade and Swerve Has Turning Issues [SYNTH-273] Jul 27, 2026
@AlexD717
AlexD717 marked this pull request as ready for review July 27, 2026 18:18
@AlexD717
AlexD717 requested review from a team as code owners July 27, 2026 18:18

@BrandonPacewic BrandonPacewic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@BrandonPacewic
BrandonPacewic merged commit eda7a3d into dev Aug 7, 2026
21 of 22 checks passed
@BrandonPacewic
BrandonPacewic deleted the alexey/273/arcade-to-swerve-turning branch August 7, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes an issue ui/ux Relating to user interface, or in general, user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants