Pages: [1]   Go Down
Author Topic: accelerometer/magnetometer  (Read 528 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

can i get all three angle ( yaw,pitch,roll) by using accelerometer/magnetometer alone ?
thank you
Logged

Indiana
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It depends on what you want it to do.  Technically, you can do it with just an accelerometer.  Or just a gyro if you wanted.  Generally, the best way to go for an accurate yaw/pitch/roll measurement you would want all 3, accel, gyro, & mag.  Without a magnetmometer, your measurements will be subject to yaw drift.  Without a gyro, your yaw/pitch/roll measurements will not be very accurate, especially when the sensor is subjected to bumpiness. Your yaw/pitch/roll readings would only be valid  if the accelerometer were rotating smoothly and slowly, or steady-state positioning. 
Logged

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

do you mean if i rotate accelerometer slowly and smoothly, i can get 3 angles ?(forget about accuracy)
Logged

Offline Offline
Edison Member
*
Karma: 28
Posts: 2037
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Your angles depend on the accelerometer being able to determine which way is up ( or down ) from the earth's gravity.

If you device is accelerating in any direction,  the effect of gravity cannot be readily distinguished,  and the result will
be inaccurate.

Accelerometer will be sufficient if you device is stationary  or moving with a constant velocity in some direction and is
not subject to significant vibration.
Logged

Pages: [1]   Go Up
Jump to: