Go to the documentation of this file.
29 #include <VirtualRobot/VirtualRobot.h>
31 #include <RobotAPI/interface/units/GraspCandidateProviderInterface.h>
65 Eigen::Vector3f approachVector;
66 Eigen::Vector3f inwardsVector;
74 s.graspPose =
defrost(candidate->graspPoseLeft);
75 s.approachVector =
defrost(candidate->approachVectorLeft);
76 s.inwardsVector =
defrost(candidate->inwardsVectorLeft);
85 s.graspPose =
defrost(candidate->graspPoseRight);
86 s.approachVector =
defrost(candidate->approachVectorRight);
87 s.inwardsVector =
defrost(candidate->inwardsVectorRight);
91 const grasping::BimanualGraspCandidatePtr
100 return Vector3Ptr::dynamicCast(base)->toEigen();
106 return PosePtr::dynamicCast(base)->toEigen();
110 grasping::BimanualGraspCandidatePtr candidate;
BimanualGraspCandidateHelper(const grasping::BimanualGraspCandidatePtr &candidate, VirtualRobot::RobotPtr robot)
const grasping::BimanualGraspCandidatePtr getGraspCandidate() const
Eigen::Vector3f getGraspPositionInGlobal() const
Eigen::Matrix4f getPrePoseInRobotRoot(float approachDistance) const
MatrixXX< 4, 4, float > Matrix4f
Eigen::Matrix3f getGraspOrientationInGlobal() const
Eigen::Vector3f getApproachVector() const
Eigen::Vector3f defrost(const Vector3BasePtr &base) const
Eigen::Matrix3f getGraspOrientationInRobotRoot() const
Eigen::Matrix4f getGraspPoseInRobotRoot() const
Eigen::Matrix4f defrost(const PoseBasePtr &base) const
BimanualGraspCandidateHelper & operator=(const BimanualGraspCandidateHelper &)=default
Eigen::Vector3f getGraspPositionInRobotRoot() const
std::shared_ptr< class BimanualGraspCandidateHelper > BimanualGraspCandidateHelperPtr
Eigen::Matrix4f getGraspPoseInGlobal() const
MatrixXX< 3, 3, float > Matrix3f
double s(double t, double s0, double v0, double a0, double j)
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< class Robot > RobotPtr