{"action":"created","issue":{"url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/792","labels_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/792/comments","events_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/792/events","html_url":"https://github.com/start-jsk/rtmros_common/issues/792","id":101712527,"number":792,"title":"sequence<sequence<xxx>>のidlを変換できない","user":{"login":"eisoku9618","id":4509039,"avatar_url":"https://avatars.githubusercontent.com/u/4509039?v=3","gravatar_id":"","url":"https://api.github.com/users/eisoku9618","html_url":"https://github.com/eisoku9618","followers_url":"https://api.github.com/users/eisoku9618/followers","following_url":"https://api.github.com/users/eisoku9618/following{/other_user}","gists_url":"https://api.github.com/users/eisoku9618/gists{/gist_id}","starred_url":"https://api.github.com/users/eisoku9618/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eisoku9618/subscriptions","organizations_url":"https://api.github.com/users/eisoku9618/orgs","repos_url":"https://api.github.com/users/eisoku9618/repos","events_url":"https://api.github.com/users/eisoku9618/events{/privacy}","received_events_url":"https://api.github.com/users/eisoku9618/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T17:55:06Z","updated_at":"2015-08-19T03:56:45Z","closed_at":null,"body":"```lisp\r\n(send *ri* :set-foot-steps\r\n      (list (make-coords :coords (send *robot* :lleg :end-coords :copy-worldcoords) :name :lleg)\r\n            (make-coords :coords (send (send *robot* :rleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :rleg)\r\n            (make-coords :coords (send (send *robot* :lleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :lleg)))\r\n```\r\n\r\nのようにfootstepのlistを与えていた部分を\r\n\r\n```lisp\r\n(send *ri* :set-foot-steps\r\n      (list (list (make-coords :coords (send *robot* :lleg :end-coords :copy-worldcoords) :name :lleg)\r\n                  (make-coords :coords (send *robot* :lleg :end-coords :copy-worldcoords) :name :rarm))\r\n            (list (make-coords :coords (send (send *robot* :rleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :rleg)\r\n                  (make-coords :coords (send (send *robot* :rleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :larm))\r\n            (list (make-coords :coords (send (send *robot* :lleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :lleg)\r\n                  (make-coords :coords (send (send *robot* :lleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :rarm))))\r\n```\r\n\r\nのようにfootstepのlistのlistを与えられるようにしたくて，hrpsys-baseのidlの\r\n\r\n```cpp\r\n    typedef sequence<Footstep> FootstepSequence;\r\n    boolean setFootSteps(in FootstepSequence fs, in long overwrite_fs_idx);\r\n```\r\nのところに\r\n```cpp\r\n    typedef sequence< sequence<Footstep> > FootstepNodesSequence;\r\n    boolean setFootStepNodes(in FootstepNodesSequence fns, in long overwrite_fs_idx);\r\n```\r\n\r\n\r\nhttps://github.com/eisoku9618/hrpsys-base/blob/add-interface-of-set-footstep/idl/AutoBalancerService.idl#L50-L51\r\n\r\nを追加してみたのですが，hrpsys_ros_bridgeをビルドするときに，[``rtmbuild_genidl``](https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/catkin.cmake#L91) の中で呼ばれる [rtmbuild_init](https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/cmake/rtmbuild.cmake#L36) の中で呼ばれる[_rtmbuild_genbridge_init](https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/cmake/rtmbuild.cmake#L113)の中で呼ばれる[ここ](https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/cmake/servicebridge.cmake#L38) で実行されている[idl2srv.py](https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/scripts/idl2srv.py)の[ここ](https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/scripts/idl2srv.py#L232)で落ちます．\r\n\r\n\r\nエラーは以下になります．\r\n\r\n```\r\nAttributeError: Struct instance has no attribute 'kind'\r\n```\r\n\r\nhttps://gist.githubusercontent.com/eisoku9618/f7290d77283c2f72464d/raw/29d67d55478c80e61f5386e81ce5691cf0d6822d/a.txt\r\n"},"comment":{"url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/comments/132439004","html_url":"https://github.com/start-jsk/rtmros_common/issues/792#issuecomment-132439004","issue_url":"https://api.github.com/repos/start-jsk/rtmros_common/issues/792","id":132439004,"user":{"login":"k-okada","id":493276,"avatar_url":"https://avatars.githubusercontent.com/u/493276?v=3","gravatar_id":"","url":"https://api.github.com/users/k-okada","html_url":"https://github.com/k-okada","followers_url":"https://api.github.com/users/k-okada/followers","following_url":"https://api.github.com/users/k-okada/following{/other_user}","gists_url":"https://api.github.com/users/k-okada/gists{/gist_id}","starred_url":"https://api.github.com/users/k-okada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-okada/subscriptions","organizations_url":"https://api.github.com/users/k-okada/orgs","repos_url":"https://api.github.com/users/k-okada/repos","events_url":"https://api.github.com/users/k-okada/events{/privacy}","received_events_url":"https://api.github.com/users/k-okada/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T03:56:45Z","updated_at":"2015-08-19T03:56:45Z","body":"1) 出て欲しいpythonのコードはどうなるか教えて欲しいのと，\n2) ` typedef sequence< <FootstepSequence> FootstepNodesSequence;`\nとするとどうなるか教えて欲しいです．\n\n\n--\n◉ Kei Okada\n\n\nOn Wed, Aug 19, 2015 at 2:55 AM, Eisoku Kuroiwa <notifications@github.com>\nwrote:\n\n> (send *ri* :set-foot-steps\n>       (list (make-coords :coords (send *robot* :lleg :end-coords :copy-worldcoords) :name :lleg)\n>             (make-coords :coords (send (send *robot* :rleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :rleg)\n>             (make-coords :coords (send (send *robot* :lleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :lleg)))\n>\n> のようにfootstepのlistを与えていた部分を\n>\n> (send *ri* :set-foot-steps\n>       (list (list (make-coords :coords (send *robot* :lleg :end-coords :copy-worldcoords) :name :lleg)\n>                   (make-coords :coords (send *robot* :lleg :end-coords :copy-worldcoords) :name :rarm))\n>             (list (make-coords :coords (send (send *robot* :rleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :rleg)\n>                   (make-coords :coords (send (send *robot* :rleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :larm))\n>             (list (make-coords :coords (send (send *robot* :lleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :lleg)\n>                   (make-coords :coords (send (send *robot* :lleg :end-coords :copy-worldcoords) :translate (float-vector 200 0 0)) :name :rarm))))\n>\n> のようにfootstepのlistのlistを与えられるようにしたくて，hrpsys-baseのidlの\n>\n>     typedef sequence<Footstep> FootstepSequence;\n>     boolean setFootSteps(in FootstepSequence fs, in long overwrite_fs_idx);\n>\n> のところに\n>\n>     typedef sequence< sequence<Footstep> > FootstepNodesSequence;\n>     boolean setFootStepNodes(in FootstepNodesSequence fns, in long overwrite_fs_idx);\n>\n>\n> https://github.com/eisoku9618/hrpsys-base/blob/add-interface-of-set-footstep/idl/AutoBalancerService.idl#L50-L51\n>\n> を追加してみたのですが，hrpsys_ros_bridgeをビルドするときに，rtmbuild_genidl\n> <https://github.com/start-jsk/rtmros_common/blob/master/hrpsys_ros_bridge/catkin.cmake#L91>\n> の中で呼ばれる rtmbuild_init\n> <https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/cmake/rtmbuild.cmake#L36>\n> の中で呼ばれる_rtmbuild_genbridge_init\n> <https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/cmake/rtmbuild.cmake#L113>\n> の中で呼ばれるここ\n> <https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/cmake/servicebridge.cmake#L38>\n> で実行されているidl2srv.py\n> <https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/scripts/idl2srv.py>\n> のここ\n> <https://github.com/start-jsk/rtmros_common/blob/master/rtmbuild/scripts/idl2srv.py#L232>\n> で落ちます．\n>\n> エラーは以下になります．\n>\n> AttributeError: Struct instance has no attribute 'kind'\n>\n>\n> https://gist.githubusercontent.com/eisoku9618/f7290d77283c2f72464d/raw/29d67d55478c80e61f5386e81ce5691cf0d6822d/a.txt\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/start-jsk/rtmros_common/issues/792>.\n>\n"}}