We need to use the c++ implementation of the luxonis dephai-core basalt vio with our oak-d wide. I've tried the example with rerun from dephai 3.5.0 but it delivers only about one frame per second, which presumably leads to the very incorrect state estimation. The python example works great.
According to the note on this documentation page i've also tried using the newest develop branch at 2492f7b but there seems to be an issue with the camera communication. When i build the example (or my own code) it gave me the following in both the python and c++ example of basalt vio:
terminate called after throwing an instance of 'std::runtime_error'
what(): Device 14442C109125B5D600 error: IMU(2) - IMU invalid settings!: IMU not detected. Your board doesn't have IMU or requires firmware update (Set imu.enableFirmwareUpdate(True) explicitly.). 0, 395
[1] 90096 IOT instruction (core dumped) ./basalt_vio
Then i tried updating the imu firmware with in the develop branch using the script from dephai-python but this gave me:
IMU type: , firmware version: 0.0.0, embedded firmware version: 0.0.0
Warning! Flashing IMU firmware can potentially soft brick your device and should be done with caution.
Do not unplug your device while the IMU firmware is flashing.
Type 'y' and press enter to proceed, otherwise exits:
y
IMU FW update status: 0.0%
[2026-03-23 12:24:27.100] [depthai] [error] Device with id 14442C109125B5D600 has crashed. Crash dump logs are stored in: /home/paul/akamav/resources/depthai/cora-main-src-cora_vision-cora_depthai_driver/src/vendor/depthai-core/examples/python/.cache/depthai/crashdumps/8197693a91687a76bac00e592e3682b32a552b7d/crash_dump.json - please report to developers.
Traceback (most recent call last):
File "/home/paul/akamav/resources/depthai/cora-main-src-cora_vision-cora_depthai_driver/src/vendor/depthai-core/examples/python/update_imu.py", line 31, in <module>
fwUpdateFinished, percentage = device.getIMUFirmwareUpdateStatus()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Device already closed or disconnected: Input/output error
So i tried updating the imu firmware using the depthai-python repo, which didn't update because the firmware was already the newest. I suspect there is some other problem with the communication with the camera or imu in the develop version which is why the imu version is shown as 0.0.0 rather than 3.9.9.