Skip to content

Commit

Permalink
Explicitly refresh positions before moving motor after stall
Browse files Browse the repository at this point in the history
  • Loading branch information
fsinapi committed Aug 15, 2023
1 parent df82107 commit ed0b0c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ async def _force_gauge(
# we expect a stall has happened during pick up, so we want to
# update the motor estimation
await api._update_position_estimation([Axis.by_mount(mount)])
await api.refresh_positions()

await api.move_to(mount=mount, abs_position=pre_test_pos)

Expand Down

0 comments on commit ed0b0c2

Please sign in to comment.