feat(costmap_2d): background reference graph, shared keys under root:
- ReferenceGraph / ReferenceGraphWorker: Voronoi ridges and one-way lanes are computed on a low-priority thread when the map changes (reference_graph_* keys, off with rolling_window), with unit tests. - Shared costmap keys can live in a root: map or flat at the top of the YAML; costmap_common_root_test covers both layouts. - Static and directional layers report map changes to the layered costmap.
This commit is contained in:
@@ -79,6 +79,14 @@ namespace robot_costmap_2d
|
||||
class Costmap2DROBOT
|
||||
{
|
||||
public:
|
||||
/** @brief Select the namespace containing shared costmap parameters. */
|
||||
static robot::NodeHandle commonParametersHandle(robot::NodeHandle& tree_nh);
|
||||
|
||||
/** @brief Fill missing costmap layer parameters from the shared layer block. */
|
||||
static void copyParentParameters(const std::string& costmap_name, const std::string& plugin_name,
|
||||
const std::string& plugin_type, robot::NodeHandle& source_nh,
|
||||
robot::NodeHandle& target_nh);
|
||||
|
||||
/**
|
||||
* @brief Constructor for the wrapper
|
||||
* @param name The name for this costmap
|
||||
@@ -295,7 +303,6 @@ protected:
|
||||
double transform_tolerance_; ///< timeout before transform errors
|
||||
|
||||
private:
|
||||
void copyParentParameters(const std::string& costmap_name, const std::string& plugin_name, const std::string& plugin_type, robot::NodeHandle& nh);
|
||||
/** @brief Set the footprint from the new_config object.
|
||||
*
|
||||
* If the values of footprint and robot_radius are the same in
|
||||
|
||||
Reference in New Issue
Block a user