ros2_control - rolling
Loading...
Searching...
No Matches
controller_interface_params.hpp
1// Copyright 2025 ros2_control Development Team
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#ifndef CONTROLLER_INTERFACE__CONTROLLER_INTERFACE_PARAMS_HPP_
16#define CONTROLLER_INTERFACE__CONTROLLER_INTERFACE_PARAMS_HPP_
17
18#include <string>
19#include <unordered_map>
20
21#include "joint_limits/joint_limits.hpp"
22#include "rclcpp/node_options.hpp"
23
40namespace controller_interface
41{
42
44{
45 ControllerInterfaceParams() = default;
46
47 std::string controller_name = "";
48 std::string robot_description = "";
49 unsigned int update_rate = 0;
50
51 std::string node_namespace = "";
52 rclcpp::NodeOptions node_options = rclcpp::NodeOptions();
53
54 std::unordered_map<std::string, joint_limits::JointLimits> hard_joint_limits = {};
55 std::unordered_map<std::string, joint_limits::SoftJointLimits> soft_joint_limits = {};
56};
57
58} // namespace controller_interface
59
60#endif // CONTROLLER_INTERFACE__CONTROLLER_INTERFACE_PARAMS_HPP_
Definition controller_interface_params.hpp:44