trajectory_interpolator.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_CARTESIAN_CONTROLLER_TRAJECTORY_INTERPOLATOR_TRAJECTORY_INTERPOLATOR_H
19 #define COB_CARTESIAN_CONTROLLER_TRAJECTORY_INTERPOLATOR_TRAJECTORY_INTERPOLATOR_H
20 
21 #include <string>
22 #include <ros/ros.h>
23 #include <geometry_msgs/PoseArray.h>
24 #include <tf/transform_datatypes.h>
25 
28 
30 {
31 public:
32  TrajectoryInterpolator(std::string root_frame, double update_rate)
33  : root_frame_(root_frame)
34  {}
35 
37  {
39  }
40 
41  bool linearInterpolation(geometry_msgs::PoseArray& pose_array,
43 
44  bool circularInterpolation(geometry_msgs::PoseArray& pose_array,
46 
47 private:
48  std::string root_frame_;
50 };
51 
52 #endif // COB_CARTESIAN_CONTROLLER_TRAJECTORY_INTERPOLATOR_TRAJECTORY_INTERPOLATOR_H
TrajectoryInterpolator(std::string root_frame, double update_rate)
bool linearInterpolation(geometry_msgs::PoseArray &pose_array, const cob_cartesian_controller::CartesianActionStruct as)
bool circularInterpolation(geometry_msgs::PoseArray &pose_array, const cob_cartesian_controller::CartesianActionStruct as)
boost::shared_ptr< TrajectoryProfileBase > trajectory_profile_generator_


cob_cartesian_controller
Author(s): Christoph Mark
autogenerated on Thu Apr 8 2021 02:40:13