Pages: [1]   Go Down
Author Topic: How to use RAZOR 9DoF AHRS for positioning  (Read 2280 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi dear friends,

Im quite new on the RAZOR 9DoF IMU unit.

Basically, I hope to use the sensor to get the position of a vehicle. Is there anyone knows how to do this? it would be nice if there is a sample code or interface for the positioning.

Many thanks!
« Last Edit: September 16, 2012, 12:52:09 am by wanget1234 » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 179
Posts: 8064
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can only use an inertial navigation system to measure changes in position.  For each time interval, determine the orientation and acceleration to get the 3D velocity vector. Integrate that vector over time to get position.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your reply, I understand that I need integration to get the change in position. My problem is that my programming skill is really bad... smiley-sad
I have the firmware given in the tutorial, but I don't know how should I write the code based on the firmware to achieve it. Could you pls kindly help me on this?
Many thanks!
Logged

Toledo, OH
Offline Offline
Sr. Member
****
Karma: 19
Posts: 455
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your reply, I understand that I need integration to get the change in position. My problem is that my programming skill is really bad... smiley-sad
I have the firmware given in the tutorial, but I don't know how should I write the code based on the firmware to achieve it. Could you pls kindly help me on this?
Many thanks!

The level of programming required to do what you're looking for is quite advanced.  This is not your basic issue a call and get your coordinate type of thing.  Basically, even if someone wrote custom code for you to calculate your position you still wouldn't be able to implement that information to do anything useful as that would also require a bunch of custom programming, and so on...

Here's a thread that may help you grasp the complexity of what you're asking for:

http://arduino.cc/forum/index.php/topic,58048.0.html

If this is about your pay grade, you either need to work on your coding skills or hire someone to program for you.

Tim
Logged

Arduino Uno - Teensy 2.0 - Teensy 3.0 - Raspberry Pi Model B w/512MB RAM
My libraries: NewPing library - LCDBitmap library - toneAC library - NewTone library

0
Offline Offline
Full Member
***
Karma: 3
Posts: 180
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In most circumstances GPS will give you the position of a car much easier than an IMU.  Trying to get your position in an urban canyon with GPS can be difficult because you may not have large enough view of the sky to be able to connect to 4 or more sats, in this instance you may want to try an IMU and update the the position as soon as you get a GPS lock to correct the drift the IMU WILL have.

wade
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi I am also working on the distance travelled using accelerometer data can some help me how to do it?
Logged

Pages: [1]   Go Up
Jump to: