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

How can I make blind down effect to an image in IOS?

I want that, when I roll the iPad, the image blinds up/down. Effect should be like http://madrobby.github.com/scriptaculous/combination-effects-demo/ Blind Down demo. How can I do that? I tried Reflection example of Apple but I had performance…
Burak
  • 5,706
  • 20
  • 70
  • 110
-1
votes
1 answer

Performance issue on IOS while redrawing image with gradient mask

I am using gyroscope to handle rotation. For every degree that I rotate iPad, I should redraw the image on the screen to change the height of the mask. But redrawing stops the gyroscope. What can I do for this situation? Edit code added - (UIImage…
Burak
  • 5,706
  • 20
  • 70
  • 110
-1
votes
1 answer

How can I use gyrometer in Objective C?

I want to get a device's rotation, altitude and slope. Should I use gyrometer functions? But I don't know how can I use them and which one?
Hacer sengul Akac
  • 683
  • 3
  • 17
  • 25
-1
votes
1 answer

run ADIS16465-1BMLZ on raspberry pi 4 with kuiper linux

How can I save data from ADIS16465-1BMLZ on raspberry pi 4 with kuiper Linux in a .CSV file for a specific period, let's say 5 minutes? Is this achievable? I connected the ADIS16465-1BMLZ module to the Raspberry Pi 4 using the EVAL-ADISIMU1-RPIZ…
-1
votes
1 answer

Reading SPI gyro values from IIM-42652

Has anyone on here ever used a IIM-42652 before? I am trying to communicate to it but have trouble reading gyroscope values. I have verified all the SPI signals on both MISO and MOSI lines, alongside all specified SPI communication and timing…
bittabuket
  • 15
  • 2
-1
votes
2 answers

Exactly which library are we supposed to use if we want Roll, Pitch and Yaw data from the ISM330DLC acc and gyro sensor?

Currently, I'm working on a project where my job is to take Accelerometer, Gyroscope data and convert it into Roll, Pitch and Yaw. So to achieve this we started working on the ISM330DLC sensor. To get the raw data we interfaced the example code…
Omkar Dixit
  • 71
  • 1
  • 7
-1
votes
1 answer

Unity gyroscope reads only two axes

I want to make it so that the gyroscope will only change the x and y-axes of an object. There is code for one axis and for three axes (mostly used), but I couldn't find anything about two axis and wasn't able to do it myself.
YGreater
  • 42
  • 1
  • 11
-1
votes
1 answer

Streaming Real Time Gyroscope of Phones(Android/IOS) to a Website Application on laptop

Hi im making a website and want to stream the gyroscope sensors that are in phones(android or iOS) to my website in real time. I have looked at this site https://community.wolfram.com/groups/-/m/t/1386358 however I am not sure on how to get this…
Wq0234
  • 19
-1
votes
1 answer

How can I configure the sensors (Accelerometer or gyroscope) to do something when the user shakes or rotate the phone?

How can I configure the sensors (Accelerometer or gyroscope) to do something when the user shakes or rotate the phone? I want to show a new string each time the user shakes the phone. Also I need a button to start and finish the sensors "action". …
Raffaelli L.C.
  • 5,237
  • 5
  • 11
  • 18
-1
votes
1 answer

Why values are not appearing on pressing button

I'm making an app that gives original value of gyroscope plus the filtered value. I'm using two filters in my code one is named as simple and other one is named as filter . I want to make buttons for both filters and want the filtered values…
Atia Riaz
  • 97
  • 7
-1
votes
1 answer

Swift Gyroscope

I'm building an app that needs to take level pictures. I want to use the gyroscope to make sure the phone is level when taking a picture. I've gotten the gyroscope updates(which gradually increase even though the device isn't moving) but I can't…
Trevor Wood
  • 2,347
  • 5
  • 31
  • 56
-1
votes
1 answer

How to get orientation of android from gyrsocope sensor events?

I am using android 2.3 on Nexus S and want to get orientation from gyroscope sensor events. As gyro gives angular velocity how to use this for getting device orientation ? Also is there any way we can get pure linear accelerations on phone's axis,…
Pritam
  • 2,367
  • 5
  • 34
  • 50
-1
votes
1 answer

How to convert Phone's GyroScope and Accelerometer Sensor values to Human Motion

I want to create an app in unity in which I can swing my phone like a bat and it tells me in which direction of the clock I play a shot. Like when I Swing phone towards 6'o clock ...it should tell me 6 when swing phone towards 9'o clock ...it should…
geekfarmer
  • 99
  • 2
  • 7
-1
votes
1 answer

How to calculate velocity from accelerometer and gyroscope?

Currently, I am working on a project where I need to calculate the certain Gait Parameters. Experiment Setup: I have two sensors placed on the shank(near the ankle) of each leg. Each sensor consists of the timestamp, accelerometer, gyroscope and…
-1
votes
1 answer

Gyroscope doesn't work on Chrome

after multiple search, I can not find the answer, so I appeal to your knowledge. Since the last Chrome update on android, I can not use my gyroscope on virtual tours online anymore. My gyro includes my up and down motion but not right and left.…