2 Commits

Author SHA1 Message Date
duongtd
9dc31e9b88 Warn that Gazebo will not spawn over an existing plate
Spawning the plate a second time fails with "entity already exists" and leaves
the previous one in the world. Edit the model, spawn again, and nothing
changes - which reads as a broken model rather than a refused spawn. It cost a
round trip here: the tape was added, the plate was respawned, and intensities
stayed at zero because the plate standing in the world was the one from before
the tape existed.

The launch and the README now say to delete first, and the README lists the
stale-plate case ahead of the two real ways intensities can come back empty, in
the order worth checking them.
2026-08-26 15:34:12 +07:00
duongtd
4ca57355ba Add a V plate model so the detector has something to find in simulation
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.
2026-08-26 13:14:02 +07:00