Some more advanced moves for the hexapod! Still running on the arduino which has its work cut out for it, with all the trigonomic functions xD
I made a more general function for taking a single step. It accepts a step size, step direction, and whether to rotate in place or not.
To walk multiple steps i call the step function repeatedly, and any changes in the parameters are seamlessly applied.
Now i just need to make the rotate-in-place functionality continous instead of yes/no so that the hexapod can walk forward while turning the body.