compass recommendations?
i'm looking to use a compass on my next bot project.
any recommendations?
thx!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
any recommendations?
thx!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
Comments
http://www.imagesco.com/catalog/DigitalCompass/DigitalCompass.html
http://www.acroname.com/robotics/parts/R117-COMPASS.html
http://www.dinsmoresensors.com/
The only issues I can think of:
- You'll need to calibrate it (no big deal)
- For some reason, you can't use the Stamp I2C commands with the Devantech unit. Someone correct me, but I think this might be a Stamp issue more than anything
- Like all compasses, if you're robot goes over major terrain, consider building a gimbal to compensate for roll and yaw
One final question: do you really need a compass? Most folk really only want to know relative heading (followed by dead reckoning), not absolute. If so, consider a MEMS gryoscope, too. They're much smaller in footprint and easy to use.
-marc
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
i've not worked with them before, so maybe i'm not seeing something here....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
If you do a constant rate of rotation it only requires the start time, stop time and the constant angular velocity: Θ = (delta time)∙α.
For non-constant it requires to minuature summations of angles using what is called Euler's method of linear aproximation and is explained rather well here: http://www.ugrad.math.ubc.ca/coursedoc/math100/notes/mordifeqs/euler.html
by subdividing the total angle into many peices you construct a peicewise linear reconstruction of the angle by assuming the change in angular velocity between your present position and the previous position is linear. This is true if the 3rd derivative of the angular·position is 0,·IOW acceleration is constant over the time period.
Post Edited (Paul Baker) : 4/17/2005 11:27:52 PM GMT
well here's an interesting problem. a tracked robot doesnt turn at a constant rate. so I'd have to use Eulers method in figuring the linear displacement. but with a cursory look thru the equation, i'm not really sure that I'm finding how the gyro data will figure in. keep in mind, i've never touched a gyro, so i'm not really sure what kind of information i'm going to get back to the stamp. maybe i should pick up one of those first, tie it in to the stamp and then go from there.
thanks for the info..i'm sure its going to be needed in the immediate future.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
Heres a drawing explaining eulers method pictorally, it will explain much of the concept to you.
The black line is the actual angular velocity over time, the vertical red lines represent when you aquire data and the lines connecting·your measured values·is the assumption of Euler and the resultant error is the difference between the red and black lines. For the first two time periods it does quite well estimating the actual curve but doesn't come close later on. By taking more samples you get closer and closer to the curve. To calculate the delta Θ over the time period you compute the area created by the trapezoid for the time interval of the current sample and the previous sample and keep a running sum of these areas, this sum is your angle.
Post Edited (Paul Baker) : 4/18/2005 12:08:14 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
Ken
any kind of stats or info yet?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************
-marc
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
**************
daniel woolston
Teksystems Inc.
www.danwoolston.com
**************