First bot speed problems
Prettybird
Posts: 269
· I am getting the bugs out of my first boebot and having problems. I admit I got carryed away and am pushing the servos to the max. After modifing the program for a 5 button parallax R/C control the bot seemed to slow down. It never went in reverse when running the original program but noticed that running in reverse with the R/C, is much faster then forward. It may be mechanical but don't think so. Just learning programming some and try to keep the original program the same except for some offsets I put in to make it go straight. I know I will need stronger servos when I can afford them. Just trying to get by for now. Any ideas would be appreciatted. You guys have helped me alot and I appreciate it. I am enclosing a copy of the program I am working on.
The more you learn, the more you find you don't know. It is neverending.· Confucous 550 BC
The more you learn, the more you find you don't know. It is neverending.· Confucous 550 BC
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"THE ONLY TRUE WISDOM IS IN KNOWING YOU KNOW NOTHING." - SOCRATES
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"THE ONLY TRUE WISDOM IS IN KNOWING YOU KNOW NOTHING." - SOCRATES
A simple ' IF (irDetectLeft = 0) or (irDetectRight = 0) THEN ' will cover all those cases
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"THE ONLY TRUE WISDOM IS IN KNOWING YOU KNOW NOTHING." - SOCRATES
Also this code looks very similar to a code I help out with awhile ago..
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
Another thing is that you over write the old distance data back to 30 and I'm not sure why you need 10 pings))) when only one should work since I do not see you getting an average from the Ping)))s your getting.
here is how fast the ping works in the video but I wished I moved the camera to the computers screen so you could see the ping backs in inches.
[noparse][[/noparse]url]
have fun programming and hacking and if you need any help converting my program to your let me know.
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..