Looks like I need to toughen my ROS2 Distance_sensor node.
End of test - 1:15AM - imu is still kickin’ it strong - up to 30Hz finally.
p.s - Did you know that you can “hot charge” the new Li-Ion battery pack while running your GoPiGo3? It takes a little longer because the GoPiGo3 is using half or more of the charging current (in my case running ROS - 700mA of the 1000mA the charger will put out.)
Everything runs better w/o the DI Distance Sensor running, and the processor load is running 30-40% even with driving around, with power consumption while driving at 7.25W (630mA at 11.4v).
Well not everything - my Rviz2 in the Ubuntu virtual machine on my Mac stops displaying the ultrasonic range after a while complaining:
[rviz2-3] [INFO] [1632485411.244881189] [rviz2]: Message Filter dropping message:
frame 'ultrasonic_ranger' at time 1632485401.097 for reason 'Unknown
The topic is sent at 16 Hz average, with a minimum rate of 8 Hz reported.
The IMU reported 41 soft I2C exceptions in the first hour of running (even w/o competition from the distance sensor).
Processor temperature is holding nicely under 60 degC with room temp at 26 degC.
Cool report.
Any ideas on why the IMU started reporting more frequently? Did that happen in the subsequent run?
I’m not currently using the distance sensor - maybe I’ll just take it off. That would also let me mount the IMU along the center line, although I don’t know that that will be much of an advantage.
I assume the topic was still publishing? What happens if you restart RVIZ?
I’ve done that while testing my robot on a stand. It is handy.
I think it was mutex competition between the Distance Sensor and the IMU. When I disabled the Distance Sensor, the IMU immediately published at a steady 30 Hz.