printipi icon indicating copy to clipboard operation
printipi copied to clipboard

AxisSteppers should not have to be initialized with their index

Open Wallacoloo opened this issue 10 years ago • 0 comments

The first argument to an AxisStepper constructor is its own index within a tuple of axis steppers. Its used so that the MotionPlanner can operate on AxisStepper references, and call their index() method to map the reference back to its position in the tuple. So really, those parts of the MotionPlanner just need to be refactored to pass around both a reference and an associated index.

Wallacoloo avatar Jan 31 '15 22:01 Wallacoloo