Skip to content

Commit

Permalink
Fix missing sdf version (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogene committed Dec 23, 2022
2 parents b5d381a + dc863f4 commit 1189fa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions urdf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ else()
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/${BUILD_PREFIX} DESTINATION ${CMAKE_BINARY_DIR})
endif()

set(ERGOCUB_MODELS_SDF_VERSION "1.7")

SUBDIRLIST(ROBOTS_NAMES ${CMAKE_CURRENT_SOURCE_DIR}/${BUILD_PREFIX}/robots)
foreach(ROBOT_DIRNAME ${ROBOTS_NAMES})
Expand Down
2 changes: 1 addition & 1 deletion urdf/feet_fixed_model.sdf.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0'?>
<sdf version='@ICUB_MODELS_SDF_VERSION@'>
<sdf version='@ERGOCUB_MODELS_SDF_VERSION@'>
<model name="ergocub_feet_fixed">
<include>
<uri>model://@ROBOT_NAME@</uri>
Expand Down
2 changes: 1 addition & 1 deletion urdf/fixed_model.sdf.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0'?>
<sdf version='@ICUB_MODELS_SDF_VERSION@'>
<sdf version='@ERGOCUB_MODELS_SDF_VERSION@'>
<model name="ergocub_fixed">
<include>
<uri>model://@ROBOT_NAME@</uri>
Expand Down
2 changes: 1 addition & 1 deletion urdf/model.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<model>
<name>@ROBOT_NAME_CONFIG@</name>
<version>1.0</version>
<sdf version='@ICUB_MODELS_SDF_VERSION@'>@ROBOT_MODEL_CONFIG@</sdf>
<sdf version='@ERGOCUB_MODELS_SDF_VERSION@'>@ROBOT_MODEL_CONFIG@</sdf>
<author>
<name>Nicolo' Genesio</name>
<email>nicolo.genesio@iit.it</email>
Expand Down

0 comments on commit 1189fa4

Please sign in to comment.