Ramping question
I am in the process of tuning my new Boe-Bot.· I read in the manual that ramping saves wear and tear on the servos and is easier on the batteries.· My question is whether it is·best practice·to build ramping into all of the Boe-Bot movements or are there situations where it is undesireable.
If the answer is that I should use ramping, I have a problem that I need to solve.· While I have tuned the servos for straight forward and backward movement, during ramping up and down the Boe-Bot skews slightly to the left.· How do I compensate for this movement?· I've tried tweaking the duration, but I can't seem to smooth out the ramping process.
Thanks in advance!
I've never had so much fun working out problems.· I'm sorry that I didn't do this long ago!!
If the answer is that I should use ramping, I have a problem that I need to solve.· While I have tuned the servos for straight forward and backward movement, during ramping up and down the Boe-Bot skews slightly to the left.· How do I compensate for this movement?· I've tried tweaking the duration, but I can't seem to smooth out the ramping process.
Thanks in advance!
I've never had so much fun working out problems.· I'm sorry that I didn't do this long ago!!
Comments
Smoothing out ramping and keeping movement balanced depends on how you've done the ramping. Could you attach your code to your next message (don't just cut and paste) using the Attachment Manager you get with the Post Reply button?
As I mentioned, I had wheel encoders for synchronizing the wheels and measuring distance. My best calibrated turns came from simply stopping one wheel briefly while the other wheel stayed on full for x units.
http://www.youtube.com/watch?v=5r2En4hLUBI
http://forums.parallax.com/showthread.php?p=772850
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
This is the code I was using.· Thanks for your help.
That's a great suggestion for a workaround!· I'll try that!· Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."