Questions tagged [gyroscope]

A gyroscope is a device for measuring or maintaining orientation, based on the principles of angular momentum. Modern high-end Mobile devices have been supplying this device.Thus, many uses are found in Android API and iOS API.

A gyroscope is a device for measuring or maintaining orientation, based on the principles of angular momentum. Mechanically, a gyroscope is a spinning wheel or disk in which the axle is free to assume any orientation. Although this orientation does not remain fixed, it changes in response to an external torque much less and in a different direction than it would without the large angular momentum associated with the disk's high rate of spin and moment of inertia. Since external torque is minimized by mounting the device in gimbals, its orientation remains nearly fixed, regardless of any motion of the platform on which it is mounted.

805 questions
-1
votes
2 answers

How to get the (x,y,z) value of HTC vive Gyroscope in real-time?

have you met this problem?I want to get the X,Y,Z values from htc vive HMD in real-time,but i don't know how to do it.I guess whether the htc vive SDK has the special interface for developer?Could you please give me some help?thank you!
YangFuxing
  • 19
  • 1
-1
votes
1 answer

Issue with cannot resolve method & symbol

From this code I have a few issue with the sqrt, sin & cos cannot resolve method and the EPSILON cannot resolve symbol. Do I need to add in math library for the sin cos & sqrt? If yes can you give me the link to download the jar? float…
MdZain
  • 1
  • 4
-1
votes
1 answer

Unity3D - How to get highest value for acceleration from Input.gyro

I'm trying to develop an app that can detect car acceleration, braking and cornering speed. I need to detect device acceleration. Is that acceleration high or low?. Like flo app on Google Play. I'm using gyroscope and I need to get highest value for…
user4589444
-1
votes
1 answer

How can I access the gyroscope from onResume?

I have some code that aims to count how many times the user turns too quickly. I implemented a gyroscope and have some code working within on Resume to collect the data, along with some voice outputs. However, I am having problems making the…
sjgandhi2312
  • 155
  • 1
  • 2
  • 10
-1
votes
1 answer

Horizontal Video recording using camera in iOS

Is there any way to record a video horizontally ? Would gyroscope attitude help me to execute this feature. Please suggest me that what approach should i used?
Arpi
  • 397
  • 2
  • 5
  • 14
-1
votes
1 answer

receive data with s.recv()

I have this little part of code and I think my computer is connected to my sensor (Gyro sensor) but it has a big problem with recv part. With this s.recv() part my program stuck and no result. Waiting for idea. Thanks in advance import socket…
-1
votes
1 answer

How do I passively detect a dropped iPhone or Android?

I want to tell if someone broke their iPhone screen by dropping it so I can open a special UI in emergencies like this. I don't want to waste the battery and spin up an internal gyroscope all the time, so is there any way to passively detect a…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
-1
votes
1 answer

Mobile phone movement in space

is it possible to track mobile phone movement in space? I need and info like: vertical position of the phone and it's movement in 3d space of our world. So lets imagine that we are holding phone at 1.5 meters from the ground and moving it by circle…
Max Frai
  • 61,946
  • 78
  • 197
  • 306
-1
votes
1 answer

calculating tilting angle using labview, cdaq and imu

i would like to ask how to calculate tilting angle accurately using IMU unit SN-IMU5D-LC http://www.cytron.com.my/viewProduct.php?pcode=SN-IMU5D-LC and cDAQ 9188 and labview how to implement kalman filter or complementary thanks
-1
votes
1 answer

Unit in which gyroscope returns useracceleration

I am using Gyroscope's useracceleration and trying to convert it to speed and ultimately to distance. Error for now is not a concern. The problem is that i do not know what are the units of the value that gyroscope's user acceleration returns. As…
Moon
  • 19,518
  • 56
  • 138
  • 200
-1
votes
2 answers

About android Sensor TYPE_GYROSCOPE

Hello friends in my app I want to put sensor like when I rotate mobile from north to south at this time sensor is called, for that I see TYPE_GYROSCOPE is used but I don't know exactly how it can be used for my app Please give any example for when…
Nirav Mehta
  • 1,715
  • 4
  • 23
  • 42
-1
votes
3 answers

How to find android device orientation?

Is it possible to detect current orientation of an android device using sensors like Gyroscope? By orientation I mean whether the device is held vertical to ground or placed horizontally on a surface etc... Thanks in advance.
sreejith.virgo
  • 333
  • 1
  • 4
  • 15
-1
votes
2 answers

Teeter game using motion sensor

I'm relatively new to SpriteKit and I'm looking to make a game similar to Teeter so I can develop my personal knowledge. After spending a couple of days searching around the web I could not find any tutorials that teach you how to use iPhones motion…
arled
  • 2,577
  • 6
  • 27
  • 49
-1
votes
1 answer

Can gyroscope hang, stop working, return zeros?

Testing on iPad 4, happened also on iPad mini. AIR application uses native extension to retrieve data from gyroscope. Sometimes, seems like after a while of not using the iPad, everything works fine, but the gyroscope returns zeros or just doesn't…
kosmo
  • 175
  • 2
  • 13
-1
votes
1 answer

Attitude calculation from mems gyroscope

I'm using MEMS gyroscope to calculate orientation of device(Yaw, Pitch and roll). I got following pdf which specifies about how to process raw data available from chip and calculate orientation. This doc tells about using quaternion to do…
1 2 3
53
54