Closed k-kimura closed 10 years ago
遅くなりました。 こちらは、hrpsys-baseをアップデートする必要があります。 debからのインストールは、確認します。
ソースからインストールしている場合は、
roscd hrpsys
git pull
cd ~/ros/hydro
rm -f ~/ros/hydro/build/rtm-ros-robotics/openrtm_common/hrpsys/installed
catkin_make --force-cmake --only-pkg-with-deps hrpsys_ros_bridge
して、hrpsys-baseとhrpsys_ros_bridgeを更新するとうまくいくと思います。
@snozawaさん ありがとうございます. 最後の catkin_make --force-cmake --only-pkg-with-deps hrpsys_ros_bridge を実行したところ、以下のエラーが出てしまいました.
k-kimura@KIM-ThinkPad-T410:~/ros/hydro$ catkin_make --force-cmake --only-pkg-with-deps hrpsys_ros_bridge Base path: /home/k-kimura/ros/hydro Source space: /home/k-kimura/ros/hydro/src Build space: /home/k-kimura/ros/hydro/build Devel space: /home/k-kimura/ros/hydro/devel Install space: /home/k-kimura/ros/hydro/install Whitelisted packages: hrpsys, hrpsys_ros_bridge, hrpsys_tools, openhrp3, openrtm_aist, openrtm_aist_python, openrtm_tools, rtctree, rtmbuild, rtshell, rtsprofile
-- Using CATKIN_DEVEL_PREFIX: /home/k-kimura/ros/hydro/devel
-- Using CMAKE_PREFIX_PATH: /home/k-kimura/ros/hydro/devel;/opt/ros/hydro
-- This workspace overlays: /home/k-kimura/ros/hydro/devel;/opt/ros/hydro
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/k-kimura/ros/hydro/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.89
-- BUILD_SHARED_LIBS is on
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
WARNING: package "jsk_interactive_marker" should not depend on metapackage "geometry" but on its packages instead
WARNING: package "roseus_smach" should not depend on metapackage "executive_smach" but on its packages instead
WARNING: package "jsk_baxter_web" should not depend on metapackage "rwt_ros" but on its packages instead
WARNING: package "hrpsys_ros_bridge" should not depend on metapackage "pr2_controllers" but on its packages instead
WARNING: package "openni_tracker_jsk_patch" should not depend on metapackage "geometry" but on its packages instead
-- ~~~~~~~~~~~~~
-- ~~ traversing 11 packages in topological order:
-- ~~ - openrtm_aist_python
-- ~~ - openrtm_aist
-- ~~ - openhrp3
-- ~~ - rtctree
-- ~~ - rtmbuild
-- ~~ - rtshell
-- ~~ - rtsprofile
-- ~~ - openrtm_tools
-- ~~ - hrpsys
-- ~~ - hrpsys_tools
-- ~~ - hrpsys_ros_bridge
-- ~~~~~~~~~~~~~
-- +++ processing catkin package: 'openrtm_aist_python'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist_python)
-- +++ processing catkin package: 'openrtm_aist'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist)
omniidl version 1.0
-- +++ processing catkin package: 'openhrp3'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/openhrp3)
-- +++ processing catkin package: 'rtctree'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/rtshell_core/rtctree)
-- +++ processing catkin package: 'rtmbuild'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_common/rtmbuild)
-- +++ processing catkin package: 'rtshell'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/rtshell_core/rtshell)
-- +++ processing catkin package: 'rtsprofile'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/rtshell_core/rtsprofile)
-- +++ processing catkin package: 'openrtm_tools'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_common/openrtm_tools)
-- +++ processing catkin package: 'hrpsys'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/hrpsys)
git config --global http.sslVerify false
patch hrpsys-base ...
PATCH_DIR=/home/k-kimura/ros/hydro/src/rtm-ros-robotics/openrtm_common/hrpsys
cd build/hrpsys-base-source && git reset --hard && git checkout 315.2.6
HEAD is now at 3d9356d Merge pull request #312 from k-okada/315_2_5
error: pathspec '315.2.6' did not match any file(s) known to git.
make: *\ [installed] エラー 1
CMake Error at rtm-ros-robotics/openrtm_common/hrpsys/catkin.cmake:31 (message):
Compile hrpsys failed
Call Stack (most recent call first):
rtm-ros-robotics/openrtm_common/hrpsys/CMakeLists.txt:2 (include)
-- Configuring incomplete, errors occurred! Invoking "cmake" failed k-kimura@KIM-ThinkPad-T410:~/ros/hydro$
aptitude search ros-hydro-hrpsys
のコマンド実効してみるとどうなりますか?
aptitude search ros-hydro-hrpsysのコマンド実行結果です. (何故か途中出力結果が切れてしまいました)
k-kimura@KIM-ThinkPad-T410:~/ros/hydro$ aptitude search ros-hydro-hrpsys
i A ros-hydro-hrpsys
- An OpenRTM-aist-based robot controller. This package is the most tailored for humanoid (dual-arm and/or biped) robots for historical reason. hrpsys p
ackage does not only wraps but build and installs the code from its mainstream repository (code.google.com/p/hrpsys-base). The package version number i
s synchronized to that of mainstream, based on this decision. Its semantics: MAJOR: Synchronized with OpenHRP3 MINOR: Indicate IDL compatibility (packa
ges
p ros-hydro-hrpsys:i386
- An OpenRTM-aist-based robot controller. This package is the most tailored for humanoid (dual-arm and/or biped) robots for historical reason. hrpsys p
ackage does not only wraps but build and installs the code from its mainstream repository (code.google.com/p/hrpsys-base). The package version number i
s synchronized to that of mainstream, based on this decision. Its semantics: MAJOR: Synchronized with OpenHRP3 MINOR: Indicate IDL compatibility (packa
ges
i ros-hydro-hrpsys-ros-bridge
- hrpsys_ros_bridge package provides basic functionalities to bind hrpsys, a OpenRTM-based controller, and ROS. By using this package, you can write yo
ur ROS packages that communicate with your non-ROS robots that run on hrpsys. For communicating with the robots that run on OpenRTM without hrpsys, you
can use openrtm_ros_bridge package.
p ros-hydro-hrpsys-ros-bridge:i386
- hrpsys_ros_bridge package provides basic functionalities to bind hrpsys, a OpenRTM-based controller, and ROS. By using this package, you can write yo
ur ROS packages that communicate with your non-ROS robots that run on hrpsys. For communicating with the robots that run on OpenRTM without hrpsys, you
can use openrtm_ros_bridge package.
i A ros-hydro-hrpsys-tools
- The hrpsys_tools package
p ros-hydro-hrpsys-tools:i386
- The hrpsys_tools package
k-kimura@KIM-ThinkPad-T410:~/ros/hydro$
このエラーですが,昨日の晩の時点で, hrpsysをDEBで入れて,hrpsys_ros_bridgeをソースで入れると 再現しますので,報告致します.
hrpsys,hrpsys_ros_bridgeをDEBから入れて, hrpsys_ros_bridge_tutorialsをソースから入れた場合,
~/.ros/roseus/hydro を消したら /opt/ros/hydro/share/roseus/ros を読みに行くようになって エラーが出なくなりました.
@k-kimura と同じような状況で同じようなエラーが出ています。 @mmurooka のコメントに書かれた対応も試してみましたが、 同じようにmakeが通っていない状況です。
~/ros/roseus/hydro でなくて, ~/.ros/roseus/hydro を消してみてください.
やってみましたが、makeも通らず、 KalmanFilterServiceのエラーにも変化が見られないようです。
y-tanaka@y-tanaka-Z800:~/ros/hydro$ catkin_make --force-cmake --only-pkg-with-deps hrpsys_ros_bridge Base path: /home/y-tanaka/ros/hydro Source space: /home/y-tanaka/ros/hydro/src Build space: /home/y-tanaka/ros/hydro/build Devel space: /home/y-tanaka/ros/hydro/devel Install space: /home/y-tanaka/ros/hydro/install WARNING: Package name "mono-slam" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits and underscores. Whitelisted packages: hrpsys, hrpsys_ros_bridge, hrpsys_tools, openhrp3, openrtm_aist, openrtm_aist_python, openrtm_tools, rtctree, rtmbuild, rtshell, rtsprofile
-- Using CATKIN_DEVEL_PREFIX: /home/y-tanaka/ros/hydro/devel
-- Using CMAKE_PREFIX_PATH: /home/y-tanaka/ros/hydro/devel;/opt/ros/hydro
-- This workspace overlays: /home/y-tanaka/ros/hydro/devel;/opt/ros/hydro
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/y-tanaka/ros/hydro/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.89
-- BUILD_SHARED_LIBS is on
WARNING: Package name "mono-slam" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits and underscores.
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
WARNING: Package name "mono-slam" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits and underscores.
WARNING: package "roseus_smach" should not depend on metapackage "executive_smach" but on its packages instead
WARNING: package "jsk_baxter_web" should not depend on metapackage "rwt_ros" but on its packages instead
WARNING: package "hrpsys_ros_bridge" should not depend on metapackage "pr2_controllers" but on its packages instead
WARNING: package "openni_tracker_jsk_patch" should not depend on metapackage "geometry" but on its packages instead
-- ~~~~~~~~~~~~~
-- ~~ traversing 11 packages in topological order:
-- ~~ - openrtm_aist_python
-- ~~ - openrtm_aist
-- ~~ - openhrp3
-- ~~ - rtctree
-- ~~ - rtmbuild
-- ~~ - rtshell
-- ~~ - rtsprofile
-- ~~ - openrtm_tools
-- ~~ - hrpsys
-- ~~ - hrpsys_tools
-- ~~ - hrpsys_ros_bridge
-- ~~~~~~~~~~~~~
-- +++ processing catkin package: 'openrtm_aist_python'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist_python)
-- +++ processing catkin package: 'openrtm_aist'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/openrtm_aist_core/openrtm_aist)
omniidl version 1.0
-- +++ processing catkin package: 'openhrp3'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/openhrp3)
-- +++ processing catkin package: 'rtctree'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/rtshell_core/rtctree)
-- +++ processing catkin package: 'rtmbuild'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_common/rtmbuild)
-- +++ processing catkin package: 'rtshell'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/rtshell_core/rtshell)
-- +++ processing catkin package: 'rtsprofile'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/rtshell_core/rtsprofile)
-- +++ processing catkin package: 'openrtm_tools'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_common/openrtm_tools)
-- +++ processing catkin package: 'hrpsys'
-- ==> add_subdirectory(rtm-ros-robotics/openrtm_common/hrpsys)
git config --global http.sslVerify false
patch hrpsys-base ...
PATCH_DIR=/home/y-tanaka/ros/hydro/src/rtm-ros-robotics/openrtm_common/hrpsys
cd build/hrpsys-base-source && git reset --hard && git checkout 315.2.6
HEAD is now at 3d9356d Merge pull request #312 from k-okada/315_2_5
error: pathspec '315.2.6' did not match any file(s) known to git.
make: *\ [installed] エラー 1
CMake Error at rtm-ros-robotics/openrtm_common/hrpsys/catkin.cmake:31 (message):
Compile hrpsys failed
Call Stack (most recent call first):
rtm-ros-robotics/openrtm_common/hrpsys/CMakeLists.txt:2 (include)
-- Configuring incomplete, errors occurred!
Invoking "cmake" failed
y-tanaka@y-tanaka-Z800:~/ros/hydro$ roseus rospack find hrpsys_ros_bridge_tutorials
/euslisp/samplerobot-interface.l
configuring by "/home/y-tanaka/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/lib/eusrt.l"
;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin
connected to Xserver DISPLAY=:0
X events are being asynchronously monitored.
;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign ;; gluconst ;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble irtmath irtutil irtc irtgeoc irtgraph pgsql irtgeo euspqp pqp irtscene irtmodel irtdyna irtrobot irtsensor irtbvh irtcollada irtpointcloud irtx eusjpeg euspng png irtimage irtglrgb
;; extending gcstack 0x5198d10[16374] --> 0x55e70b0[32748] top=3782
irtgl irtviewer
EusLisp 9.00(561b29a 3cbb848) for Linux64 created on y-tanaka-Z800(Thu Oct 9 00:37:59 JST 2014)
roseus ;; loading roseus("5db9067") on euslisp((9.00 y-tanaka-Z800 Thu Oct 9 00:37:59 JST 2014 561b29a 3cbb848))
eustf roseus_c_util /home/y-tanaka/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin/irteusgl: ERROR th=0 unbound variable hrpsys_ros_bridge::openhrp_kalmanfilterservice_kalmanfilterparamhrpsys_ros_bridge::openhrp_kalmanfilterservice_kalmanfilterparam in (eval param-class)E:
http://wiki.ros.org/rtmros_common/Tutorials/GettingStart
みたいにdebで入れるのがいいんじゃないかな
http://wiki.ros.org/rtmros_common/Tutorials/GettingStart を参考にソースを消してみて、
rtmlaunch hrpsys_ros_bridge_tutorials samplerobot.launch はエラーが出て動きませんでしたが、
rtmlaunch hrpsys_ros_bridge samplerobot.launch が動いているので、ひとまずはこちらでeusLispの練習をやっていこうと思います。
debでインストールすると,makeがほぼ必要なくなります.
roswikiにソース関係を反映させなくするように手順まとめてみたので, http://wiki.ros.org/rtmros_common/Tutorials/GettingStart#Trouble_shooting_in_installation http://wiki.ros.org/rtmros_common/Tutorials/WorkingWithEusLisp#Trouble_shooting_in_installation_.28for_roseus.29 http://wiki.ros.org/rtmros_common/Tutorials/WorkingWithEusLisp#Trouble_shooting_in_installation_.28for_roseus-msgs.29 の3つを試してみてください.
それで,~/ros/hydro/rtm-ros-robotics/以下にrtmros_tutorialsだけある状態にしてください. もしかすると, http://wiki.ros.org/rtmros_common/Tutorials/WorkingWithEusLisp#rtmros_tutorials の最後の行のcatkin_makeだけ実行がいるかもしれないです.
hrpsys_ros_bridge_tutorials以外をdebでいれるとエラーがでなくなるとのことでしたので、closeしたいと思います。 (ソースの場合は、すべて最新にしておく) 問題があれば、また開いていただければと思います。
~/ros/hydro/src/rtm-ros-robotics/rtmros_common/hrpsys_ros_bridge/euslisp/rtm-ros-robot-interface.lについて、コードに書かれているクラス名が Openhrp_KalmanFilterService_KalmanFilterParam のとき roscd hrpsys_ros_bridge_tutorials/euslisp roseus samplerobot-interface.lで以下のエラーが出ました.
k-kimura@KIM-ThinkPad-T410:~/ros/hydro/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp$ roseus samplerobot-interface.l configuring by "/home/k-kimura/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/lib/eusrt.l" ;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin connected to Xserver DISPLAY=:0.0 X events are being asynchronously monitored. ;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign ;; gluconst ;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble irtmath irtutil irtc irtgeoc irtgraph pgsql irtgeo euspqp pqp irtscene irtmodel irtdyna irtrobot irtsensor irtbvh irtcollada irtpointcloud irtx eusjpeg euspng png irtimage irtglrgb ;; extending gcstack 0x5096de0[16374] --> 0x54f3310[32748] top=3785 irtgl irtviewer EusLisp 9.00(7906365 cd10ddf) for Linux64 created on k-kimura-ThinkPad-T410(Wed Sep 17 18:59:42 JST 2014) roseus ;; loading roseus("ca5528f") on euslisp((9.00 k-kimura-ThinkPad-T410 Wed Sep 17 18:59:42 JST 2014 7906365 cd10ddf)) eustf roseus_c_util /home/k-kimura/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/Linux64/bin/irteusgl: ERROR th=0 unbound variable hrpsys_ros_bridge::openhrp_kalmanfilterservice_kalmanfilterparamhrpsys_ros_bridge::openhrp_kalmanfilterservice_kalmanfilterparam in (eval param-class)E:
クラス名を Openhrp_KalmanFilterService_KalmanFilterParam から Openhrp_KalmanFilterService_SetKalmanFilterParam に変更して再び実行したところ、 k-kimura@KIM-ThinkPad-T410:~/ros/hydro/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/euslisp$ roseus samplerobot-interface.l configuring by "/home/k-kimura/ros/hydro/src/jsk-ros-pkg/jsk_roseus/euslisp/jskeus/eus/lib/eusrt.l" ;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin connected to Xserver DISPLAY=:0.0 X events are being asynchronously monitored. ;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign ;; gluconst ;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble irtmath irtutil irtc irtgeoc irtgraph pgsql irtgeo euspqp pqp irtscene irtmodel irtdyna irtrobot irtsensor irtbvh irtcollada irtpointcloud irtx eusjpeg euspng png irtimage irtglrgb ;; extending gcstack 0x5d5cde0[16374] --> 0x61b9310[32748] top=3785 irtgl irtviewer EusLisp 9.00(7906365 cd10ddf) for Linux64 created on k-kimura-ThinkPad-T410(Wed Sep 17 18:59:42 JST 2014) roseus ;; loading roseus("ca5528f") on euslisp((9.00 k-kimura-ThinkPad-T410 Wed Sep 17 18:59:42 JST 2014 7906365 cd10ddf)) eustf roseus_c_util ;; extending gcstack 0x61b9310[32738] --> 0x70671f0[65476] top=7dcb 1.irteusgl$ のようにroseusが通るようになりました.