ros2_control - iron
Loading...
Searching...
No Matches
forward_command_controller.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 FORWARD_COMMAND_CONTROLLER__FORWARD_COMMAND_CONTROLLER_HPP_
16#define FORWARD_COMMAND_CONTROLLER__FORWARD_COMMAND_CONTROLLER_HPP_
17
18#include <memory>
19#include <string>
20#include <vector>
21
22#include "forward_command_controller/forward_controllers_base.hpp"
23#include "forward_command_controller/visibility_control.h"
24// auto-generated by generate_parameter_library
25#include "forward_command_controller_parameters.hpp"
26
27namespace forward_command_controller
28{
41{
42public:
43 FORWARD_COMMAND_CONTROLLER_PUBLIC
45
46protected:
47 void declare_parameters() override;
48 controller_interface::CallbackReturn read_parameters() override;
49
50 std::shared_ptr<ParamListener> param_listener_;
51 Params params_;
52};
53
54} // namespace forward_command_controller
55
56#endif // FORWARD_COMMAND_CONTROLLER__FORWARD_COMMAND_CONTROLLER_HPP_
Forward command controller for a set of joints.
Definition forward_command_controller.hpp:41
void declare_parameters() override
Definition forward_command_controller.cpp:30
controller_interface::CallbackReturn read_parameters() override
Definition forward_command_controller.cpp:35
Forward command controller for a set of joints and interfaces.
Definition forward_controllers_base.hpp:43