Hi all,
I'm trying to run VIO with OAK-D pro.
I ran python3 imu_firmware_update.py and python3 imu_version.py from /depthai-python/example/IMU, and both works fine.
Here's the result:
IMU type: BNO086, firmware version: 3.9.9

IMU FW update status: 0.0%

IMU FW update status: 100.0%

Firmware update successful!

But when I try to run example like imuvideo_sync or imu_gyroscope_accelerometer.py from the IMU example folder, I always get following error message.

depthai-python/examples/IMU/imu_gyroscope_accelerometer.py", line 33, in <module>

with dai.Device(pipeline) as device:

     ^^^^^^^^^^^^^^^^^^^^

RuntimeError: Failed to connect to device, error message: X_LINK_DEVICE_ALREADY_IN_USE

====================================================================
Is there any way I can overcome this issue? please kindly give me some recommendation.

Sincerely,
Michael

    Hi michaelphlin
    Is some other process using the device already? Like device_manager, or some other script running in the background? Replug the device.

    Thanks,
    Jaka