Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
119 views

I integrated an STM32F103RT6TR with an MPU6050 and HMC5883L to calculate acceleration, gyroscope, pitch, roll, and yaw values. While everything else is working fine, the yaw value is drifting. Can ...
Pugazhazhagan T A's user avatar
1 vote
0 answers
30 views

I try to use MPU9250 and MPU6050 ... The problem is just with Yaw, I don t understant why the value of yaw increase slowly even I don t move the sensor , I tryed to control with just Gyroscope and ...
FI AX's user avatar
  • 11
0 votes
1 answer
233 views

I'm facing a problem that I've tried everything and it doesn't solve it. I just want to read the acceleration on the serial monitor and plotter for now, the code runs, works and is OK, I've already ...
Jay Jay's user avatar
-1 votes
1 answer
247 views

I have a PS4 game controller, and I can now read data from it using HID, including 6 axes as shown in the image below. Three axes represent acceleration, and the other three represent angular rate. ...
Victor's user avatar
  • 327
1 vote
0 answers
481 views

I'm currently working on a state estimation project that relies on IMU data. While I have access to a physical IMU, I'd like to simulate gyroscope data with specific parameters, including Angle Random ...
user3106378's user avatar
0 votes
0 answers
347 views

For a project, I want to use a Raspberry Pi (or similar) running Android. Just using a mobile device is not an option (due to ruggedness, always-on, breakout-options etc.) The other thing my project ...
isync's user avatar
  • 537
1 vote
0 answers
48 views

I am using TYPE_GAME_ROTATION_VECTOR as sensor in Android project. However, on some devices (Example S22 Ultra), I saw a difference in rotation angles from the sensor. For example, while most devices ...
Sina's user avatar
  • 31
1 vote
1 answer
62 views

I'm making a game where by tilting my smartphone I can rotate an object in the z-axis. I made sure that the rotation is correct at different angles of the smartphone, but the problem is that if you ...
Operator's user avatar
0 votes
1 answer
378 views

I use this code to track the movement of the gyroscope and rotate the object: Vector3 previousEulerAngles = transform.eulerAngles; Vector3 gyroInput = -Input.gyro.rotationRateUnbiased; ...
Operator's user avatar
0 votes
1 answer
1k views

I would like to add gyroscope/accelerometer control binding to the Input Actions panel in Unity's new input system. On the Input Actions panel, I see we can bind all kinds of inputs from game ...
TheyCallMeTJ's user avatar
0 votes
1 answer
168 views

I am trying to fuse Xsens MTi-20 sensor gyro with accelerometer using complementary filter, calculated angle looks okay, at least i think so, but the problem is that when sensor in not moved values ...
Chris_xx's user avatar
1 vote
0 answers
653 views

I want my game's control scheme to assume the position in which the phone is held at the start of the game as the default around which the gyroscope then rotates around. As far as I can tell, there ...
IDKJustLetMeAskMyQuestions's user avatar
1 vote
1 answer
821 views

i have been trying to get speed of the vehicle using MPU-6050 but couldn't find my way to do it so, in the end i am stuck here def stateCondition(): while True: acc_x = read_raw_data(ACCEL_XOUT_H) ...
Abhisek Pandey's user avatar
0 votes
1 answer
328 views

I am trying to make a buzzer play when the gyroscope attached to the Arduino passes a certain rotation threshold on the x axis. The problem is: it also activates when I simulate to go back under the ...
rikyeah's user avatar
  • 2,118
0 votes
0 answers
341 views

Basically, I need use micro:bit accelerometer to move straight forward avoiding curved movements. So far I have calculated roll and pitch using the code below X = Sensors.acceleration(Sensors.X) / ...
Giannis Tzagarakis's user avatar
0 votes
1 answer
88 views

I have a line (UIView with width = screen width and height = 2), I need to move this line up and down the screen with forward tilt and backward tilt. I know I need to use Gyroscope, how can I achieve ...
nitpaxy's user avatar
  • 67
0 votes
1 answer
112 views

According to my research, I saw that, in order to detect the angular orientation AHRS uses gyro and accelerometer. Only gyro does not work well because of integration drift. Only accelerometer also ...
Mert Celik's user avatar
0 votes
1 answer
814 views

I am using the below code with arduino-uno, but often getting "Could not find a valid MPU6050 sensor #include <Wire.h> #include <MPU6050.h> MPU6050 mpu; void setup() { Serial....
Kamalesh P's user avatar
-2 votes
1 answer
888 views

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 ...
bittabuket's user avatar
0 votes
0 answers
639 views

I've been implementing a compass using raw data from a ICM-20948 IMU. It provides me with Accelerometer, Gyro, and Magnetometer data, but I've been using only Accelerometer and Magnetometer data to ...
Filip Vuković's user avatar
1 vote
0 answers
43 views

I'm trying to figure out in what direction (roughly) a phone has moved over a period of a couple of seconds. Is it possible ? I'm using the gyroscope to track what direction the phone is facing. This ...
Werner Scholtz's user avatar
0 votes
1 answer
153 views

public class GyroControl : MonoBehaviour { private bool gyroEnabled; private Gyroscope gyro; private GameObject cameraContainer; private Quaternion rot; private void Start() { ...
Hany.'s user avatar
  • 3
0 votes
0 answers
505 views

I am creating a project on react-native (I'm a newbie) I'm trying to understand the data I'm getting from this code Expo documentation (code available) Main goal to get the acceleration and direction ...
Riadh-Saad's user avatar
-1 votes
2 answers
661 views

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 ...
Omkar Dixit's user avatar
1 vote
1 answer
899 views

For a light painting project (could be s.th. else, too) I'd like to calculate relative position, orientation and velocity from 6-axis IMUs (I have a MPU6886 connected to an ESP32, but I hope, that ...
frans's user avatar
  • 9,968

1
2 3 4 5
16