Skip to content

Commit

Permalink
manip private attr
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Sep 8, 2023
1 parent 3d77b20 commit 5f98908
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ class OpenraveYarpIroning : public OpenRAVE::ModuleBase,
OpenRAVE::RobotBasePtr probot = robots[0];
yCInfo(ORYPS) << "Robot 0: " << probot->GetName(); // default: teo
probot->SetActiveManipulator("rightArm");
OpenRAVE::RobotBase::ManipulatorPtr pRobotManip = probot->GetManipulator("rightArm");
_pRobotManip = probot->GetManipulator("rightArm");

OpenRAVE::Transform ee = pRobotManip->GetEndEffector()->GetTransform();
OpenRAVE::Transform ee = _pRobotManip->GetEndEffector()->GetTransform();
OpenRAVE::Transform tool;
//tool.trans = Vector(0.0,0.0,1.3);
tool.rot = OpenRAVE::geometry::quatFromAxisAngle(OpenRAVE::Vector(0,0,0)); //-- Converts an axis-angle rotation into a quaternion.
Expand Down Expand Up @@ -324,6 +324,7 @@ class OpenraveYarpIroning : public OpenRAVE::ModuleBase,

OpenRAVE::EnvironmentBasePtr _penv;
std::vector<OpenRAVE::KinBodyPtr> _objKinBodyPtrs;
OpenRAVE::RobotBase::ManipulatorPtr _pRobotManip;

OpenRAVE::Transform T_base_object;
OpenRAVE::KinBodyPtr _objPtr;
Expand Down

0 comments on commit 5f98908

Please sign in to comment.