I am looking to integrate the PiJuice Hat uninterruptable power supply into our ROV running the Rpi + Navigator.
I am having issues getting the autopilot software to run when the UPS hat is attached. Looking at the autopilot process it is outputting ‘runtimerror: Cannot fetch vehicle info as there’s not board running’
The Navigator uses GPIO pins 2 and 3 as the internal I2C-1 line for some of its sensors, so it’s possible there’s an access conflict between the autopilot and the UPS functionality, and/or an address conflict with one of the sensors.
There may also be a conflict between the Navigator and PiJuice boards’ EEPROMs, and/or the hardware (device tree) overlays they define.
Could you please provide the following informations?
Are you running BlueOS?
Have you tried running the system without the PiJuice HAT? If so, does it work fine?
If it does, it seems like the issue might be related to an overlay setup made in your PiJuice EEPROM. Apparently, you can disable or remap it.
First, I would suggest installing the i2c-tools and checking if the navigator I2C devices are functioning correctly. Please run the following commands: