Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7955799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:48:00+00:00 2026-06-04T03:48:00+00:00

I know the (pitch, yaw, roll) coordinate system has its own flaw mathematical-wise. However

  • 0

I know the (pitch, yaw, roll) coordinate system has its own flaw mathematical-wise. However I really hope something instead or derived from this coordinates can be an alternative.

What I am try to do is moving the device (let’s say it’s an iphone) in the real world and trying to figure out the yaw and pitch regarding to user’s eye. Thus, the range of yaw should be (-180, 180) and range of pitch should be (-90, 90). While I move the iphone(always facing me) from bottom to front, the CMDeviceMotion gives me pitch changes from 0 to 90 and while I move the iphone(still facing me) from front to top, the CMDeviceMotion gives me pitch changes from 90 back to 0. These are good and I am perfectly happy about pitch data.

However, when pitch is close to 90, yaw is very shaky and unstable. Will, this is not the problem because I can ignore the change on yaw when pitch is around 90. However, the real problem is that the value of yaw changes dramatically before pitch increasing and after pitch decreasing. I mean it is not only shaky but the mean changes! changes something like 180(Pi). I guess that is because the coordinate totally changes. But I am lost on the coordinate transfering now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:48:02+00:00Added an answer on June 4, 2026 at 3:48 am

    This messy workaround you just described is exactly the reason why you should not use roll, pitch and yaw.

    You either go on this road further and make the mess bigger or use rotation matrices or quaternions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I 'd like to know how to obtain to heading , pitch , roll
I have three gyroscope values, pitch, roll and yaw. I would like to add
This proram is to detect values of the gyroscope (Roll, Pitch and Yaw). Please
I know the Sales pitch answer is yes to this question, but is it
I know that Phonegap has an event for back button, but it's only available
I know that this sort of question has been asked here before, but still
I want to change the pitch of my audio and I know that AV
I'd like to apply effects like pitch/reverb/delay/distortion on a recorded sound. Do you know
Let's say I have a class like: class NavigationData { float roll; float pitch;
I need to calculate the 2 angles (yaw and pitch) for a 3D object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.