Skip to content

Add Fishel Lab script commands for Zaber LSQ, Zaber NMS, and PI E-709 motors - #169

Open
teaguesvendsen287 wants to merge 2 commits into
masterfrom
Fishel-lab-custom-motor-commands
Open

Add Fishel Lab script commands for Zaber LSQ, Zaber NMS, and PI E-709 motors#169
teaguesvendsen287 wants to merge 2 commits into
masterfrom
Fishel-lab-custom-motor-commands

Conversation

@teaguesvendsen287

Copy link
Copy Markdown
Collaborator
  • Add 7 custom script Command dataclasses (LinearMoveCommand, LinearJogCommand, LinearHomeCommand, RotaryMoveCommand, RotaryJogCommand, FocusMoveCommand, FocusJogCommand), each with a wait_until_done field
  • Add ScriptMoveErrorCommand for reporting motor failures during script execution
  • Implement wait_until_done flow: motor managers poll hardware in fetch() and send UpdateWaitingCommand back to ScriptManager once movement completes
  • Add register_script_command decorators on all new handlers so they are discoverable by ScriptRegistry
  • Create example script (examples/fishel_lab_scripts/) showing usage of all 7 commands with wait_until_done

teaguesvendsen287 and others added 2 commits May 21, 2026 14:22
… motors

- Add 7 custom script Command dataclasses (LinearMoveCommand,
  LinearJogCommand, LinearHomeCommand, RotaryMoveCommand,
  RotaryJogCommand, FocusMoveCommand, FocusJogCommand), each
  with a wait_until_done field
- Add ScriptMoveErrorCommand for reporting motor failures
  during script execution
- Implement wait_until_done flow: motor managers poll hardware
  in fetch() and send UpdateWaitingCommand back to ScriptManager
  once movement completes
- Add register_script_command decorators on all new handlers
  so they are discoverable by ScriptRegistry
- Create example script (examples/fishel_lab_scripts/) showing
  usage of all 7 commands with wait_until_done
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