ros2_control - galactic
Loading...
Searching...
No Matches
ros2_controllers
velocity_controllers
include
velocity_controllers
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
24
namespace
velocity_controllers
25
{
26
using
CallbackReturn = rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn;
37
class
JointGroupVelocityController
:
public
forward_command_controller::ForwardCommandController
38
{
39
public
:
40
VELOCITY_CONTROLLERS_PUBLIC
41
JointGroupVelocityController
();
42
43
VELOCITY_CONTROLLERS_PUBLIC CallbackReturn on_init()
override
;
44
45
VELOCITY_CONTROLLERS_PUBLIC
46
CallbackReturn on_deactivate(
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::ForwardCommandController
Forward command controller for a set of joints.
Definition
forward_command_controller.hpp:48
velocity_controllers::JointGroupVelocityController
Forward command controller for a set of velocity controlled joints (linear or angular).
Definition
joint_group_velocity_controller.hpp:38
Generated by
1.9.8