mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 17:47:49 +08:00
Device open can throw ob::Error (e.g. uvc_open access denied on macOS without camera permission, or an unsupported stream config). The throw was uncaught and aborted the whole process. Wrap the device-access body of init() in a try/catch that logs the error and returns false so the caller can handle the failure gracefully. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>