Questions tagged [Accelerometer] (18)

1
answer

Mobile Gamedev with accelerometer, what and how?

It's not even a question but a request to share advice, actually have a task at University to create a Android game with buns that can be implemented only on the phone(relatively) and not using Unity(under unity may have had in mind any cross-platform engines, but this is not accurate, so write in any case, if there are any...
Amina.Pfeff asked April 2nd 20 at 15:29
1
answer

How to fix problems connecting MPU-9250 to the Arduino?

Connect the MPU-9250 to the Arduino. Use https://voltiq.ru/mpu-9250-and-arduino/. That's what the problem is. When connecting the sensor for the first time, everything works, displays a string consisting of numbers and symbols 't'. Then, when the sensor disappears, pull out Arduino of the computer. Include a second time - ...
Emmalee_Klocko24 asked March 17th 20 at 12:26
2
answers

Accelerometer in emulator WP7

Wanted to try something to write games for Windows Phone 7, but immediately ran into a problem: in the emulator, there is no support for the accelerometer, and for those ways that offers Google, or the Wii remote or webcam. Nope neither one nor the other, but only the Acer Liquid with Android. Can they be cross-connected or...
reina_Nitzsche65 asked October 10th 19 at 02:49
2
answers

Getting a smooth quaternion from the matrix of guiding cosines?

Good day, dear community! Faced with the problem: 1. Working in Matlab/Simulink. Have a block of inertial sensors — gyroscope, accelerometer, compass. 2. Of angular velocities in the related coordinate system by integrating the Poisson equation to get the quaternion of the rotation of the local coordinate system relative to...
Royce.Gerhold19 asked October 3rd 19 at 06:20
0
answer

The problem with using a gyroscope in Unity3D for Android?

Hi all. We have the following problem. When you use Input.gyro.attitude "hangs" one axis (if rotation of the plate in one direction, the values change, and when rotated in the other does not), it happens by accident: it appears for awhile then disappears(mainly after the tablet to shake, but not always). In the beginning th...
casey_Koelpin asked October 3rd 19 at 05:21
2
answers

Is there any algorithm to convert the data of the accelerometer in the way?

Looking for algorithm to convert the data of the accelerometer in the way. Ie on a two-dimensional canvas to display the movement of the device in space, what kind of inertial positioning.
Esperanza_Reing asked September 30th 19 at 16:33
2
answers

The accelerometer and the Arduino. whether the orientation of the object?

Tell, here there are accelerometer sensors, three-axis. The accelerometer detects acceleration in the direction of the axes, and to determine the orientation of an object in space, BUT roughly speaking, at zero initial position, according to testimony during the operation of the accelerometer can tell the angle of the obje...
westley_Herz asked September 26th 19 at 01:20
1
answer

Anyone help with programming an Arduino?

Given: Arduino with accelerometer. In a loop using delay(100) obtained by the x-coordinate. The purpose of the device: the man makes a move and turns the device to ~90 degrees. The value of X changes from +to -3000 ~-15000. On average, this movement is from 0.7 to 1.5 seconds. How can I catch this moment?
Winfield.Mayer asked September 18th 19 at 15:32
1
answer

How to pull data from the accelerometer in a graph?

Good afternoon. At the moment there is data from the accelerometer, please tell me how data from the accelerometer to present in graphical form?
Brice45 asked September 17th 19 at 01:49
3
answers

How to get the angle from the quaternion?

Hi all. A sensor of the accelerometer with gyroscope (MPU-6050). Through the library can obtain a quaternion. But I need the angle in one axis, which would not depend on the other angles. If there's even any to find? The calculations were done so: quaternion -> rotation matrix -> Euler angles yaw, pitch and roll For c...
elnora_Bergnaum42 asked September 11th 19 at 17:00