Question on compass vs. gyroscope for navigation
SteveJ
Posts: 13
Hi,
I'm an experienced programmer, but, relatively new to robotics.
I have set my Stingray to rotate for fixed amounts of time and find that the actual distance will vary depending on the charge remaining on the batteries. I'm considering adding a compass or a gyroscope. Can anyone advise on pros and cons of each?
Is there a better method to control the problem I'm seeing with the rotation distance problem?
Regards,
Steve
I'm an experienced programmer, but, relatively new to robotics.
I have set my Stingray to rotate for fixed amounts of time and find that the actual distance will vary depending on the charge remaining on the batteries. I'm considering adding a compass or a gyroscope. Can anyone advise on pros and cons of each?
Is there a better method to control the problem I'm seeing with the rotation distance problem?
Regards,
Steve
Comments
Welcome to the forums! I recently got into robotics as well and created my homemade Stingray.
I think your solution might be quadrature encoders on the motors or wheels so you can accurately determine the number of RPMs and distance traveled.
The motors are not perfectly matched and you can't really compensate for all of the variables thru program code. Search the forums for quadrature encoders and you can find some good information.
- Ron
Thanks for the suggestion. Good to see the solution in action!
Steve
and I had an article in Robot magazine on that bot.
I'm sticking to my story that REAL MEN make their robots out of plywood, plus they make their own encoders!