RobotAPIObjectFactories.cpp
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package ArmarX::
17 * @author Mirko Waechter ( mirko.waechter at kit dot edu)
18 * @date 2014
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 
24 
25 #include "Trajectory.h"
26 #include <RobotAPI/interface/core/PoseBase.h>
27 #include <RobotAPI/interface/core/RobotState.h>
40 
41 
42 using namespace armarx;
43 using namespace armarx::ObjectFactories;
44 
46 {
47  ObjectFactoryMap map;
48 
49  add<Vector2>(map);
50  add<Vector3>(map);
51  add<FramedDirection>(map);
52  add<LinkedDirection>(map);
53  add<Quaternion>(map);
54  add<Pose>(map);
55  add<FramedPose>(map);
56  add<FramedOrientation>(map);
57  add<FramedPosition>(map);
58  add<LinkedPose>(map);
59 
60  add<armarx::OrientedPointBase, armarx::OrientedPoint>(map);
61  add<armarx::FramedOrientedPointBase, armarx::FramedOrientedPoint>(map);
62  add<armarx::CartesianPositionControllerConfigBase, armarx::CartesianPositionControllerConfig>(map);
63 
64  add<armarx::PoseMedianFilterBase, armarx::filters::PoseMedianFilter>(map);
65  add<armarx::PoseAverageFilterBase, armarx::filters::PoseAverageFilter>(map);
66  add<armarx::PoseMedianOffsetFilterBase, armarx::filters::PoseMedianOffsetFilter>(map);
67  add<armarx::MedianDerivativeFilterV3Base, armarx::filters::MedianDerivativeFilterV3>(map);
68  add<armarx::OffsetFilterBase, armarx::filters::OffsetFilter>(map);
69  add<armarx::MatrixMaxFilterBase, armarx::filters::MatrixMaxFilter>(map);
70  add<armarx::MatrixMinFilterBase, armarx::filters::MatrixMinFilter>(map);
71  add<armarx::MatrixAvgFilterBase, armarx::filters::MatrixAvgFilter>(map);
72  add<armarx::MatrixPercentileFilterBase, armarx::filters::MatrixPercentileFilter>(map);
73  add<armarx::MatrixPercentilesFilterBase, armarx::filters::MatrixPercentilesFilter>(map);
74  add<armarx::MatrixCumulativeFrequencyFilterBase, armarx::filters::MatrixCumulativeFrequencyFilter>(map);
75  add<armarx::TrajectoryBase, armarx::Trajectory>(map);
76 
77  return map;
78 }
LinkedPose.h
FramedOrientedPoint.h
Pose.h
armarx::ObjectFactoryMap
std::map< std::string, Ice::ValueFactoryPtr > ObjectFactoryMap
Definition: FactoryCollectionBase.h:61
MatrixFilters.h
RobotAPIObjectFactories.h
PoseMedianFilter.h
OrientedPoint.h
MedianDerivativeFilterV3.h
FramedPose.h
PoseAverageFilter.h
OffsetFilter.h
CartesianPositionController.h
Trajectory.h
armarx::ObjectFactories::RobotAPIObjectFactories::getFactories
ObjectFactoryMap getFactories() override
Definition: RobotAPIObjectFactories.cpp:45
armarx::ObjectFactories
Definition: CoreObjectFactories.h:54
PoseMedianOffsetFilter.h
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28