am using two A4988 drivers to control two NEMA 17 stepper motors with 1.8 degree full step resolution on Rpi 2b. I am using them as wheels. The motors are initially given ramp signal using PGPIO wave_chain function and then a steady PWM signal using the SET_PWM function in PGPIO library.
The ramp and pwm are defined each wheel and are called together but the problem is the wheels turn one after the other and not synchronously.
pWhich wheel turns first depends on which wheels function is executed first. Please help me to resolve the issue