Class ParameterHandler

Class Documentation

class ParameterHandler

Handles parameters and dynamic parameters for RPP.

Public Functions

ParameterHandler(rclcpp_lifecycle::LifecycleNode::SharedPtr node, std::string &plugin_name, rclcpp::Logger &logger, const double costmap_size_x)

Constructor for nav2_regulated_pure_pursuit_controller::ParameterHandler.

~ParameterHandler() = default

Destrructor for nav2_regulated_pure_pursuit_controller::ParameterHandler.

inline std::mutex &getMutex()
inline Parameters *getParams()

Protected Functions

rcl_interfaces::msg::SetParametersResult dynamicParametersCallback(std::vector<rclcpp::Parameter> parameters)

Callback executed when a parameter change is detected.

Parameters:

event – ParameterEvent message

Protected Attributes

std::mutex mutex_
rclcpp::node_interfaces::OnSetParametersCallbackHandle::SharedPtr dyn_params_handler_
Parameters params_
std::string plugin_name_
rclcpp::Logger logger_ = {rclcpp::get_logger("RegulatedPurePursuitController")}