Shop OBEX P1 Docs P2 Docs Learn Events
-180 to 180 degree roll angle from memsic — Parallax Forums

-180 to 180 degree roll angle from memsic

avionikerenavionikeren Posts: 64
edited 2009-02-21 13:11 in Propeller 1
Is it possible to get full tilt in one direction with a memsic sensor tilted 90 degrees?

And if possible, can I use the memsic propeller object in any way to do it?

Comments

  • virtuPICvirtuPIC Posts: 193
    edited 2009-02-21 11:04
    The Memsic sensor only senses linear acceleration. If your sensor does not accelerate in any other direction you can compute the direction for full roll. However, if you get additional acceleration in vertical direction (dropping) or is shifted to the side you will get errors.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Airspace V - international hangar flying!
    www.airspace-v.com/ggadgets for tools & toys
  • avionikerenavionikeren Posts: 64
    edited 2009-02-21 11:29
    Made it work now, tongue.gif

    Have seen this kind of sensing beeing done·with pendulum from goodrich,
    they was filled up with oil so the acceleration should not make any big impact,
    I`m trying to do the same·by only·letting the code travel one degree at a time...
  • virtuPICvirtuPIC Posts: 193
    edited 2009-02-21 12:33
    Kinda non-linear digital low pass filter... smilewinkgrin.gif Well, if speed is still dufficient. Recently I had some discussion here with cessnapilot on rotation detection with linear sensors. But for that approach you would need two single sensors at different locations measuring centrifugal acceleration.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Airspace V - international hangar flying!
    www.airspace-v.com/ggadgets for tools & toys
  • avionikerenavionikeren Posts: 64
    edited 2009-02-21 13:02
    ah, gets complicated then...

    i`m going to use in a underwater robot, so the movement is very slow...
  • virtuPICvirtuPIC Posts: 193
    edited 2009-02-21 13:11
    Well, in this case the centrifugal forces probably are too small to measure. But I would also expect alien acceleration very small due to viscosity. At least if you won't use it near a propeller or power plant...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Airspace V - international hangar flying!
    www.airspace-v.com/ggadgets for tools & toys
Sign In or Register to comment.