Calculation of Nutation and Rotation from Pitch and roll (yaw is fixed to 0)












0












$begingroup$


i am stuck attempting to convert two angles (pitch and roll) to represent tilt within a circle.



Take a plane $(Z text{(Vertical)}, X text{(Roll)}, Y text{(Pitch)})$



If i have $45$ degrees of roll, $Z$ is $45$ degrees from vertical. If I have $-10$ degrees of Pitch, $Z$ is $-10$ degrees from vertical.



Thats fine, but if I have BOTH $45$ degrees of roll, and $-10$ degrees of pitch, how do i find out how much i have?



The application is an inclinometer. I need to combine pitch and roll angles to show how many degrees from vertical the object is, and in which direction it is leaning. ($0$ degrees up, $90$ degrees right, $180$ degrees down, $270$ left.) I have been googling for hours and i am sure i have looked straight past the solution but my brain is cooked and i can't find the solution.



Im currently using $Z text{angle} = sqrt{text{roll^2} + text{pitch^2}}$



I think the angle i am looking for is called the angle of nutation??










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    i am stuck attempting to convert two angles (pitch and roll) to represent tilt within a circle.



    Take a plane $(Z text{(Vertical)}, X text{(Roll)}, Y text{(Pitch)})$



    If i have $45$ degrees of roll, $Z$ is $45$ degrees from vertical. If I have $-10$ degrees of Pitch, $Z$ is $-10$ degrees from vertical.



    Thats fine, but if I have BOTH $45$ degrees of roll, and $-10$ degrees of pitch, how do i find out how much i have?



    The application is an inclinometer. I need to combine pitch and roll angles to show how many degrees from vertical the object is, and in which direction it is leaning. ($0$ degrees up, $90$ degrees right, $180$ degrees down, $270$ left.) I have been googling for hours and i am sure i have looked straight past the solution but my brain is cooked and i can't find the solution.



    Im currently using $Z text{angle} = sqrt{text{roll^2} + text{pitch^2}}$



    I think the angle i am looking for is called the angle of nutation??










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      i am stuck attempting to convert two angles (pitch and roll) to represent tilt within a circle.



      Take a plane $(Z text{(Vertical)}, X text{(Roll)}, Y text{(Pitch)})$



      If i have $45$ degrees of roll, $Z$ is $45$ degrees from vertical. If I have $-10$ degrees of Pitch, $Z$ is $-10$ degrees from vertical.



      Thats fine, but if I have BOTH $45$ degrees of roll, and $-10$ degrees of pitch, how do i find out how much i have?



      The application is an inclinometer. I need to combine pitch and roll angles to show how many degrees from vertical the object is, and in which direction it is leaning. ($0$ degrees up, $90$ degrees right, $180$ degrees down, $270$ left.) I have been googling for hours and i am sure i have looked straight past the solution but my brain is cooked and i can't find the solution.



      Im currently using $Z text{angle} = sqrt{text{roll^2} + text{pitch^2}}$



      I think the angle i am looking for is called the angle of nutation??










      share|cite|improve this question











      $endgroup$




      i am stuck attempting to convert two angles (pitch and roll) to represent tilt within a circle.



      Take a plane $(Z text{(Vertical)}, X text{(Roll)}, Y text{(Pitch)})$



      If i have $45$ degrees of roll, $Z$ is $45$ degrees from vertical. If I have $-10$ degrees of Pitch, $Z$ is $-10$ degrees from vertical.



      Thats fine, but if I have BOTH $45$ degrees of roll, and $-10$ degrees of pitch, how do i find out how much i have?



      The application is an inclinometer. I need to combine pitch and roll angles to show how many degrees from vertical the object is, and in which direction it is leaning. ($0$ degrees up, $90$ degrees right, $180$ degrees down, $270$ left.) I have been googling for hours and i am sure i have looked straight past the solution but my brain is cooked and i can't find the solution.



      Im currently using $Z text{angle} = sqrt{text{roll^2} + text{pitch^2}}$



      I think the angle i am looking for is called the angle of nutation??







      trigonometry






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Sep 28 '14 at 2:59









      user179068

      273




      273










      asked Sep 27 '14 at 23:55









      WharbioWharbio

      10112




      10112






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          enter image description here



          Say we have pitch $ = alpha$ and roll $ = beta$. I'll assume that both are non-zero.



          Start with a vertical line segment $OA$ of length $1$. "Pitch" it to $OB$ and then "roll" it to $OC$. Then we want to find angle $ gamma$ between $OC$ and the $z$-axis. Using standard trig:



          begin{eqnarray*}
          u &=& cos{alpha} \
          v &=& ucos{beta} = cos{alpha}cos{beta} \
          gamma &=& cos^{-1}v = cos^{-1}left(cos{alpha}cos{beta}right).
          end{eqnarray*}



          We'll measure the direction in which $OC$ is leaning as an anti-clockwise angle from the $x$-axis. That is, angle $theta$. We have,



          begin{eqnarray*}
          s &=& sin{alpha} \
          t &=& usin{beta} = cos{alpha}sin{beta} \
          theta &=& tan^{-1}left(dfrac{t}{s}right)
          = tan^{-1}left(dfrac{sin{beta}}{tan{alpha}}right).
          end{eqnarray*}






          share|cite|improve this answer











          $endgroup$













            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f948803%2fcalculation-of-nutation-and-rotation-from-pitch-and-roll-yaw-is-fixed-to-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            enter image description here



            Say we have pitch $ = alpha$ and roll $ = beta$. I'll assume that both are non-zero.



            Start with a vertical line segment $OA$ of length $1$. "Pitch" it to $OB$ and then "roll" it to $OC$. Then we want to find angle $ gamma$ between $OC$ and the $z$-axis. Using standard trig:



            begin{eqnarray*}
            u &=& cos{alpha} \
            v &=& ucos{beta} = cos{alpha}cos{beta} \
            gamma &=& cos^{-1}v = cos^{-1}left(cos{alpha}cos{beta}right).
            end{eqnarray*}



            We'll measure the direction in which $OC$ is leaning as an anti-clockwise angle from the $x$-axis. That is, angle $theta$. We have,



            begin{eqnarray*}
            s &=& sin{alpha} \
            t &=& usin{beta} = cos{alpha}sin{beta} \
            theta &=& tan^{-1}left(dfrac{t}{s}right)
            = tan^{-1}left(dfrac{sin{beta}}{tan{alpha}}right).
            end{eqnarray*}






            share|cite|improve this answer











            $endgroup$


















              0












              $begingroup$

              enter image description here



              Say we have pitch $ = alpha$ and roll $ = beta$. I'll assume that both are non-zero.



              Start with a vertical line segment $OA$ of length $1$. "Pitch" it to $OB$ and then "roll" it to $OC$. Then we want to find angle $ gamma$ between $OC$ and the $z$-axis. Using standard trig:



              begin{eqnarray*}
              u &=& cos{alpha} \
              v &=& ucos{beta} = cos{alpha}cos{beta} \
              gamma &=& cos^{-1}v = cos^{-1}left(cos{alpha}cos{beta}right).
              end{eqnarray*}



              We'll measure the direction in which $OC$ is leaning as an anti-clockwise angle from the $x$-axis. That is, angle $theta$. We have,



              begin{eqnarray*}
              s &=& sin{alpha} \
              t &=& usin{beta} = cos{alpha}sin{beta} \
              theta &=& tan^{-1}left(dfrac{t}{s}right)
              = tan^{-1}left(dfrac{sin{beta}}{tan{alpha}}right).
              end{eqnarray*}






              share|cite|improve this answer











              $endgroup$
















                0












                0








                0





                $begingroup$

                enter image description here



                Say we have pitch $ = alpha$ and roll $ = beta$. I'll assume that both are non-zero.



                Start with a vertical line segment $OA$ of length $1$. "Pitch" it to $OB$ and then "roll" it to $OC$. Then we want to find angle $ gamma$ between $OC$ and the $z$-axis. Using standard trig:



                begin{eqnarray*}
                u &=& cos{alpha} \
                v &=& ucos{beta} = cos{alpha}cos{beta} \
                gamma &=& cos^{-1}v = cos^{-1}left(cos{alpha}cos{beta}right).
                end{eqnarray*}



                We'll measure the direction in which $OC$ is leaning as an anti-clockwise angle from the $x$-axis. That is, angle $theta$. We have,



                begin{eqnarray*}
                s &=& sin{alpha} \
                t &=& usin{beta} = cos{alpha}sin{beta} \
                theta &=& tan^{-1}left(dfrac{t}{s}right)
                = tan^{-1}left(dfrac{sin{beta}}{tan{alpha}}right).
                end{eqnarray*}






                share|cite|improve this answer











                $endgroup$



                enter image description here



                Say we have pitch $ = alpha$ and roll $ = beta$. I'll assume that both are non-zero.



                Start with a vertical line segment $OA$ of length $1$. "Pitch" it to $OB$ and then "roll" it to $OC$. Then we want to find angle $ gamma$ between $OC$ and the $z$-axis. Using standard trig:



                begin{eqnarray*}
                u &=& cos{alpha} \
                v &=& ucos{beta} = cos{alpha}cos{beta} \
                gamma &=& cos^{-1}v = cos^{-1}left(cos{alpha}cos{beta}right).
                end{eqnarray*}



                We'll measure the direction in which $OC$ is leaning as an anti-clockwise angle from the $x$-axis. That is, angle $theta$. We have,



                begin{eqnarray*}
                s &=& sin{alpha} \
                t &=& usin{beta} = cos{alpha}sin{beta} \
                theta &=& tan^{-1}left(dfrac{t}{s}right)
                = tan^{-1}left(dfrac{sin{beta}}{tan{alpha}}right).
                end{eqnarray*}







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Sep 29 '14 at 15:25

























                answered Sep 28 '14 at 8:09









                Mick AMick A

                8,7952825




                8,7952825






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f948803%2fcalculation-of-nutation-and-rotation-from-pitch-and-roll-yaw-is-fixed-to-0%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Human spaceflight

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                    張江高科駅