speed_scaling_interface.h
Go to the documentation of this file.
1 // -- BEGIN LICENSE BLOCK ----------------------------------------------
2 // Copyright 2019 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 //----------------------------------------------------------------------
28 //
29 // Note: This file was modified from the original.
30 //
31 //----------------------------------------------------------------------
32 
33 #pragma once
34 
36 
38 {
40 {
41 public:
43  SpeedScalingHandle(const std::string& name, const double* scaling_factor)
44  : name_(name), scaling_factor_(scaling_factor){};
45  virtual ~SpeedScalingHandle() = default;
46 
47  std::string getName() const
48  {
49  return name_;
50  }
51 
52  const double* getScalingFactor() const
53  {
54  return scaling_factor_;
55  }
56 
57 private:
58  std::string name_;
59  const double* scaling_factor_;
60 };
63 {
64 };
65 } // namespace scaled_controllers
Hardware interface to support reading the speed scaling factor.
SpeedScalingHandle(const std::string &name, const double *scaling_factor)


speed_scaling_interface
Author(s): Felix Exner
autogenerated on Wed May 18 2022 02:43:19