The chain was testable but not runnable: simulation fakes the dock entirely (use_simulated_goal writes an invented pose 1.6 m ahead of base_link), so no physical object exists for a laser to see. Nothing in the worlds under Test/simulators is a dock either. This is the missing half - an SDF plate whose geometry matches the v_std profile exactly: 90 degree interior angle, 0.30 m wings. 0.02 m thick so min_split_dist does not read the two faces of one wing as two segments, and 0.6 m tall from the floor so a planar laser at any plausible mounting height cuts through it. The plate and the profile have to agree. Change the model and the wing_length gate rejects the very object that was just spawned, which is the kind of failure that looks like a broken detector.
15 lines
455 B
XML
15 lines
455 B
XML
<?xml version="1.0"?>
|
|
<model>
|
|
<name>dock_plate_v</name>
|
|
<version>1.0</version>
|
|
<sdf version="1.6">model.sdf</sdf>
|
|
<author>
|
|
<name>T800 Robotics</name>
|
|
<email>tdd@gmail.com</email>
|
|
</author>
|
|
<description>
|
|
Tấm dẫn hướng chữ V của trạm dock, dùng để kiểm bộ dò biên dạng bằng LiDAR trong Gazebo.
|
|
Góc trong tại đỉnh 90 độ, mỗi cánh 0.30 m — khớp profile `v_std`.
|
|
</description>
|
|
</model>
|