Skip to content

Feature/2154 stepper motor update#606

Merged
JulianHammerl merged 5 commits into
developfrom
feature/2154-stepper-motor-update
May 27, 2026
Merged

Feature/2154 stepper motor update#606
JulianHammerl merged 5 commits into
developfrom
feature/2154-stepper-motor-update

Conversation

@JulianHammerl

@JulianHammerl JulianHammerl commented May 26, 2026

Copy link
Copy Markdown
Collaborator
  • Tickets addressed: xmera-2154
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Updates stepperMotor so it stays consistent with stepperMotorController under
interrupts and stop commands, and exposes absolute position + motion status on its
output.

Five commits, intended to be reviewed in order:

  1. Anchor each step's tInit to the previous step's tf so the motor rate doesn't
    drift when the update period doesn't divide stepTime evenly.
  2. Add isMotorMoving to the output message.
  3. Add motorPosition (cumulative net signed step count, never reset) to the output
    message.
  4. Add stopMotorCommand to MotorStepCommandMsgPayload; when set, halt at the next
    step boundary via a pendingStop flag.
  5. Refresh stepperMotor.rst.

Verification

All tests still pass.

Documentation

Documentation updated.

Future work

None

@JulianHammerl JulianHammerl force-pushed the feature/2154-stepper-motor-update branch from ee25fcb to 7e4d667 Compare May 27, 2026 16:58
@JulianHammerl JulianHammerl merged commit 1e7a580 into develop May 27, 2026
5 checks passed
@JulianHammerl JulianHammerl deleted the feature/2154-stepper-motor-update branch May 27, 2026 17:56
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.

3 participants