Closed DrawZeroPoint closed 2 years ago
factory
as follows
factory.setPreplacementDistance("box", 0.1)
before calling
factory.generate()
ConstraintGraphFactory
.Finally, you might want to install hpp-plot
and hpp-gui
in order to activate some plugins in gepetto-gui
and see the constraint graph or the joint tree.
Very clear and informative, thank you! @florent-lamiraux
Dear developers,
After going through the manipulation tutorial and trying to reimplement it with a customized robot and environment, I came across a couple of questions as described below:
Which link is defined as the "reference link" of the environment model? By "reference link" I assume its local frame is aligned with the virtual world frame, whose pose is (0, 0, 0, 1, 0, 0, 0). Form https://github.com/humanoid-path-planner/hpp_tutorial/blob/0e7416efc1e3911d83f0dc94839646f7d39d8850/urdf/kitchen_area.urdf#L218-L221 I see the kitchen_link is listed as the first link appeared in the URDF, and is commented as "the top-level joint /tf frame". Does this mean the first visited link in URDF is the one inherently defined as the reference link?
Regarding the code: https://github.com/humanoid-path-planner/hpp_tutorial/blob/0e7416efc1e3911d83f0dc94839646f7d39d8850/script/tutorial_3.py#L109-L115
I noticed that the two "solve" invoking are completely independent of each other except for using the same initial configuration. If one comment out
ps.addGoalConfig (q_goal)
andprint ps.solve()
in the middle, the solve is still functional after "setTargetState". So this code is basically demonstrating two possible ways to use the API?Based on the code in Q2, is the "grasps" syntax in "pr2/l_gripper grasps box/handle2" listed somewhere together with other predefined actions? Besides, does the "grasps" function silently hold some underlying parameters? I assume the lifting direction is along a certain axis (maybe the +Z axis when approaching the object?) of the gripper's frame
https://github.com/humanoid-path-planner/hpp_tutorial/blob/0e7416efc1e3911d83f0dc94839646f7d39d8850/srdf/pr2_manipulation.srdf#L7-L16
and what about the lifting distance?
Lastly, could the user define new behaviors like the "grasps" one?