Rewrote a lot of code to suit the existing farmbot development methods. I don't fully understand the 'Class::getInstance->function()' style, but it works for the farmbot team, and now it works here too.
Fixed movement errors - now reports encoder positions during movement. The CANbus functionality was previously locked out by the 'while (axisActive[...' section of StepperControl.cpp was in effect.
*Sending 'zero axis' commands now changes the remote modules as well
*Still to fix:
Home routine on Z axis (no idea why Z is having issues but X and Y are fine?)
Negative encoder value handling (possibly messed up by remote modules...)
Speed! Motor speed doesn't change after editing the config.h file? So slow!
Rewrote a lot of code to suit the existing farmbot development methods. I don't fully understand the 'Class::getInstance->function()' style, but it works for the farmbot team, and now it works here too. Fixed movement errors - now reports encoder positions during movement. The CANbus functionality was previously locked out by the 'while (axisActive[...' section of StepperControl.cpp was in effect. *Sending 'zero axis' commands now changes the remote modules as well
*Still to fix: