Skip to content
Snippets Groups Projects
Commit 5f8e1ffc authored by Leonard's avatar Leonard
Browse files

[doc] Information and link for help on getting proxies.

parent 4c29edfd
No related branches found
No related tags found
Loading
......@@ -32,7 +32,7 @@ The agent name can be retrieved via the \ref armarx::RobotStateComponent like th
So an example code for creating a new FramedPosition looks like this:
\code
RobotStateComponentInterfacePrx robotStateInterfacePrx = ....; // you need to have this proxy, see \ref ArmarXCore-HowTos-GetProxy "get a proxy"
RobotStateComponentInterfacePrx robotStateInterfacePrx = ....; // you need to have this proxy
SharedRobotInterfacePrx robot = robotStateInterfacePrx->getSynchronizedRobot();
std::strning agentName = robotStateInterfacePrx->getRobotName();
std::string frame = robot->getRoot()->getName();
......@@ -41,6 +41,8 @@ So an example code for creating a new FramedPosition looks like this:
armarx::FramedPositionPtr position = new armarx::FramedPosition(pos, frame, agentName);
\endcode
Refer to the Howto at \ref ArmarXCore-HowTos-GetProxy "get a proxy" to learn how to obtain a proxy.
\section FramedPose-ChangeFrame Change the frame of a FramedPosition
In ArmarX the most common coordinate type is the FramedX, e.g. FramedPosition.
To change the frame in this coordinate type, you can call \ref armarx::FramedPosition::changeFrame "changeFrame()" on the FramedPosition.
......
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