Shortest rotation distance math
Posted: Mon Jul 23, 2018 9:48 am
Last steps of my tool changer code to sort.
Been racking my old brain to work out best math to work out shortest distance math with roll over.
Rotary tool rack with 6 tools
Eg tool 2 to tool 6
6-2 =4 steps
But it’s quicker to reverse direction and go 2-1-6 which is only 3 steps.
Been racking my old brain to work out best math to work out shortest distance math with roll over.
Rotary tool rack with 6 tools
Eg tool 2 to tool 6
6-2 =4 steps
But it’s quicker to reverse direction and go 2-1-6 which is only 3 steps.