Main Program: GOGO.ino
ADD:
- 當夾爪在籃子上方時,釋放夾爪會讓兩個籃子馬達繃緊,確保東西不會掉落
- 修正 BSK() 跳出問題
- 刪除角度弧度轉換 function ,以內建常數替代
TODO:
How to Calibrate Scara ARM:
- Using attch() to initialize min and max pulse width https://www.arduino.cc/en/Reference/ServoAttach
- ARM1 reset: offset1 = M1 set to 0 then measure the angle between X+ & ARM1
- ARM2 reset: offset2 = make ARM1 & ARM2 parallel then record M2
Including:
- PS2 control
- DC motor control
- Servo motor control
- XY Scara Arm control
Discard:
- Stepper motor control