question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] FFC-type Board Calibration Flashing Error

See original GitHub issue

Describe the bug I am on latest commit 39da981db8b886cf6c88b55a044724a82619a794 (HEAD -> multi_cam_support) @ depthai-python repo, and tries to flash calibration parameters into a SoM unit. I currently test on a OAK-FFC-3P board.

I am trying to flash the extrinsic and intrinsic paramters of camera 0 and 1 (rgb and left). I encounter the error of Extrinsics between all the cameras is not found with single head and a tail, but in actual fact, the chain does exist in the original .json file, by manual inspection.

However, if i exchange the definition of 0 and 1 slots in the calibration .json file, the flashing works. This appears to be a bug. How can swaping the “chain” direction, affect the sanity check?

To Reproduce Steps to reproduce the behavior:

  1. Use calibration_flash.py script to try to flash the following to calibration json files
  2. The first one shows error, but the second one passes

Expected behavior In both cases of .json files, the calibration flashing should pass (or fail together)

Attach system log

[2022-08-18 16:48:10.779] [debug] Extrinsics between all the cameras is not found with single head and a tail
[2022-08-18 16:48:10.779] [debug] Found link to a CameraID whose camera calibration is not loaded. Please cross check the connection by creating a json file using eepromToJsonFile(). 
[2022-08-18 16:48:10.779] [debug] Device about to be closed...
[2022-08-18 16:48:11.513] [debug] Watchdog thread exception caught: Couldn't write data to stream: '__watchdog' (X_LINK_ERROR)
[2022-08-18 16:48:11.637] [debug] Timesync thread exception caught: Couldn't read data from stream: '__timesync' (X_LINK_ERROR)
[2022-08-18 16:48:11.637] [debug] Log thread exception caught: Couldn't read data from stream: '__log' (X_LINK_ERROR)
[2022-08-18 16:48:11.638] [debug] XLinkResetRemote of linkId: (0)
[2022-08-18 16:48:11.638] [debug] Device closed, 858
Traceback (most recent call last):
  File "calibration_flash.py", line 24, in <module>
    status = device.flashCalibration(calibData)
RuntimeError: Failed to validate the extrinsics connection. Enable debug mode for more information.

Additional context Discord discussion here https://discord.com/channels/790680891252932659/1004761233104322650

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
daxoftcommented, Aug 30, 2022

@chengguizi sorry for delay, was caught with other tasks, will calibrate FFC-4P and FFC-3P tomorrow and will get back to you with new info.

0reactions
saching13commented, Sep 8, 2022

It is merged into develop here Should have a build soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

uDriver board flashing error - Software
Hi all, I'm following the instructions here to flash the uDriver board using code composer studio on a windows computer and encounter the ......
Read more >
Shimmer User Manual | the BMS Lab
The calibration parameters can be stored to the Shimmer on-board memory or to a file and can be recalled by other applications to...
Read more >
[BUG]Flashing 3.9.3 to MK3S fails · Issue #2954 - GitHub
Flashed without error, first-time-calibrated just fine. Now that the printer was working properly again, I tried once more to flash 3.9.3, and ...
Read more >
Colour Calibration Problem - Microsoft Community
Now when I try to use the Display Color Calibration it only previews the present set of changes for a flash before reverting...
Read more >
Hoverboard Red Light-How To Calibrate your ... - YouTube
If your scooter has red flashing light error, this may be a way to fix ... however the hover board, hover board fires...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found