jsk-ros-pkg / jsk_model_tools

JSK model utilities
https://github.com/jsk-ros-pkg/jsk_model_tools
BSD 3-Clause "New" or "Revised" License
5 stars 27 forks source link

[euscollada] Add documentation for predefined poses #174

Closed wkentaro closed 8 years ago

wkentaro commented 8 years ago
% cat pr2.l | grep '(:reset-manip-pose' -A8
    (:reset-manip-pose
      (&optional (limbs '(:torso :larm :rarm :head)))
      """Predefined pose named reset-manip-pose."""
      (unless (listp limbs) (setq limbs (list limbs)))
      (dolist (limb limbs)
        (case limb
          (:torso (send self limb :angle-vector (float-vector 300.000000)))
          (:larm (send self limb :angle-vector (float-vector 75.000000 50.000000 110.000000 -110.000000 -20.000000 -10.000000 -10.000000)))
          (:rarm (send self limb :angle-vector (float-vector -75.000000 50.000000 -110.000000 -110.000000 20.000000 -10.000000 -10.000000)))
k-okada commented 8 years ago

based on @snozawa 's request, https://github.com/jsk-ros-pkg/jsk_model_tools/pull/172#issuecomment-209165271

k-okada commented 8 years ago

please rebase origin/master

wkentaro commented 8 years ago

Rebased.

k-okada commented 7 years ago

https://github.com/jsk-ros-pkg/jsk_model_tools/pull/204/files

-- ◉ Kei Okada

2017-04-04 22:16 GMT+09:00 Kentaro Wada notifications@github.com:

@wkentaro commented on this pull request.

In euscollada/src/collada2eus.cpp https://github.com/jsk-ros-pkg/jsk_model_tools/pull/174#discussion_r109658320 :

@@ -1604,10 +1604,12 @@ int main(int argc, char* argv[]){ } fprintf(output_fp, "\n"

  • " (:%s (&optional (limbs '(%s)))\n"
  • " (:%s\n"
  • " (&optional (limbs '(%s)))\n"
  • " \"\"\"Predefined pose named %s.\"\"\"\n"

Sorry, so it should be

\"Predefined pose named %s.\"\n"

?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_model_tools/pull/174#discussion_r109658320, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3DfeDR3_gpQeg15V-70yCvzlcAP4ks5rskKxgaJpZM4IIOt4 .