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

What's wrong with this code and how can I show the data on screen

I wrote this code to show the sensors data and to read and show them in swiftui, it doesn't work unfortunately. can someone help me ?? there's some bugs in swiftui and I have some errors but the most important is first to get the sensor data. is it…
AAA
  • 13
  • 4
-2
votes
1 answer

I want to add delay in my android app

I am coding an android app that takes data from gyroscope and measures the leaning angle of the bicycle. I want to display a warning sign if it leans more than 35°. Now, I want to add a condition that says if the leaning angle is greater than 35°…
-2
votes
1 answer

Quadricopter + arduino+mpu6050(gyro+oscillo) +PID

so I'm trying to creat a quadricopter with an arduino and gyroscope mp6050 and this with PID algorithme (using arduino PID,mpu library) so I make everything work separately but when it comes to use PID I don't know how to do it which one will be…
BSmile
  • 56
  • 1
  • 9
-2
votes
1 answer

(Unity3d android) converting quaternion variables into a vector3, and a vector 3 to a single variable

I am making an android game where the player must tilt their phone to keep the in-game platform balanced as objects fall on it. I am trying to use music volume as a way to tell the player how close the platform is to being in balance. I am…
-2
votes
1 answer

Orientation of body

We need to find the patient monitoring system which monitors the position of the body of the patient when patient is on bed . what we want to get is when patient is sleeping we want to monitor what is the position in which he/she is whether he is…
-2
votes
1 answer

ios : How to get notified when the iPhone moves like handshake action?

I need to detect handshake like action in iPhone. Once detecting the handshake action, need to do some other action. How to detect handshake like action. I searched about accelerometer and gyroscope. Shall i use both methods to detect and…
iphony
  • 119
  • 9
-3
votes
1 answer

How can I display a photo on a mobile device using the current device orientation and the orientation at the time the photo was taken?

I have an application. It has two activities, one is a custom camera for taking pictures and another is to show that picture. My requirement is that whenever I take a picture this picture should be displayed according to the orientation of the…
Shivam saxena
  • 151
  • 1
  • 3
  • 8
-3
votes
1 answer

Does the zero-value or sensitivity of an accelerometer changes over time?

Does the zero-value or sensitivity of an accelerometer changes over time? I.e is there something similar to the bias drift effect for gyroscopes, for accelerometers?
fleurette
  • 171
  • 1
  • 7
1 2 3
53
54