Skip to content

3D detections are far-off #105

@f1ren

Description

@f1ren

Problem

Getting 3D detections that are far from the object in the same frame_id.

Technical details

  1. Running yolo_ros as follows:
ros2 launch yolo_bringup yolov11.launch.py use_3d:=True \
	input_image_topic:=/head_front_camera/rgb/image_raw \
	input_depth_topic:=/head_front_camera/depth/image_raw \
	input_depth_info_topic:=/head_front_camera/depth/camera_info
  1. Topic /yolo/dbg_image looks good:
Image
  1. But, yolo/bdg_bb_markers (the yellow bounding-box) is far from the cup. It's actually inside the robot's body:
Image Image
  1. The "cup" detection.class_name on topic /yolo/detections_3d is at position:
    geometry_msgs.msg.Point(x=0.21692220892426856, y=0.02220525709998527, z=1.1176493412872952)

  2. But, manually sampling the cup in RViz Publish Point, it seems to be at:

x=0.74, y=0.15, z=0.99

Both at frame_id == 'base_link'.

Question

Why are the coordinates so far off?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions