Nav2 Navigation Stack - kilted  kilted
ROS 2 Navigation Stack
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dwb_plugins::KinematicsHandler Class Reference

A class managing the representation of the robot's kinematics. More...

#include <nav2_dwb_controller/dwb_plugins/include/dwb_plugins/kinematic_parameters.hpp>

Collaboration diagram for dwb_plugins::KinematicsHandler:
Collaboration graph
[legend]

Public Types

using Ptr = std::shared_ptr< KinematicsHandler >
 

Public Member Functions

void initialize (const nav2_util::LifecycleNode::SharedPtr &nh, const std::string &plugin_name)
 
KinematicParameters getKinematics ()
 
void setSpeedLimit (const double &speed_limit, const bool &percentage)
 

Protected Member Functions

rcl_interfaces::msg::SetParametersResult dynamicParametersCallback (std::vector< rclcpp::Parameter > parameters)
 Callback executed when a parameter change is detected. More...
 
void update_kinematics (KinematicParameters kinematics)
 

Protected Attributes

nav2_util::LifecycleNode::WeakPtr node_
 
std::atomic< KinematicParameters * > kinematics_
 
rclcpp::node_interfaces::OnSetParametersCallbackHandle::SharedPtr dyn_params_handler_
 
std::string plugin_name_
 

Detailed Description

A class managing the representation of the robot's kinematics.

Definition at line 139 of file kinematic_parameters.hpp.

Member Function Documentation

◆ dynamicParametersCallback()

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

Callback executed when a parameter change is detected.

Parameters
parameterslist of changed parameters

Definition at line 174 of file kinematic_parameters.cpp.


The documentation for this class was generated from the following files: