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