Split configuration out of the planner into DockPlannerConfig with explicit
load/validate, so a missing or malformed key fails at initialize() with a
message instead of silently defaulting to zero.
- initialize() now scopes its NodeHandle to the plugin name. The previous
"~/<name>" form never resolved ("~" is not a key in the merged tree) and
fell back to ROOT, so every parameter was read from the wrong place and
cost_threshold silently dropped from 200 to 0.
- Replace robot_nav_2d_utils::footprintFromParams(), whose declaration and
definition disagreed on the argument type. The symbol was never defined,
and because the plugin is dlopen'd lazily the failure only surfaced at the
call site on the robot, long after a clean build.
- Read footprint_dock, the dock object's polygon, with range and NaN checks.
move_base2 copies it in per marker before the instance is built.
- dock_anchor selects whether the marker goal sits at the dock centre or on
its approach face; the face case ignores footprint_dock entirely.
- makePlan() rejects start/goal outside the costmap global frame instead of
planning across mismatched frames.
- Add dock_planner_test covering config validation, footprint parsing and
path generation.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
20 lines
582 B
XML
20 lines
582 B
XML
<?xml version="1.0"?>
|
|
<package format="2">
|
|
<name>dock_planner</name>
|
|
<version>0.7.11</version>
|
|
<description>Global planner that generates a quadratic NURBS approach path for docking.</description>
|
|
<maintainer email="xroboticdevs@gmail.com">duongtd</maintainer>
|
|
<license>BSD</license>
|
|
|
|
<buildtool_depend>catkin</buildtool_depend>
|
|
|
|
<depend>robot_costmap_2d</depend>
|
|
<depend>robot_nav_core</depend>
|
|
<depend>robot_geometry_msgs</depend>
|
|
<depend>robot_cpp</depend>
|
|
<depend>robot_time</depend>
|
|
<depend>data_convert</depend>
|
|
<depend>yaml-cpp</depend>
|
|
|
|
</package>
|