I've been trying to figure out exactly how to decide the velocity parameters.
Moving my arm to a specific location and back and changing the values produces puzzling results.
1. Velocity is Obvious. A percentage of the maximum step rate out to the motors. No motor is allowed to go faster than this during simultaneous moves.
2. Ramp. Again a percentage. Likely the maximum that the motor can physically reach the maximum step rate. I can't find what this is a percentage of in the AR4_teensy41_sketch_v6.7.1.ino file.
3. The Acceleration/Deceleration are also percentages but it appears, from observation these are percentages of the overall time for the complete motion? So it the move takes 2 seconds and the Accel/Decel are set to 25% then Accel takes 0.5 seconds and the decel takes 0.5 seconds and the rest of the time the arm is moving at Velocity speed for 1 second.
However it appears as if the 0.5 second time doesn't match a high value of the Ramp. The arm spends most of that time appearing to travel at a slower speed and then suddenly speeds up to the Velocity rate.
Where are the maximum step and accel rates stored that these are percentages of?
Loading comments…
