limiter_base.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
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 
18 #ifndef COB_TWIST_CONTROLLER_LIMITERS_LIMITER_BASE_H
19 #define COB_TWIST_CONTROLLER_LIMITERS_LIMITER_BASE_H
20 
22 
25 {
26  public:
27  explicit LimiterJointBase(const LimiterParams& limiter_params) : limiter_params_(limiter_params)
28  {}
29 
30  virtual ~LimiterJointBase() {}
31 
40  virtual KDL::JntArray enforceLimits(const KDL::JntArray& q_dot_ik, const KDL::JntArray& q) const = 0;
41 
42  protected:
44 
45 };
46 
49 {
50  public:
51  explicit LimiterCartesianBase(const LimiterParams& limiter_params) : limiter_params_(limiter_params)
52  {}
53 
54  virtual ~LimiterCartesianBase() {}
55 
63  virtual KDL::Twist enforceLimits(const KDL::Twist& v_in) const = 0;
64 
65  protected:
67 
68 };
69 
70 #endif // COB_TWIST_CONTROLLER_LIMITERS_LIMITER_BASE_H
virtual ~LimiterJointBase()
Definition: limiter_base.h:30
Base class for joint/output limiters, defining interface methods.
Definition: limiter_base.h:24
const LimiterParams & limiter_params_
Definition: limiter_base.h:43
virtual KDL::JntArray enforceLimits(const KDL::JntArray &q_dot_ik, const KDL::JntArray &q) const =0
LimiterJointBase(const LimiterParams &limiter_params)
Definition: limiter_base.h:27
const LimiterParams & limiter_params_
Definition: limiter_base.h:66
virtual ~LimiterCartesianBase()
Definition: limiter_base.h:54
LimiterCartesianBase(const LimiterParams &limiter_params)
Definition: limiter_base.h:51
Base class for cartesian/input limiters, defining interface methods.
Definition: limiter_base.h:48


cob_twist_controller
Author(s): Felix Messmer , Marco Bezzon , Christoph Mark , Francisco Moreno
autogenerated on Thu Apr 8 2021 02:40:00