ros2_control - galactic
Loading...
Searching...
No Matches
ros2_controllers
effort_controllers
include
effort_controllers
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
24
namespace
effort_controllers
25
{
26
using
CallbackReturn = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn;
27
38
class
JointGroupEffortController
:
public
forward_command_controller::ForwardCommandController
39
{
40
public
:
41
EFFORT_CONTROLLERS_PUBLIC
42
JointGroupEffortController
();
43
44
EFFORT_CONTROLLERS_PUBLIC
45
CallbackReturn on_init()
override
;
46
47
EFFORT_CONTROLLERS_PUBLIC
48
CallbackReturn on_deactivate(
const
rclcpp_lifecycle::State & previous_state)
override
;
49
};
50
51
}
// namespace effort_controllers
52
53
#endif
// EFFORT_CONTROLLERS__JOINT_GROUP_EFFORT_CONTROLLER_HPP_
effort_controllers::JointGroupEffortController
Forward command controller for a set of effort controlled joints (linear or angular).
Definition
joint_group_effort_controller.hpp:39
forward_command_controller::ForwardCommandController
Forward command controller for a set of joints.
Definition
forward_command_controller.hpp:48
Generated by
1.9.8