Go to the documentation of this file.
23 #include <VirtualRobot/LinkedCoordinate.h>
24 #include <VirtualRobot/Robot.h>
25 #include <VirtualRobot/VirtualRobot.h>
37 FramedOrientedPointBase(
source),
43 const Eigen::Vector3f& normal,
44 const std::string& frame,
45 const std::string& agent) :
53 const std::string& frame,
54 const std::string& agent) :
56 pointWithNormal.normalToEigen(),
68 const std::string& frame,
69 const std::string& agent) :
84 const std::string& newFrame)
91 this->px = framedPos.x;
92 this->py = framedPos.y;
93 this->pz = framedPos.z;
95 this->nx = framedDir.x;
96 this->ny = framedDir.y;
97 this->nz = framedDir.z;
192 <<
"frame: " <<
getFrame() << (agent.empty() ?
"" : (
" agent: " + agent));
198 const Ice::Current&)
const
202 obj->setString(
"frame", frame);
203 obj->setString(
"agent", agent);
211 frame = obj->getString(
"frame");
213 if (obj->hasElement(
"agent"))
215 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