-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Astra Mini crashing when asked for depth images. ROS Noetic, Ubuntu 20.04, Jetson Xavier NX #189
Comments
I'm sorry I didn't reproduce it. Can I have your OpenCV version? Because I believe that auto image_msg =
*(cv_bridge::CvImage(std_msgs::Header(), encoding_.at(stream_index),
(stream_index == DEPTH && depth_scale_ > 1) ? scaled_image : image)
.toImageMsg()); Cause crash. Or there have any warning when you run |
I have tested many cameras in auto image_msg =
*(cv_bridge::CvImage(std_msgs::Header(), encoding_.at(stream_index),
(stream_index == DEPTH && depth_scale_ > 1) ? scaled_image : image)
.toImageMsg()); in |
And I also need firmware_version, and you can run rosservice call /camera/get_version "{}" To get the firmware version. |
Thanks for following up. Here are some answers.
data: "{\n "firmware_version": "RD2414",\n "openni_version": "Standard 2.3.0 (Build
4.5.4-8-g3e4c170df4 |
I think i have a root cause: you are correct @jian-dong that the issue is tied to I noticed that in the past few days that you have pushed a couple of changes ac78d01 and b2b69db to
which is good to get us going, but is bad because if The code I had was cloned (and raised this issue against) was dated July 1, which has this bug. By adding the Why As to the |
@67bug Thanks for your information; I had this problem on an RPI32 not long ago, so I changed this if condition. So I have the last question if I change this line to if (stream_index == DEPTH && depth_scale_ > 1) {
cv::resize(image, scaled_image, cv::Size(width * depth_scale_, height * depth_scale_), 0, 0,
cv::INTER_NEAREST);
} It's work for you? |
I see...makes sense. We anyways use it in 320x240 mode for RGB and depth so this is not an issue for us
Yes, this works. I have to admit tough that it feels like a hack because we cannot understand why |
Thanks for your reply, I will dig this. |
I have encountered the same issue. |
A fix has been found for my issue. We also had OpenCV on our machine, and the two versions of cv_bridge were causing conflicts.
|
We upgraded our ROS installation to Noetic (on the Jetson Xavier NX) and the depth stream is no longer working. The color stream works fine, but the depth does not. The binary crashes with absolutely no errors reported.
I see multiple issues talking about this:
#178
#179
#188
but there is no fix in sight. I have reached out directly to Orbbec as well and there has been no useful response. I have tried the master branch, the
fix_MX400_conneted_bug
branch...none of them works.The text was updated successfully, but these errors were encountered: