Template Function nav2_util::copy_all_parameters

Function Documentation

template<typename NodeT1, typename NodeT2>
void nav2_util::copy_all_parameters(const NodeT1 &parent, const NodeT2 &child)

A method to copy all parameters from one node (parent) to another (child). May throw parameter exceptions in error conditions.

Parameters:
  • parent – Node to copy parameters from

  • child – Node to copy parameters to