Closed edsanville closed 6 months ago
Tested on b3f1, and gives quaternion and angular_velocity data in interactive mode.
When run with systemctl, however, I get these errors:
Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,285 WARNING Error trying to get data: 0 Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,285 WARNING getIMUData returned None Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,374 WARNING Error trying to get data: ('Unprocessable Batch bytes', 1) Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,375 WARNING getIMUData returned None Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,184 WARNING Error trying to get data: 0 Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,184 WARNING getIMUData returned None Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,389 WARNING Error trying to get data: 0 Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,389 WARNING getIMUData returned None Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,474 WARNING Error trying to get data: ('Unprocessable Batch bytes', 1) Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,475 WARNING getIMUData returned None
Not sure what they are yet...
Looks like these are from the system resetting the GPIO pins, because the test bot doesn't have an Echo device installed. The solution for echo problems is set to reset the echo (GPIO pins), and reset the echo driver script. So, this issue doesn't have anything to do with the IMU software directly.
Here's the reported quaternion and angular velocity vector in liaison:
Tested on b3f1, and gives quaternion and angular_velocity data in interactive mode.
When run with systemctl, however, I get these errors:
Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,285 WARNING Error trying to get data: 0 Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,285 WARNING getIMUData returned None Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,374 WARNING Error trying to get data: ('Unprocessable Batch bytes', 1) Mar 28 03:17:14 bot3-fleet1 python3[12342]: 2024-03-28 03:17:14,375 WARNING getIMUData returned None Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,184 WARNING Error trying to get data: 0 Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,184 WARNING getIMUData returned None Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,389 WARNING Error trying to get data: 0 Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,389 WARNING getIMUData returned None Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,474 WARNING Error trying to get data: ('Unprocessable Batch bytes', 1) Mar 28 03:17:34 bot3-fleet1 python3[12342]: 2024-03-28 03:17:34,475 WARNING getIMUData returned None
Not sure what they are yet...