Costmap2DROBOT::getParams() logged a layer that threw from initialize()
and returned. The constructor then finished normally with a half-built
costmap: no failed layer, no layers after it, no footprint and no update
thread. move_base2 reported READY, and the only trace was a message
blaming plugin registration.
- costmap_2d_robot.cpp: a failing layer, a malformed plugins: list and a
missing costmap_params.yaml now throw std::runtime_error with the
costmap and layer name, after releasing layered_costmap_ (the
destructor does not run when the constructor throws).
NavigationRuntime::buildCostmaps() already turns this into an
initialization error, so the host never reports READY.
- Static/Obstacle/Voxel/Inflation layers throw when their default file
cannot be opened, instead of running with no parameters.
- VoxelLayer: z_resolution can be overridden from the costmap config
like the other column keys; unknown_threshold is computed after the
final z_voxels, so overriding z_voxels alone keeps it right; z_voxels,
z_resolution, origin_z and the thresholds are range-checked; the
effective column is logged once at start-up.
- config/obstacle_layer_params.yaml: drop the per-source keys. The layer
reads them only under <plugin>/<source>/, so these were never used.
main had not moved since 11 July, while the depth-camera work continued on
dev_cam_intel for six weeks. The two branches did not diverge by accident: they
ended up holding two different clearing designs for the same layer.
main carried frustum clearing as VoxelLayer members - frustum_clearing_enabled_,
a pixel step and a min/max range - driven from costmap_2d_robot. dev_cam_intel
replaced that with a full-column clearing pass whose configuration lives per
observation, so the layer keeps no frustum state of its own.
This commit takes the dev_cam_intel tree whole. It is the line running on the
robot, the one rb_ws points at, and the one the NUC measurements were taken
against; the frustum design is superseded rather than merged, and stays in
history at 45c8227 if it is ever wanted back.
Squashed deliberately: the nineteen commits behind it are a working diary -
metrics that were added and removed, test toggles, an optimal-run series - and
none of that is worth carrying onto a branch other trees track.