src
cartesian_trajectory_controller.cpp
Go to the documentation of this file.
1
// -- BEGIN LICENSE BLOCK ----------------------------------------------
2
// Copyright 2021 FZI Forschungszentrum Informatik
3
// Created on behalf of Universal Robots A/S
4
//
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
//
9
// http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
16
// -- END LICENSE BLOCK ------------------------------------------------
17
18
//-----------------------------------------------------------------------------
25
//-----------------------------------------------------------------------------
26
27
#include <
pluginlib/class_list_macros.h
>
28
#include <
cartesian_trajectory_controller/cartesian_trajectory_controller.h
>
29
#include <
cartesian_interface/cartesian_command_interface.h
>
30
#include <
hardware_interface/joint_command_interface.h
>
31
#include "
hardware_interface/joint_state_interface.h
"
32
33
namespace
pose_controllers
34
{
35
using
CartesianTrajectoryController
=
36
cartesian_trajectory_controller::CartesianTrajectoryController<ros_controllers_cartesian::PoseCommandInterface>
;
37
}
38
39
namespace
twist_controllers
40
{
41
using
CartesianTrajectoryController
=
42
cartesian_trajectory_controller::CartesianTrajectoryController<ros_controllers_cartesian::TwistCommandInterface>
;
43
}
44
45
namespace
position_controllers
46
{
47
using
CartesianTrajectoryController
=
48
cartesian_trajectory_controller::CartesianTrajectoryController<hardware_interface::PositionJointInterface>
;
49
}
50
51
namespace
velocity_controllers
52
{
53
using
CartesianTrajectoryController
=
54
cartesian_trajectory_controller::CartesianTrajectoryController<hardware_interface::VelocityJointInterface>
;
55
}
56
57
namespace
cartesian_trajectory_publisher
58
{
59
using
CartesianTrajectoryPublisher
=
60
cartesian_trajectory_controller::CartesianTrajectoryController<hardware_interface::JointStateInterface>
;
61
}
62
63
PLUGINLIB_EXPORT_CLASS
(
pose_controllers::CartesianTrajectoryController
,
controller_interface::ControllerBase
)
64
65
/* Not yet implemented.
66
PLUGINLIB_EXPORT_CLASS(twist_controllers::CartesianTrajectoryController,
67
controller_interface::ControllerBase)
68
*/
69
70
PLUGINLIB_EXPORT_CLASS
(
position_controllers::CartesianTrajectoryController
,
controller_interface::ControllerBase
)
71
/* Not yet implemented
72
PLUGINLIB_EXPORT_CLASS(velocity_controllers::CartesianTrajectoryController,
73
controller_interface::ControllerBase)
74
*/
75
76
PLUGINLIB_EXPORT_CLASS
(
cartesian_trajectory_publisher::CartesianTrajectoryPublisher
,
77
controller_interface::ControllerBase
)
cartesian_trajectory_publisher
Definition:
cartesian_trajectory_controller.cpp:57
velocity_controllers::CartesianTrajectoryController
cartesian_trajectory_controller::CartesianTrajectoryController< hardware_interface::VelocityJointInterface > CartesianTrajectoryController
Definition:
cartesian_trajectory_controller.cpp:54
twist_controllers
Definition:
cartesian_trajectory_controller.cpp:39
pose_controllers
Definition:
cartesian_trajectory_controller.cpp:33
cartesian_command_interface.h
class_list_macros.h
position_controllers
controller_interface::ControllerBase
cartesian_trajectory_controller::CartesianTrajectoryController
Definition:
cartesian_trajectory_controller.h:42
PLUGINLIB_EXPORT_CLASS
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
joint_command_interface.h
position_controllers::CartesianTrajectoryController
cartesian_trajectory_controller::CartesianTrajectoryController< hardware_interface::PositionJointInterface > CartesianTrajectoryController
Definition:
cartesian_trajectory_controller.cpp:48
cartesian_trajectory_controller.h
joint_state_interface.h
velocity_controllers
cartesian_trajectory_controller
Author(s):
autogenerated on Tue Oct 15 2024 02:09:16