Skip to content
Snippets Groups Projects
Commit 0fc310ff authored by Fabian Paus's avatar Fabian Paus
Browse files

Fixed typos in armarpose.dox

parent 286d693f
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -27,14 +27,14 @@ The coordinate frame is usually the name of the RobotNode, e.g. the tcp of the r
The agent name can be retrieved via the \ref armarx::RobotStateComponent like this:
\code
std::strning agentName = robotStateInterfacePrx->getRobotName();
std::string agentName = robotStateInterfacePrx->getRobotName();
\endcode
So an example code for creating a new FramedPosition looks like this:
\code
RobotStateComponentInterfacePrx robotStateInterfacePrx = ....; // you need to have this proxy
SharedRobotInterfacePrx robot = robotStateInterfacePrx->getSynchronizedRobot();
std::strning agentName = robotStateInterfacePrx->getRobotName();
std::string agentName = robotStateInterfacePrx->getRobotName();
std::string frame = robot->getRoot()->getName();
Eigen::Vector3f pos;
pos << 100, 0, 0;
......
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