![]() |
which sensor to use
we want to be able to get the angle of a sensor mounted onto the robot, and aren't sure which sensor to use. We tried the gyro but there are some flaws (such as it infinitly going up after we turn in circles). What should we use?
|
Re: which sensor to use
Quote:
|
Re: which sensor to use
we want to measure the absolute angle of the robot itself. so a potentiometer would be good?
|
Re: which sensor to use
Quote:
What our team usually does is to assume the robot starts aligned with the field at power-up and integrate all the rate-of-change inputs from the gyro over time to get an absolute rotation. Note that the gyro will tend to drift a bit over time, and you'll probably want a driver station button to reset the baseline gyro output (that is, the voltage reading from the gyro which the software interprets as zero rate of change). |
Re: which sensor to use
we want to be able to read the angle of the robot relative to horizontal so when we go on the bridge, it will balance itself. we got it to work, but we have to reset it before and i didn't know if there was a better way
|
Re: which sensor to use
Quote:
|
Re: which sensor to use
so there really is no "perfect" sensor to use?
|
Re: which sensor to use
For measuring tilt? A multi-axis accelerometer is the only reasonable choice. But no single sensor is "perfect". If you want the best possible information about the robot and its environment, you have to use many different sensors and a good algorithm for combining imprecise, noisy, and sometimes contradictory signals.
|
| All times are GMT -5. The time now is 08:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi