Improve error message in check_rs2_error for unknown exception type#16
Improve error message in check_rs2_error for unknown exception type#16emilk wants to merge 1 commit intoTangram-Vision:mainfrom
check_rs2_error for unknown exception type#16Conversation
|
Hey, thanks for the submission! Apologies about the GitLab / GitHub confusion. We do take contributions on both sites, but we need to move the branch over to GitLab for the purpose of running CI (since we don't have any GitHub actions setup). I don't have a ton of time to review this ASAP, but I'm more than happy to duplicate this over to GitLab at some point this week and review there proper. We'll leave this open until then. |
|
No hurry on my end! |
|
I've ported it over to GitLab: https://gitlab.com/tangram-vision/oss/realsense-rust/-/merge_requests/50 I will review this shortly -- I can put feedback here and then move work over as necessary. |
|
Changes seem good, although there seems to be some new lint / test errors that have cropped up due to updates in librealsense. I need to update the library to 2.54.0 or whatever the latest is, and then probably rebase this off of that work before we merge. |
|
https://gitlab.com/tangram-vision/oss/realsense-rust/-/merge_requests/50 Alright, this was reviewed & merged. Apologies for the wait. I'm going to close this now if everything is fine here! |
I am trying to get realsense working on an M1 MacBook. I installed librealsense 2.54.1 with
brew install librealsense. I then tried to rundemo_435iand got this:With this PR applied this is improved to:
I still don't know why we get an
8here though, considering there are only eight errors, numbered 0-7: https://intelrealsense.github.io/librealsense/doxygen/rs__types_8h.html#ab73d6772c40d1a2fba645a1d0a7eed5ePerhaps some version mismatch?
PS: in your
README.mdand on https://crates.io/crates/realsense-rust you say you are happy to receive PRs on GitHub (which is why opened this PR), but now I see thatCONTRIBUTING.mdsays you only accept them on GitLab 😬