41 Ogre::Vector3& visual_position,
42 Ogre::Quaternion& visual_orientation,
43 Ogre::Vector3& collision_position,
44 Ogre::Quaternion& collision_orientation)
const
54 const Eigen::Vector3d& robot_visual_position = robot_state_->getGlobalLinkTransform(link_model).translation();
55 Eigen::Quaterniond robot_visual_orientation(robot_state_->getGlobalLinkTransform(link_model).linear());
56 visual_position = Ogre::Vector3(robot_visual_position.x(), robot_visual_position.y(), robot_visual_position.z());
57 visual_orientation = Ogre::Quaternion(robot_visual_orientation.w(), robot_visual_orientation.x(),
58 robot_visual_orientation.y(), robot_visual_orientation.z());
59 collision_position = visual_position;
60 collision_orientation = visual_orientation;
A link from the robot. Contains the constant transform applied to the link and its geometry.
bool getLinkTransforms(const std::string &link_name, Ogre::Vector3 &visual_position, Ogre::Quaternion &visual_orientation, Ogre::Vector3 &collision_position, Ogre::Quaternion &collision_orientation) const override
Vec3fX< details::Vec3Data< double > > Vector3d