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
0
votes
1 answer

Use gyroscope data to rotate virtual camera - OpenGL ES on iOS

I have created an augmented reality app based on the Vuforia platform. I am modifying it so that if the target is lost, the system will use the last known position of the target, together with device orientation data from CoreMotion to keep the…
That Guy
  • 460
  • 1
  • 7
  • 17
0
votes
1 answer

iOS 5/6 Gyroscope north reference

i have a problem to read out the internal gyroscope of the iphone correctly. I had developed a augmented reality engine based on the magnetometer. Because the gyroscope gives more reliable values than the magnetometer, i wanted to improve the…
Philip
  • 112
  • 14
0
votes
1 answer

Finding Hardware availability "programmatically" on android devices

I am developing an application based on GPS / Accelerometer / Gyroscope and Linear Acceleration. I wanted to know, is there any way I can find out the hardware (Accelerometer / Gyroscope and Linear Acceleration) availability on my device. Because,…
Shweta
  • 807
  • 3
  • 11
  • 24
0
votes
1 answer

Logcat unable to display gyroscope values

I am displaying and checking the values of gyroscope via my Nexus mobile device.Earlier I used to get the values as soon as connect my device.However, I also checked by using Log.v as in case if the listener is getting called, and it is working.But…
Shweta
  • 807
  • 3
  • 11
  • 24
0
votes
1 answer

Astronomical altitude from iOS device

How can I retrieve the astronomical altitude that an iOS device is pointed towards? The goal is to be able to point the devices camera at the sky and have it display the altitude. Astronomical altitude is the angle between an object and the…
Dash
  • 17,188
  • 6
  • 48
  • 49
0
votes
1 answer

HTML5 page which returns sensor data from iPhone to server

for the past few days i was working on a project that uses iPhone's gyroscope to move items on a computer's screen, i use an app called "Sensorlogger" that can stream the sensor data to the computer using UDP; a Java application received that data…
0
votes
1 answer

iPhone leaning angle - use Gyroscope?

I would like to know how many degrees is the iPhone leaning when being held upright - that is, if I point the iPhone up, I would like to know how many degrees it is looking up at? I think that I can use the gyroscope and core motion for this, and I…
geekyaleks
  • 1,281
  • 3
  • 18
  • 29
0
votes
2 answers

Detect verticality of iPhone

Possible Duplicate: Get pitch, roll and yaw relative to geographic north on iOS? Is there a way to detect that iPhone is vertical? Gyroscope gives us absolute angle relative to a position. But how can I know if this relative position corresponds…
Jakikiller
  • 149
  • 1
  • 9
0
votes
1 answer

Is it possible to combine an Accelerometer and Digital Compass to get a fine Gyroscope?

I want to make an app that need to use Gyroscope Sensor However, due to cheap android phone didn't provide this sensor but it still have accelerometer and digital-compass in itself. As far as I know.. Since, accelerometer can detect 3 axis of our…
Sruit A.Suk
  • 7,073
  • 7
  • 61
  • 71
0
votes
2 answers

Accelerometer Sensor

I am a newbie in android. Just wondered how gyroscope works in android . Is it any hardware that is mounted inside or what exactly it is ? Also, would like to know if gyroscope and accelerometer sensor are in anyway related ?? Thanks in advance !!
0
votes
1 answer

Gyro not working in Cocos2D enviroment

I've got a really strange problem. I have an AR app built on the cocos2D library. Recently when I first fire up xcode for the day, the gyro is not working i.e. the yaw and roll is being measured as 0 no matter how the device is oriented. It SHOULD…
Kevin_TA
  • 4,575
  • 13
  • 48
  • 77
0
votes
1 answer

Euler Angles from analog sensor data 9dof

I'm looking to compute euler angles based on analog sensor data in javascript. The sensor data includes gyro, accelerometer, and magnetometer data in 3d. The math is a little over my head, and looking for any help or tips. Thanks!
kelly
  • 233
  • 1
  • 4
  • 6
0
votes
1 answer

Changing Android gyroscope update rate in NDK

I'm working with a Samsung Galaxy sii phone which has a gyroscope, magnometer, and accelerometer. Everything is using NDK. I am using the toadlet library to abstract out a lot of the phone interface, but within that library there is function to set…
ryan0270
  • 1,135
  • 11
  • 33
0
votes
2 answers

Using Android Gyroscope in Unity3d

Hello I have found that Unity3D does not give support for gyroscope on Android and at the same time there are apps using it. I would like to know if anyone has a plugin to make it work or has any idea of how to make this. My plan is making the…
0
votes
1 answer

Is there a way to reset or refresh the yaw only for an iphone gyroscope application?

I built an application for gyroscope, and the yaw is always measuring from the point of where I turned on the application. I would like to be able to bring the measurement to zero or re-calibrate the Yaw measurement only. Thanks.
ron
  • 1
  • 1