Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Calculating "aviation" roll from sensors

Calculating "aviation" roll from sensors

Put your problem here if it does not fit any of the other categories.

Calculating "aviation" roll from sensors

Postby penfoldcrumbs » Tue Apr 19, 2011 2:31 pm

Hi, I am trying to calculate roll from the sensors, these seem to work fine when I hold the phone vertically, but when the phone is flat (lying on a table) the roll values become useless and the azimuth values seem to be relevant. Now, holding the phone half way between these two extremes, I would guess that I need to use both values somehow to calculate the real roll of the phone.

Think racing games, you can hold your device in front of you and use the roll to turn, or hold it flat and still use the roll to turn

A better example is an quad emulating the ground. Now when I roll the phone, the quad should stay horizontal, regardless of how I hold it.

Any pointers?

Thanks in advance.
penfoldcrumbs
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Apr 19, 2011 2:23 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 13 guests