Go to the documentation of this file.
36 ARMARX_CHECK(
arm) <<
"Set RobotHand::side() before setting the TCP pose.";
RobotHand & fileBySide(const std::string &side, RobotInfoNodePtr robotInfo)
Set the robot file according the desired side.
RobotHand & fileByArm(const RobotNameHelper::Arm &arm)
Robot & file(std::string const &project, std::string const &filename)
std::string getHandModelPackage() const
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
Eigen::Matrix4f pose() const
std::shared_ptr< class RobotNameHelper > RobotNameHelperPtr
Eigen::Matrix4f getTcp2HandRootTransform() const
MatrixXX< 4, 4, float > Matrix4f
Left or right hand of a robot.
static RobotNameHelperPtr Create(const RobotInfoNodePtr &robotInfo, const StatechartProfilePtr &profile)
const Arm & getArm() const
std::optional< RobotNameHelper::Arm > arm
The arm name helper. Set by fileBySide().
This file is part of ArmarX.
std::shared_ptr< class Robot > RobotPtr
Arm getArm(const std::string &side) const
RobotHand & tcpPose(const Eigen::Matrix4f &tcpPose, VirtualRobot::RobotPtr robot)
Set the pose of robotViz according to the given TCP pose.