IEEERobotics / bot

Robot code for 2014.
BSD 2-Clause "Simplified" License
18 stars 11 forks source link

Magnetomenter for localization #410

Open jonathonwpowell opened 9 years ago

jonathonwpowell commented 9 years ago

I am looking into the possibility of using a magnetometer (compass) as part of our localization strategy. I believe it will be a helpful piece of the puzzle in figuring out where we are on the course. Please respond with thoughts and opinions.

Information found so far: Sparkfun Magentometer Magnetometer Toutorial Adafruit Magnetometer We have at least two compasses already

jonathonwpowell commented 9 years ago

Ideas for use of the compass:

jonathonwpowell commented 9 years ago

A magnetometer has been used tin a prior competition and had issues on-site for competition but not while testing at ncsu. Need to make sure bot does not rely on compass to function properly

Sidd-GrizzAp3 commented 9 years ago

I was thinking of developing some sort of hybrid localization system: one for long-range: deadreckoning localization, and then mitigate error accruing: correct via the chosen computer vision (kinect or bumblebee or w.e.).

I.e. always go to a known corner of the map as a "Pylon", can use proximity sensors and computer vision to verify at pylon. Then we can use dead reckoning to navigate to the desired location approximately, and then once in the vicinity, can use computer vision with qr codes (which actually gives a lot of distance, and angle of viewing data) to "dock" to the desired exact position for desired action i.e. getting blocks, or dumping blocks. I think dead reckoning would be easy to implement and not that cpu intensive and fast control of movements for big moves around the course. For the more exacting movements we can use less error prone technologies.

Having said this, I think this would be a good idea to use a compass as part of the dead reckoning! @kvijay1995 @BrettGoldbach @kennychuang @AhmedSamara #393

tabarrett commented 8 years ago

Sean, VJ and I all messed around with alternate localization devices we tested Sonics using arduinos using code similar to this: http://www.theengineeringprojects.com/2015/02/interfacing-multiple-ultrasonic-sensor-arduino.html. We also tried using a magnetometer(compass): http://www.funnyrobotics.com/2011/03/arduino-with-hmc6352-digital-compass.html. Both worked but the sonics had limited range and were off by a centimeter. The magnetometer recording were similar to the value from our smartphone compasses