← Back to the animated process

ros2_ws/src/object_pose_tracking/config/phase4.yaml

Implementation snapshot supporting the published lesson. Only cited line ranges are included; this is not a runnable source file. Configuration and recorded examples describe this project snapshot.

1rgbd_camera:2  ros__parameters:3    reliable_transport: true4    camera_backend: orbbec5    optical_frame: camera_color_optical_frame6    publish_rate: 20.07    downscale: 18    # Gemini 305 closest-range mode (256 disparity range), metres.9    minimum_depth: 0.0410    maximum_depth: 1.511    maximum_data_age: 0.7512    worker_timeout: 10.013    worker_startup_timeout: 30.014    serial: ""1516yolo_observation:17  ros__parameters:18    reliable_transport: true19    segmentation_target_class: my_object20    pose_target_class: my_object21    segmentation_confidence_threshold: 0.5022    pose_detection_confidence_threshold: 0.2523    pose_segmentation_minimum_iou: 0.1024    pose_only_for_reinitialization: true25    expected_keypoints: 826    yolo_device: cpu27    yolo_half: false28    yolo_image_size: 64029    cpu_threads: 230    maximum_data_age: 0.7531    association_minimum_iou: 0.1032    association_reset_after_misses: 53334object_cloud:35  ros__parameters:36    reliable_transport: true37    camera_frame: camera_color_optical_frame38    minimum_depth: 0.0439    maximum_depth: 1.540    voxel_size: 0.00341    outlier_neighbors: 2042    outlier_std_ratio: 2.043    minimum_points: 3044    sync_queue_size: 2045    sync_slop: 0.046    maximum_data_age: 0.75… uncited lines omitted …
58    keypoint_confidence_threshold: 0.3559    min_valid_keypoints: 460    pnp_ransac_iterations: 20061    pnp_reprojection_threshold: 5.062    pnp_confidence: 0.9963    min_pnp_inliers: 464    max_mean_reprojection_error: 5.065    # Reject a local GICP minimum that contradicts PnP's RANSAC consensus.66    max_gicp_keypoint_reprojection_error: 10.067    depth_validation_enabled: true68    max_depth_translation_error: 0.1269    # Correct monocular PnP Z-scale only for a material, bounded discrepancy.70    # Raw PnP remains published unchanged for diagnostics.71    depth_seed_correction_enabled: true72    depth_seed_correction_trigger: 0.02073    depth_seed_correction_maximum: 0.080… uncited lines omitted …
75    minimum_points: 3076    minimum_correspondences: 3077    gicp_fitness_threshold: 0.2078    gicp_rmse_threshold: 0.01279    gicp_overlap_threshold: 0.1080    visibility_filter_enabled: true81    visibility_normal_facing: true82    # PnP reinitialization uses all levels; established tracking uses fine only.83    tracking_fine_only: true84    # The learned initializer is already inside the local basin. A conservative85    # single fine GICP update avoided partial-to-full drift on held-out RGB-D.86    gicp_coarse_enabled: false87    gicp_coarse_voxel_size: 0.01088    gicp_coarse_max_correspondence_distance: 0.02089    gicp_coarse_max_iterations: 2590    gicp_coarse_transformation_epsilon: 0.0000191    gicp_medium_enabled: false92    gicp_medium_voxel_size: 0.00593    gicp_medium_max_correspondence_distance: 0.01294    gicp_medium_max_iterations: 2095    gicp_medium_transformation_epsilon: 0.00000396    gicp_fine_enabled: true97    # 3 mm / 10 iterations measured substantially faster for per-frame tracking;98    # coarse+medium still protect the PnP reinitialization basin.99    gicp_fine_voxel_size: 0.002100    gicp_fine_max_correspondence_distance: 0.008101    gicp_fine_max_iterations: 1102    gicp_fine_transformation_epsilon: 0.000001103104    tracking_failures_until_lost: 2105    maximum_translation_jump: 0.12106    maximum_rotation_jump: 0.8107    translation_filter_alpha: 0.45108    rotation_filter_alpha: 0.45