Go to the documentation of this file.
23 #include <VirtualRobot/Robot.h>
24 #include <VirtualRobot/LinkedCoordinate.h>
25 #include <VirtualRobot/LinkedCoordinate.h>
26 #include <VirtualRobot/VirtualRobot.h>
39 FramedOrientedPointBase(
source),
53 FramedOrientedPoint(pointWithNormal.positionToEigen(), pointWithNormal.normalToEigen(), frame, agent)
77 this->px = framedPos.x;
78 this->py = framedPos.y;
79 this->pz = framedPos.z;
81 this->nx = framedDir.x;
82 this->ny = framedDir.y;
83 this->nz = framedDir.z;
171 obj->setString(
"frame", frame);
172 obj->setString(
"agent", agent);
180 frame = obj->getString(
"frame");
182 if (obj->hasElement(
"agent"))
184 agent = obj->getString(
"agent");
const VariantTypeId Float
void deserialize(const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
FramedPosition getFramedPosition() const
virtual Eigen::Vector3f positionToEigen() const
std::string getFrame() const
const std::string GlobalFrame
Eigen::Vector3f toRootEigen(const SharedRobotInterfacePrx &referenceRobot) const
void deserialize(const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
Eigen::Vector3f toRootEigen(const SharedRobotInterfacePrx &referenceRobot) const
void changeFrame(const VirtualRobot::RobotPtr &robot, const std::string &newFrame)
Eigen::Vector3f toGlobalEigen(const SharedRobotInterfacePrx &referenceRobot) const
std::string output(const Ice::Current &c=Ice::emptyCurrent) const override
Eigen::Vector3f toGlobalEigen(const SharedRobotInterfacePrx &referenceRobot) const
Eigen::Vector3f normalToGlobalEigen(const SharedRobotInterfacePrx &referenceRobot) const
void changeToGlobal(const SharedRobotInterfacePrx &referenceRobot)
The FramedPosition class.
FramedDirection getFramedNormal() const
void changeFrame(const SharedRobotInterfacePrx &referenceRobot, const std::string &newFrame)
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
Eigen::Vector3f positionToGlobalEigen(const SharedRobotInterfacePrx &referenceRobot) const
void serialize(const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
std::string output(const Ice::Current &c=Ice::emptyCurrent) const override
FramedOrientedPointPtr toRootFrame(const SharedRobotInterfacePrx &referenceRobot) const
Mimics the behaviour of the VirtualRobot::Robot class while redirecting everything to an Ice proxy.
FramedDirection is a 3 dimensional direction vector with a reference frame. The reference frame can b...
const VariantTypeId FramedDirection
Eigen::Vector3f positionToRootEigen(const SharedRobotInterfacePrx &referenceRobot) const
void serialize(const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
void changeFrame(const VirtualRobot::RobotPtr &robot, const std::string &newFrame)
const VariantTypeId FramedPosition
double s(double t, double s0, double v0, double a0, double j)
virtual Eigen::Vector3f normalToEigen() const
Eigen::Vector3f normalToRootEigen(const SharedRobotInterfacePrx &referenceRobot) const
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr