start-jsk / rtmros_gazebo

gazebo simulation for rtmros robots
8 stars 24 forks source link

could not compile rtmros_gazebo if hrpsys_ros_bridge is installed in differnt workspace with devel #110

Open k-okada opened 10 years ago

k-okada commented 10 years ago

@mmurooka , wsを分けてinstallしていないと以下のエラーになる,ということはない?

-- hrpsys_gazebo_atlas: 2 messages, 0 services
CMake Error at rtmros_gazebo/hrpsys_gazebo_atlas/catkin.cmake:25 (include):
  include could not find load file:

    /home/k-okada/ros/hydro/devel/share/hrpsys_ros_bridge/cmake/compile_robot_model.cmake
Call Stack (most recent call first):
  rtmros_gazebo/hrpsys_gazebo_atlas/CMakeLists.txt:2 (include)
mmurooka commented 9 years ago

見逃していて遅くなりました.

https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_atlas/catkin.cmake#L25 を見る限り, wsをまとめてbuild,develない状態で一気にcatkin_make --only-pkg-with-deps hrpsys_gazebo_atlasするとエラーになりそうです.

最近はwsはまとめているのですが, なんとなく以下のように2回に分けてcatkin_makeしていたのでこのエラーには遭遇しなかったみたいですが, 直したほうがいいですね.

catkin_make --only-pkg-with-deps hrpsys_ros_bridge
source ~/ros/hydro/devel/setup.bash
catkin_make --only-pkg-with-deps hrpsys_gazebo_atlas
mmurooka commented 9 years ago

やっぱりよく見たら場合分けatlas_description_PACKAGE_PATHをセットしているので エラーは起きないはず?

https://github.com/start-jsk/rtmros_gazebo/blob/master/hrpsys_gazebo_atlas/catkin.cmake#L20-L25