-
Notifications
You must be signed in to change notification settings - Fork 127
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
semantic image layers don't work with camera resolutions other than 640x320 #109
Comments
Hi, Did you change the corresponding camera info? |
Hi, yes the camera info topic is always updated with every new camera resolution I test with. |
Umm, that's a bit weird. Maybe it is not configured correctly to use that camera_info topic? |
When I try increasing the resolution, it appears as if the information in the semantic grid layer shifts towards the left and at 1280x720 resolution the grid is completely empty. Could you please point out which parts of the code I should look into to find out the error? |
Could you check the Subscriber params? For example these camera_info topic params. Line 18 in 00bbe01
You can do |
Hi, was able to solve the issue. There is a resize param that was set to 0.5 which was resizing the images. Changed it to 1.0 and it works with other resolutions. Thanks for your support! |
Hi,
In my project (in simulation) I am trying to generate semantic layers, similar to this launch file : turtlesim_semantic_image_example.launch. Basically the semantic node is segmenting a particular object in the scene and I am adding a semantic layer to the /elevation_map_raw topic which contains info about where this object is lying on the grid.
I am able to get correct correspondences between image and grid and the output semantic layer looks correct for image resolution 640x320. However, if I change the resolution to any other value, the object location shifts and eventually the semantic layer has no information of the object anymore.
I selected the resolution of 640x320 in my project based on the turtlebot example where the turtlebot has camera resolution of 640x320.
Could you please help me out what might be causing this?
The text was updated successfully, but these errors were encountered: