/
api gyroscope api gyroscope

api gyroscope - PowerPoint Presentation

luanne-stotts
luanne-stotts . @luanne-stotts
Follow
407 views
Uploaded On 2016-05-01

api gyroscope - PPT Presentation

measure device rotation rate Disclaimer This document is provided asis Information and views expressed in this document including URL and other Internet Web site references may change without notice You bear the risk of using it This document does not provide you with any legal rights ID: 301502

gyroscope device motion

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "api gyroscope" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

apigyroscope

measure device rotation rate

Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners. Slide2

gyroscope

g

yroscope

sensor

determines rotational

velocity of the device in each axis

.

use values

obtained from the gyroscope sensor to determine the orientation of the device in

space

if

you are interested in determining the attitude (yaw, pitch, and roll) of the device,

use

Motion

gyroscope

sensor is not required for

Windows

Phone

devices;

your phones do not have itSlide3

axis

http://en.wikipedia.org/wiki/Aircraft_principal_axes

see WikipediaSlide4

apis

Senses→has gyroscope

Indicates

if the gyroscope is available on the device

Senses→has

motion

Indicates

if the motion can be computed on the device. Motion requires accelerometer, compass and gyroscope.

Motion→

gravity

Gets

the gravity vector associated with this reading.

Motion

acceleration

Gets

the linear acceleration of the device, in gravitational units.

Motion→

yaw

Gets

the yaw of the attitude in degrees

Motion→

pitch

Gets

the pitch of the attitude in degrees

Motion→

roll

Gets

the roll of the attitude in degrees

Motion

→rotation

speed

Gets

the device rotation speed in degrees per sec.

Motion→

time

Gets

a timestamp indicating the time at which the reading was calculated

.Slide5

examplesSenses: gyroscope

☁ http://

touchdevelop.com/ijck

attitude graph

http://touchdevelop.com/otcr

gyroscope graph

http://touchdevelop.com/oegfa