Skip to content

Commit

Permalink
[hrpsys_ros_bridge] Use collada_urdf_jsk_patch in order to convert dae
Browse files Browse the repository at this point in the history
into urdf which can be used in gazebo
  • Loading branch information
garaemon committed Aug 20, 2015
1 parent 19f388b commit 8121f5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hrpsys_ros_bridge/cmake/compile_robot_model.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ endmacro()

# get path to collada_to_urdf
macro(get_collada_to_urdf _collada_to_urdf_exe)
find_package(collada_urdf REQUIRED)
set(${_collada_to_urdf_exe} ${collada_urdf_PREFIX}/lib/collada_urdf/collada_to_urdf)
find_package(collada_urdf_jsk_patch REQUIRED)
set(${_collada_to_urdf_exe} ${collada_urdf_jsk_patch_PREFIX}/lib/collada_urdf_jsk_patch/collada_to_urdf)
if(NOT EXISTS ${${_collada_to_urdf_exe}})
message(FATAL_ERROR "could not find ${${_collada_to_urdf_exe}}")
endif()
Expand Down
2 changes: 2 additions & 0 deletions hrpsys_ros_bridge/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<build_depend>angles</build_depend>
<build_depend>camera_info_manager</build_depend>
<build_depend>collada_urdf</build_depend>
<build_depend>collada_urdf_jsk_patch</build_depend>
<build_depend>control_msgs</build_depend>
<build_depend>diagnostic_aggregator</build_depend>
<build_depend>diagnostic_msgs</build_depend>
Expand Down Expand Up @@ -92,6 +93,7 @@
<run_depend>tf</run_depend>
<run_depend>visualization_msgs</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>collada_urdf_jsk_patch</run_depend>
<!-- <test_depend>hrpsys</test_depend> -->
<!-- <test_depend>hrpsys_tools</test_depend> -->
<!-- <test_depend>openrtm_tools</test_depend> -->
Expand Down

0 comments on commit 8121f5a

Please sign in to comment.