SMACC2
Classes | Functions
cl_nav2z::backward_local_planner Namespace Reference

Classes

class  BackwardLocalPlanner
 

Functions

template<typename T >
void tryGetOrSet (rclcpp_lifecycle::LifecycleNode::SharedPtr &node, std::string param, T &value)
 

Function Documentation

◆ tryGetOrSet()

template<typename T >
void cl_nav2z::backward_local_planner::tryGetOrSet ( rclcpp_lifecycle::LifecycleNode::SharedPtr &  node,
std::string  param,
T value 
)

BackwardLocalPlanner::configure()

Definition at line 88 of file backward_local_planner.cpp.

89{
90 if (!node->get_parameter(param, value))
91 {
92 node->set_parameter(rclcpp::Parameter(param, value));
93 }
94}

Referenced by cl_nav2z::backward_local_planner::BackwardLocalPlanner::updateParameters().

Here is the caller graph for this function: