|
@ -5116,20 +5116,8 @@ static void report_current_position() { |
|
|
stepper.report_positions(); |
|
|
stepper.report_positions(); |
|
|
|
|
|
|
|
|
#if IS_SCARA |
|
|
#if IS_SCARA |
|
|
SERIAL_PROTOCOLPGM("SCARA Theta:"); |
|
|
SERIAL_PROTOCOLPAIR("SCARA Theta:", stepper.get_axis_position_mm(A_AXIS)); |
|
|
SERIAL_PROTOCOL(delta[A_AXIS]); |
|
|
SERIAL_PROTOCOLLNPAIR(" Psi+Theta:", stepper.get_axis_position_mm(B_AXIS)); |
|
|
SERIAL_PROTOCOLPGM(" Psi+Theta:"); |
|
|
|
|
|
SERIAL_PROTOCOLLN(delta[B_AXIS]); |
|
|
|
|
|
|
|
|
|
|
|
SERIAL_PROTOCOLPGM("SCARA Cal - Theta:"); |
|
|
|
|
|
SERIAL_PROTOCOL(delta[A_AXIS]); |
|
|
|
|
|
SERIAL_PROTOCOLPGM(" Psi+Theta (90):"); |
|
|
|
|
|
SERIAL_PROTOCOLLN(delta[B_AXIS] - delta[A_AXIS] - 90); |
|
|
|
|
|
|
|
|
|
|
|
SERIAL_PROTOCOLPGM("SCARA step Cal - Theta:"); |
|
|
|
|
|
SERIAL_PROTOCOL(delta[A_AXIS] / 90 * planner.axis_steps_per_mm[A_AXIS]); |
|
|
|
|
|
SERIAL_PROTOCOLPGM(" Psi+Theta:"); |
|
|
|
|
|
SERIAL_PROTOCOLLN((delta[B_AXIS] - delta[A_AXIS]) / 90 * planner.axis_steps_per_mm[A_AXIS]); |
|
|
|
|
|
SERIAL_EOL; |
|
|
SERIAL_EOL; |
|
|
#endif |
|
|
#endif |
|
|
} |
|
|
} |
|
|