Skip to content

Stepper motor not stopping#583

Open
patkenneally wants to merge 4 commits intodevelopfrom
fix/stepper-motor-not-stopping
Open

Stepper motor not stopping#583
patkenneally wants to merge 4 commits intodevelopfrom
fix/stepper-motor-not-stopping

Conversation

@patkenneally
Copy link
Collaborator

  • Tickets addressed: ema-gnc-1889
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

The stepperMotor module was not correctly determining the step completed condition in the case where a step duration that was not a factor of the task step time. This PR fixes the condition to check for step completed. Three additional tests are added to ensure

  • a step completes actuation when the time step does not divide evenly into the motor step time
  • stepper motor correctly actuates for exactly a single step command (both forward and backward)
  • the stepper motor correctly handles multiple frequent interruptions

Verification

Ci tests run successfully.

Documentation

None updated, none invalidated.

Future work

NA

@patkenneally patkenneally force-pushed the fix/stepper-motor-not-stopping branch from f0b7cd2 to 9e5bf8d Compare March 10, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant