ros2_control - humble
Loading...
Searching...
No Matches
joint_group_effort_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 EFFORT_CONTROLLERS__JOINT_GROUP_EFFORT_CONTROLLER_HPP_
16#define EFFORT_CONTROLLERS__JOINT_GROUP_EFFORT_CONTROLLER_HPP_
17
18#include <string>
19
20#include "effort_controllers/visibility_control.h"
21#include "forward_command_controller/forward_command_controller.hpp"
22#include "rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp"
23
24namespace effort_controllers
25{
37{
38public:
39 EFFORT_CONTROLLERS_PUBLIC
41
42 EFFORT_CONTROLLERS_PUBLIC
43 controller_interface::CallbackReturn on_init() override;
44
45 EFFORT_CONTROLLERS_PUBLIC
46 controller_interface::CallbackReturn on_deactivate(
47 const rclcpp_lifecycle::State & previous_state) override;
48};
49
50} // namespace effort_controllers
51
52#endif // EFFORT_CONTROLLERS__JOINT_GROUP_EFFORT_CONTROLLER_HPP_
Forward command controller for a set of effort controlled joints (linear or angular).
Definition joint_group_effort_controller.hpp:37
EFFORT_CONTROLLERS_PUBLIC controller_interface::CallbackReturn on_init() override
Extending interface with initialization method which is individual for each controller.
Definition joint_group_effort_controller.cpp:31
Forward command controller for a set of joints.
Definition forward_command_controller.hpp:40