Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orca state machine bug fixes #4

Merged
merged 5 commits into from
Jan 16, 2025
Merged

Orca state machine bug fixes #4

merged 5 commits into from
Jan 16, 2025

Conversation

agregghai
Copy link

These changes attempt to fix a bug where auto-zeroing sometimes completes prematurely on hardware, resulting on actuator calculating zero position as where it started. During testing, this bug still occurs sometimes for unknown reasons, but appears to happen less often. Although the issue is not completely solved, this change introduces a few bug fixes that are worth merging in at this time.

  • Reads the actuator state to ensure no errors between the initial sleep state and auto-zero
  • If auto-zero fails, it will retry
  • Exit to position mode after auto-zero so we have a positive indication of when it has completed vs. been put to sleep by this driver detecting an error

Also updated flash_via_remote script to work on balena machines by specifying serial port, adding -O option to scp, and changing the remote directory to match the folder scheme.

@agregghai agregghai merged commit ea5ae78 into master Jan 16, 2025
107 of 128 checks passed
@agregghai agregghai deleted the orca_sm_fixes branch January 16, 2025 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants