-
Notifications
You must be signed in to change notification settings - Fork 412
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
camera/rgb... sensor_msgs/Image Messages don't render in the image view #153
Comments
Update: I tried running locally but didn't get any additional errors or change in behavior. |
I saw that you just posted about the wasm error, is it gone? Would be helpful if you could share a sample bag with us so we can check the issue in details. |
I thought the wasm error was unrelated... pasted below for reference. I'll see if I can find a way to upload the bag file I'm testing with.
|
I've been using this bag file which has both "/camera/depth/image" and "/camera/rgb/image_color" topics with Image messages. https://vision.in.tum.de/rgbd/dataset/freiburg1/rgbd_dataset_freiburg1_xyz.bag Note: I had to decompress it. Here's the
I found this bag file here: https://vision.in.tum.de/rgbd/dataset/ |
Do you have a working bag file you can share? |
We are working on adding some sample bags. It'll be available soon. Looks like the bag is using type Currently the rosbag.js library only support |
Yup, the link I sent is to a compressed bag. But I uncompressed it (unless there's an additional compression I'm missing). See the the rosbag info above. I've tried with both uncompressed and lz4 compressed bags but I get the same behavior: the sensor_msgs/Image messages are there but the image view does not render messages on the /camera/rgb/image_color topic. |
@palafranchise We have manually created image decoders for the images encodings we use inside our bags at Cruise. It's possible you are encoding images in formats we don't have support for yet. What encodings are you using? You should be able to get this from the raw message inspector for an image message on the "encoding" field. @vidaaudrey we could add support for |
Ah, I see. The images which are not appearing have encoding values of "rgb8". What encoding format did you use? |
Think I found it: https://github.com/cruise-automation/webviz/blob/master/packages/webviz-core/src/panels/ImageView/ImageCanvas.js#L89 Looks like it might work if I switch my encoding to bgr8 |
Yup, switching to bgr8 works. Thanks for your help! |
I've got a couple of ROS bags with sensor_msgs/Image messages on camera/rgb/image_raw and comera/rgb/image_color. I see the messages in the raw message viewer but I don't see anything rendered in the Image view. I've tried a couple of different bags, compressed, uncompressed, etc. with no luck. I do see /camera/depth/image sensor_msgs/Image(s) in the Image viewer. Is there anything additional I need to do to get rgb camera images to display?
The text was updated successfully, but these errors were encountered: