ros2_control - rolling
Loading...
Searching...
No Matches
controller_info.hpp
1// Copyright 2020 PAL Robotics S.L.
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 HARDWARE_INTERFACE__CONTROLLER_INFO_HPP_
16#define HARDWARE_INTERFACE__CONTROLLER_INFO_HPP_
17
18#include <optional>
19#include <string>
20#include <vector>
21
22namespace hardware_interface
23{
25
29{
31 std::string name;
32
34 std::string type;
35
37 std::vector<std::string> parameters_files;
38
40 std::vector<std::string> claimed_interfaces;
41
43 std::vector<std::string> fallback_controllers_names;
44
46 std::vector<std::string> node_options_args;
47};
48
49} // namespace hardware_interface
50#endif // HARDWARE_INTERFACE__CONTROLLER_INFO_HPP_
Definition actuator.hpp:33
Controller Information.
Definition controller_info.hpp:29
std::string type
Controller type.
Definition controller_info.hpp:34
std::vector< std::string > fallback_controllers_names
List of fallback controller names to be activated if this controller fails.
Definition controller_info.hpp:43
std::string name
Controller name.
Definition controller_info.hpp:31
std::vector< std::string > claimed_interfaces
List of claimed interfaces by the controller.
Definition controller_info.hpp:40
std::vector< std::string > node_options_args
Controller node options arguments.
Definition controller_info.hpp:46
std::vector< std::string > parameters_files
Controller param file.
Definition controller_info.hpp:37