Gazebo Gazebo

API Reference

3.15.2
gz/sim/components/JointEffortLimitsCmd.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #ifndef GZ_GAZEBO_COMPONENTS_JOINTEFFORTLIMITSCMD_HH_
18 #define GZ_GAZEBO_COMPONENTS_JOINTEFFORTLIMITSCMD_HH_
19 
20 #include <vector>
21 #include <gz/math/Vector2.hh>
22 
26 #include <gz/sim/config.hh>
27 #include <gz/sim/Export.hh>
28 
29 namespace ignition
30 {
31 namespace gazebo
32 {
33 // Inline bracket to help doxygen filtering.
34 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
35 
36 namespace components
37 {
38 
46 using JointEffortLimitsCmd = Component<
48  class JointEffortLimitsCmdTag,
49  serializers::VectorSerializer<gz::math::Vector2d>
50 >;
51 
53  "ign_gazebo_components.JointEffortLimitsCmd", JointEffortLimitsCmd)
54 }
55 
56 }
57 }
58 }
59 
60 #endif
This library is part of the Ignition Robotics project.
Component< std::vector< gz::math::Vector2d >, class JointEffortLimitsCmdTag, serializers::VectorSerializer< gz::math::Vector2d > > JointEffortLimitsCmd
Command for setting effort limits of a joint. Data are a vector with a Vector2 for each DOF....
Definition: gz/sim/components/JointEffortLimitsCmd.hh:50
#define IGN_GAZEBO_REGISTER_COMPONENT(_compType, _classname)
Static component registration macro.
Definition: gz/sim/components/Factory.hh:331
STL class.
IGN_GAZEBO_REGISTER_COMPONENT("ign_gazebo_components.AngularAcceleration", AngularAcceleration) using WorldAngularAcceleration
A component type that contains angular acceleration of an entity in the world frame represented by gz...