-
Notifications
You must be signed in to change notification settings - Fork 0
Task 04: Processing IMU Data
Michael Bleier edited this page Jul 10, 2024
·
4 revisions
In the data directory are sensor recordings of two different Inertial Measurement Units (IMU):
imu_raw_kvh1750_static.json and imu_raw_phidgets_static.json.
Both recordings were captured with the two IMUs at rest and a data rate of 250 Hz. The sensors were placed on a table with the z-axes of the sensors pointing upwards. The duration of the sensor capture is approximately 30 seconds. In contrast to the Sensor Cube IMU no magnetometer data is included in the messages.
- Write a program that opens the IMU data files. First, the program should read all the sensor readings in memory, such that the individual measurements are easily accessible for further processing. Second, compute the average magnitude of the static acceleration (average length of the vector
$\left( a_x, a_y, a_z \right)^T$ ) and print the result. Third, compute the mean and standard deviation of the individual acceleration and angular velocity components.
Hint: You can use the example processIMU as a starting point! - Inspect the sensor data. If all other parameters (size, price, energy budget, etc.) are unimportant, which sensor would you choose just based on the provided data captures? The KVH 1750 IMU (imu_raw_kvh1750_static.json), the Phidget Spatial (imu_raw_phidgets_static.json), or the IMU in the Sensor Cube? Explain your decision.