New answers tagged

0

The acceleration raw data looks weird, because of the discrete jumps. For comparison here is raw data from a stationary MPU-9150 (MEMS IMU): The raw accelerometer and gyroscope data are not integrated, and thus should not experience integration drift. The roll and pitch are integrated quantities, which then follow a random walk, and could end up anywhere. ...


0

There are many devices that would provide the recordings that you need. National Instruments makes a large number of DAQ devices that can record analog signals with very high fidelity. You could also use products from DATAQ. I would recommend something very cheap like the Adafruit Feather M0 Adalogger for projects that don't require the high precision of NI-...


0

Some common accelerometer/gyro chips have built-in processor that performs integration for you. An example I am familiar with is MPU-6050. Given that capabilty, you can get the ready-made data for current direction of your chip directly from the chip using I2C. Please search for "mpu 6050 dmp" to see some examples.


1

Expanding on the answer given by C.O Park and comment by Ben. The gyroscope and accelerometer will give you 6 sensor values corresponding to the $x$/$y$/$z$ linear accelerations and the $x$/$y$/$z$ angular velocities. If you are looking to interpret whether your robot is turning left or right at any particular moment then you can simply check the sign of the ...


0

Just monitor the rotation velocity of z-axis (z value from gyroscope or any other axis according to your setup). If the value is over some threshold and the sign is positive, it is turning left. If the sign is negative it is the right turn. The right way to do this is to accumulate the value stream and see if the accumulated angle is near to 90 or -90 degree....


Top 50 recent answers are included