Timeline for Set the start orientation of the gyroscope to initial phone orientation
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 10, 2019 at 12:56 | history | edited | DMGregory♦ | CC BY-SA 4.0 |
Removing preamble written for the other question, adding non-counter-rotating solution
|
Sep 10, 2019 at 11:36 | comment | added | DMGregory♦ | Looks like I neglected the fact that the phone sits sideways inside the headset. I've added a method to correct that above - you can adjust the angle if your phone has a different standard orientation inside the headset. If you're still observing a discrepancy in movements, then we'll need a very explicit test case to diagnose it. Like "I start with my head level, facing north. Input.gyro.attitude.eulerAngles reports (X1, Y1, Z1). I see A. I rotate my head slowly to the left until printing my eulerAngles reports (X2, Y2, Z2). I see B, but I expect to see C" | |
Sep 10, 2019 at 11:33 | history | edited | DMGregory♦ | CC BY-SA 4.0 |
Adding adjustment for phone angle inside the headset
|
Sep 10, 2019 at 9:20 | comment | added | Petrit | Now I put everything together in my sphere script but it does not work. It shows the opposite direction | |
Sep 10, 2019 at 1:39 | history | post merged (destination) | |||
Sep 9, 2019 at 14:30 | history | answered | DMGregory♦ | CC BY-SA 4.0 |