-
Hello, Firstly, I would like to thank you for your work. It has been very helpful for our tasks. However, we have encountered some issues while using the software. After searching for relevant information, we are still unable to resolve these problems. 1.The point markers we generated sometimes fail to display when the perspective changes (rotation, movement). They reappear when we change to another perspective. Is this due to the large number of point markers we have generated? Is there any solution for this? 2.When we use the 3D camera to 2D camera conversion function, the point markers we created do not display correctly. We can only see the point markers when we zoom out a lot, at which point markers become very, very small, making them invisible in a normal view. I hope these issues can be resolved. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Could you provide a MCAP/rosbag file with your marker messages and detailed reproduction steps? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Here is the relevant code and the MCAP file. In the file, you can see that in the 3D camera view, the points can display the point markers regardless of the z-value. However, when switching to the 2D camera, we can see the points when the z-value is very large, but as the z-value decreases, the point markers become sparser and eventually disappear. geometry_msgs::msg::Point basic_point; marker_color.r = static_cast(0) / 255.0; marker_map_.points.push_back(basic_point); for (const auto& pair : marker_map) { visualization_points_publisher_->publish(debug_points_array);` |
Beta Was this translation helpful? Give feedback.
-
@smittenx Thanks for bringing this issue to us! I was able to diagnose the cause of the issue being that the points at a given size within the perspective (3D) camera, are too small to be seen in the orthographic (2D) camera because the orthographic camera does not account for the distance from the camera. To fix this, we will make points a minimum size of 1 pixel when being viewed in 2D mode to keep them visible. |
Beta Was this translation helpful? Give feedback.
@smittenx Thanks for bringing this issue to us! I was able to diagnose the cause of the issue being that the points at a given size within the perspective (3D) camera, are too small to be seen in the orthographic (2D) camera because the orthographic camera does not account for the distance from the camera. To fix this, we will make points a minimum size of 1 pixel when being viewed in 2D mode to keep them visible.
This issue has been fixed and should be available in the web app soon and it will also be in the next desktop release.
Let us know if you have any more questions