Gazebo Sim
API Reference
9.0.0
insert_drive_file
Tutorials
library_books
Classes
toc
Namespaces
insert_drive_file
Files
launch
Gazebo Website
Index
List
Hierarchy
Members: All
Members: Functions
Members: Variables
Members: Typedefs
Members: Enumerations
Members: Enumerator
List
Members
Functions
Typedefs
Variables
Enumerations
Enumerator
src
gz-sim
src
systems
joint_position_controller
systems/joint_position_controller/JointPositionController.hh
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Open Source Robotics Foundation
3
* Copyright (C) 2023 Benjamin Perseghetti, Rudis Laboratories
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
*
17
*/
18
#ifndef GZ_SIM_SYSTEMS_JOINTPOSITIONCONTROLLER_HH_
19
#define GZ_SIM_SYSTEMS_JOINTPOSITIONCONTROLLER_HH_
20
21
#include <memory>
22
#include <
gz/sim/System.hh
>
23
24
namespace
gz
25
{
26
namespace
sim
27
{
28
// Inline bracket to help doxygen filtering.
29
inline
namespace
GZ_SIM_VERSION_NAMESPACE {
30
namespace
systems
31
{
32
// Forward declaration
33
class
JointPositionControllerPrivate;
34
99
class
JointPositionController
100
:
public
System
,
101
public
ISystemConfigure
,
102
public
ISystemPreUpdate
103
{
105
public
:
JointPositionController
();
106
108
public
:
~JointPositionController
()
override
=
default
;
109
110
// Documentation inherited
111
public
:
void
Configure
(
const
Entity
&_entity,
112
const
std::shared_ptr<const sdf::Element>
&_sdf,
113
EntityComponentManager
&_ecm,
114
EventManager
&_eventMgr)
override
;
115
116
// Documentation inherited
117
public
:
void
PreUpdate
(
118
const
gz::sim::UpdateInfo
&_info,
119
gz::sim::EntityComponentManager
&_ecm)
override
;
120
122
private
:
std::unique_ptr<JointPositionControllerPrivate>
dataPtr;
123
};
124
}
125
}
126
}
127
}
128
129
#endif