40 ARMARX_CHECK(
arm) <<
"Set RobotHand::side() before setting the TCP pose.";
armarx::RobotArm RobotArm
Arm getArm(const std::string &side) const
static RobotNameHelperPtr Create(const RobotInfoNodePtr &robotInfo, const StatechartProfilePtr &profile)
Eigen::Matrix4f pose() const
Left or right hand of a robot.
RobotHand & fileBySide(const std::string &side, RobotInfoNodePtr robotInfo)
Set the robot file according the desired side.
RobotHand & fileByArm(const RobotNameHelper::Arm &arm)
RobotHand & tcpPose(const Eigen::Matrix4f &tcpPose, VirtualRobot::RobotPtr robot)
Set the pose of robotViz according to the given TCP pose.
RobotHand & fileByArm(const RobotNameHelper::RobotArm &arm)
std::optional< RobotNameHelper::Arm > arm
The arm name helper. Set by fileBySide().
Robot & file(std::string const &project, std::string const &filename)
#define ARMARX_CHECK(expression)
Shortcut for ARMARX_CHECK_EXPRESSION.
#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...
std::shared_ptr< class Robot > RobotPtr
This file is part of ArmarX.
std::shared_ptr< class RobotNameHelper > RobotNameHelperPtr
std::string getHandModelPackage() const
Eigen::Matrix4f getTcp2HandRootTransform() const
const Arm & getArm() const