Skip to content
Snippets Groups Projects
Commit 8408aa10 authored by Nikolaus Vahrenkamp's avatar Nikolaus Vahrenkamp
Browse files

Add missing Vector2 factory

Add Vector2BaseList
parent e83214ca
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,12 @@ module armarx
float x = zeroInt;
float y = zeroInt;
};
/**
/**
* List of [Vector3Base].
*/
sequence<Vector2Base> Vector2BaseList;
/**
* [Vector3Base] defines a 3D vector with x, y, and z.
*/
class Vector3Base extends VariantDataClass
......
......@@ -28,6 +28,7 @@
#include <ArmarXCore/core/system/FactoryCollectionBase.h>
#include <RobotAPI/interface/core/PoseBase.h>
#include <RobotAPI/interface/core/RobotState.h>
#include <RobotAPI/libraries/core/Pose.h>
#include <RobotAPI/libraries/core/FramedPose.h>
#include <RobotAPI/libraries/core/LinkedPose.h>
#include <Ice/Ice.h>
......@@ -163,6 +164,7 @@ namespace armarx
{
ObjectFactoryMap map;
add<armarx::Vector2Base, armarx::Vector2>(map);
map.insert(std::make_pair(armarx::Vector3Base::ice_staticId(), new Vector3ObjectFactory));
map.insert(std::make_pair(armarx::FramedDirectionBase::ice_staticId(), new FramedDirectionObjectFactory));
map.insert(std::make_pair(armarx::LinkedDirectionBase::ice_staticId(), new LinkedDirectionObjectFactory));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment