axial_symmetric_pt.h
Go to the documentation of this file.
00001 /*
00002  * Software License Agreement (Apache License)
00003  *
00004  * Copyright (c) 2015, Southwest Research Institute
00005  *
00006  * Licensed under the Apache License, Version 2.0 (the "License");
00007  * you may not use this file except in compliance with the License.
00008  * You may obtain a copy of the License at
00009  *
00010  * http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef AXIAL_SYMMETRIC_PT_H
00020 #define AXIAL_SYMMETRIC_PT_H
00021 
00022 #include <descartes_trajectory/cart_trajectory_pt.h>
00023 
00024 namespace descartes_trajectory
00025 {
00026 
00032 class AxialSymmetricPt : public descartes_trajectory::CartTrajectoryPt
00033 {
00034 public:
00035 
00039   enum FreeAxis
00040   {
00041     X_AXIS,
00042     Y_AXIS,
00043     Z_AXIS
00044   };
00045 
00050   AxialSymmetricPt(const descartes_core::TimingConstraint& timing = descartes_core::TimingConstraint());
00051 
00067   AxialSymmetricPt(double x, double y, double z, double rx, double ry, double rz,
00068                    double orient_increment, FreeAxis axis,
00069                    const descartes_core::TimingConstraint& timing = descartes_core::TimingConstraint());
00070 
00075   AxialSymmetricPt(const Eigen::Affine3d& pose, double orient_increment, FreeAxis axis,
00076                    const descartes_core::TimingConstraint& timing = descartes_core::TimingConstraint());
00077 
00078   virtual descartes_core::TrajectoryPtPtr copy() const
00079   {
00080     return descartes_core::TrajectoryPtPtr(new AxialSymmetricPt(*this));
00081   }
00082 
00083 };
00084 
00085 
00086 } // descartes trajectory
00087 
00088 #endif // AXIAL_SYMMETRIC_PT_H


descartes_trajectory
Author(s): Jorge Nicho
autogenerated on Wed Aug 26 2015 11:21:27