Though general programming practices, iv managed to reverse engineer most of the ATOM codes used in lynxmotions robots, but im a bit stuck with the command (MovesDelai)
This could be a silly queston and one im not afraid to ask!
what is (MovesDelai)?
if XCoord or YCoord or ZCoord or WCoord then
MovesDelai = 8
endif
if MovesDelai then
MovesDelai = MovesDelai - 1
i understand that it’s placement within the code is as a Variable, but im not understanding why its used?
MovesDelay is used to run the calculations through enough states to generate a gait cycle. Also appears to provide a slight pause between steps to allow for other (inputs?) operations.
Each time a move is needed, the count is set positive (8 or more) to give the step generation code time to cycle and move the legs.