Predicting the time it takes PSC to finish a servo command
FleurDeLis
Posts: 2
How does one predict the time it will take for a motion to complete?
It would be great if I could consult a chart or use an equasion to predict what the combination of "rate" and "position" would equal in "time".
guessing and trail and error are too long of a process...any help?
keith rowell
http://knewt.blogspot.com/
It would be great if I could consult a chart or use an equasion to predict what the combination of "rate" and "position" would equal in "time".
guessing and trail and error are too long of a process...any help?
keith rowell
http://knewt.blogspot.com/
Comments
·· Under ideal circumstances this would seem to be easy.· But it's not an exact science as there are more factors than just the motion/speed of the servo.· As batteries weaken speeds change.· As servos are put under load or stall, these parameters would also change.· Even the position of a servo can affect it's speed.· For example, consider a servo moving an arm.· Going down might go quickly, whereas going up the servo works harder, so it would take longer.· Just some things to consider.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
keith rowell
http://knewt.blogspot.com/
·· The best way to go about that would be to chart them on your servos, at the voltage you're running them at.· We could give you fully accurate specs based on a test model here, and it may be off from your setup there, even just due to slight differences in the servo itself, as well as the batteries or power supply.· Good luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don Buczynski
http://www.buczynski.com
·· You bring up some good points.· My main point to Keith was that you can take two identical setups, and the same code, and get somewhat different results on the values he was looking for in values for rate / distance travelled in milliseconds.· It would be fun to work on though!·
Keith,
·· If you can come up with some sort of table for the values and rates for the ramping, it might be worth some Parallax Hardware.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com