Skip to content
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

3D bounding boxes not displaying in Ubuntu 20.04 and ROS Noetic. #76

Open
zrxwz opened this issue Oct 28, 2024 · 2 comments
Open

3D bounding boxes not displaying in Ubuntu 20.04 and ROS Noetic. #76

zrxwz opened this issue Oct 28, 2024 · 2 comments
Labels
question Further information is requested

Comments

@zrxwz
Copy link

zrxwz commented Oct 28, 2024

Branch

noetic-devel

Question

After multiple attempts to modify yolov8n-seg.pt and voxel_leaf_size, the 3D bounding boxes still do not display. I am using kitti-track_with_cloud.launch, and both the images and point clouds display normally. The images have detection results, but the point clouds do not have any results.

Additional

No response

@zrxwz zrxwz added the question Further information is requested label Oct 28, 2024
@zrxwz
Copy link
Author

zrxwz commented Oct 30, 2024

tracker_with_cloud_node: /opt/ros/noetic/include/image_geometry/pinhole_camera_model.h:304: std::string image_geometry::PinholeCameraModel::tfFrame() const: Assertion `initialized()' failed.

@Tonny24Wang
Copy link

Tonny24Wang commented Nov 18, 2024

This is a bug.
You should modify the /home/mm/projects/ultralytics_ros/src/ultralytics_ros/src/tracker_with_cloud_node.cpp.
move the line 'cam_model_.fromCameraInfo(camera_info_msg); ' to some line before the following
pcl::PointCloudpcl::PointXYZ::Ptr transformed_cloud;
transformed_cloud = cloud2TransformedCloud(downsampled_cloud, cloud_msg->header.frame_id, cam_model_.tfFrame(),
cloud_msg->header.stamp);
'cam_model_' should be set first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants