Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jason Chemin
hpp-environments
Commits
ecf1806b
Commit
ecf1806b
authored
Aug 25, 2016
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Aug 25, 2016
Browse files
Add texture file for Romeo logo and set placard to color of logo.
- texture does not display well in gepetto-gui.
parent
ed0d1a15
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ecf1806b
...
...
@@ -65,6 +65,10 @@ SET(SRDF_HRP2_FILES
srdf/hrp2/floor_as_mesh.srdf
)
SET
(
TEXTURE_FILES
texture/logo_romeo.jpg
)
INSTALL
(
FILES
${
URDF_FILES
}
DESTINATION
${
CATKIN_PACKAGE_SHARE_DESTINATION
}
/urdf
)
...
...
@@ -83,6 +87,10 @@ INSTALL(FILES ${URDF_HRP2_FILES}
INSTALL
(
FILES
${
SRDF_HRP2_FILES
}
DESTINATION
${
CATKIN_PACKAGE_SHARE_DESTINATION
}
/srdf/hrp2
)
INSTALL
(
FILES
${
TEXTURE_FILES
}
DESTINATION
${
CATKIN_PACKAGE_SHARE_DESTINATION
}
/texture
)
INSTALL
(
FILES package.xml
DESTINATION
${
CATKIN_PACKAGE_SHARE_DESTINATION
}
)
...
...
texture/logo_romeo.jpg
0 → 100644
View file @
ecf1806b
18 KB
urdf/placard-vertical.urdf
View file @
ecf1806b
...
...
@@ -17,12 +17,15 @@
</collision>
<visual>
<geometry>
<box size="0.01 0.
4
0.3" />
<box size="0.01 0.
62
0.3" />
</geometry>
<origin xyz="0.03 0.0 0.55" />
<material name="
red
">
<color rgba="
1.0
0.
0
0.
0
1.0"/>
<material name="
blue
">
<color rgba="
0.11
0.
42
0.
56
1.0"/>
</material>
<!--material name="logo_romeo">
<texture filename="package://hpp_environments/texture/logo_romeo.jpg"/>
</material-->
</visual>
</link>
<link name="base_link">
...
...
urdf/placard.urdf
View file @
ecf1806b
...
...
@@ -17,12 +17,15 @@
</collision>
<visual>
<geometry>
<box size="0.01 0.
4
0.3" />
<box size="0.01 0.
62
0.3" />
</geometry>
<origin xyz="0.03 0.0 0.55" />
<material name="
red
">
<color rgba="
1.0
0.
0
0.
0
1.0"/>
<material name="
blue
">
<color rgba="
0.11
0.
42
0.
56
1.0"/>
</material>
<!--material name="logo_romeo">
<texture filename="package://hpp_environments/texture/logo_romeo.jpg"/>
</material-->
</visual>
</link>
</robot>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment