harvard-microrobotics / dpss

All of the important code for the Custom DPSS laser
MIT License
0 stars 0 forks source link

Fixed motion error when interp distance is zero #5

Closed cbteeple closed 3 years ago

cbteeple commented 3 years ago

Fixed a big where the program throws an error when xy interpolation distances are both zero.

  1. Split homing and origin shift motion out into a small subroutine for motion with an offset
  2. Added checks for if both x and y distances are zero (do not move if true)
  3. Verified working