Skip to content

Commit 4cbbc3f

Browse files
authored
Merge pull request #503 from JdeRobot/pick-and-place
Pick and place universe
2 parents aac1445 + 471bc63 commit 4cbbc3f

File tree

99 files changed

+14014
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+14014
-18
lines changed

CustomRobots/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ install(DIRECTORY
152152
laser_mapping/models
153153

154154
restaurant/models
155+
156+
pick_place/models
157+
pick_place/urdf
155158

156159

157160
DESTINATION share/${PROJECT_NAME}

CustomRobots/drone_assets/models/grass_plane/meshes/cesped20.dae

Lines changed: 116 additions & 0 deletions
Large diffs are not rendered by default.
2.25 MB
Loading
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<asset>
4+
<contributor>
5+
<author>Blender User</author>
6+
<authoring_tool>Blender 4.0.2 commit date:2023-12-05, commit time:07:41, hash:9be62e85b727</authoring_tool>
7+
</contributor>
8+
<created>2025-04-01T11:40:37</created>
9+
<modified>2025-04-01T11:40:37</modified>
10+
<unit name="meter" meter="1"/>
11+
<up_axis>Z_UP</up_axis>
12+
</asset>
13+
<library_effects>
14+
<effect id="Material_002-effect">
15+
<profile_COMMON>
16+
<newparam sid="grass-surface">
17+
<surface type="2D">
18+
<init_from>grass</init_from>
19+
</surface>
20+
</newparam>
21+
<newparam sid="grass-sampler">
22+
<sampler2D>
23+
<source>grass-surface</source>
24+
</sampler2D>
25+
</newparam>
26+
<technique sid="common">
27+
<lambert>
28+
<emission>
29+
<color sid="emission">0 0 0 1</color>
30+
</emission>
31+
<diffuse>
32+
<texture texture="grass-sampler" texcoord="UVMap"/>
33+
</diffuse>
34+
<index_of_refraction>
35+
<float sid="ior">1.45</float>
36+
</index_of_refraction>
37+
</lambert>
38+
</technique>
39+
</profile_COMMON>
40+
</effect>
41+
</library_effects>
42+
<library_images>
43+
<image id="grass" name="grass">
44+
<init_from>grass.jpg</init_from>
45+
</image>
46+
</library_images>
47+
<library_materials>
48+
<material id="Material_002-material" name="Material.002">
49+
<instance_effect url="#Material_002-effect"/>
50+
</material>
51+
</library_materials>
52+
<library_geometries>
53+
<geometry id="Plane_001-mesh" name="Plane.001">
54+
<mesh>
55+
<source id="Plane_001-mesh-positions">
56+
<float_array id="Plane_001-mesh-positions-array" count="12">-1 -1 0 1 -1 0 -1 1 0 1 1 0</float_array>
57+
<technique_common>
58+
<accessor source="#Plane_001-mesh-positions-array" count="4" stride="3">
59+
<param name="X" type="float"/>
60+
<param name="Y" type="float"/>
61+
<param name="Z" type="float"/>
62+
</accessor>
63+
</technique_common>
64+
</source>
65+
<source id="Plane_001-mesh-normals">
66+
<float_array id="Plane_001-mesh-normals-array" count="3">0 0 1</float_array>
67+
<technique_common>
68+
<accessor source="#Plane_001-mesh-normals-array" count="1" stride="3">
69+
<param name="X" type="float"/>
70+
<param name="Y" type="float"/>
71+
<param name="Z" type="float"/>
72+
</accessor>
73+
</technique_common>
74+
</source>
75+
<source id="Plane_001-mesh-map-0">
76+
<float_array id="Plane_001-mesh-map-0-array" count="12">1 0 0 1 0 0 1 0 1 1 0 1</float_array>
77+
<technique_common>
78+
<accessor source="#Plane_001-mesh-map-0-array" count="6" stride="2">
79+
<param name="S" type="float"/>
80+
<param name="T" type="float"/>
81+
</accessor>
82+
</technique_common>
83+
</source>
84+
<vertices id="Plane_001-mesh-vertices">
85+
<input semantic="POSITION" source="#Plane_001-mesh-positions"/>
86+
</vertices>
87+
<triangles material="Material_002-material" count="2">
88+
<input semantic="VERTEX" source="#Plane_001-mesh-vertices" offset="0"/>
89+
<input semantic="NORMAL" source="#Plane_001-mesh-normals" offset="1"/>
90+
<input semantic="TEXCOORD" source="#Plane_001-mesh-map-0" offset="2" set="0"/>
91+
<p>1 0 0 2 0 1 0 0 2 1 0 3 3 0 4 2 0 5</p>
92+
</triangles>
93+
</mesh>
94+
</geometry>
95+
</library_geometries>
96+
<library_controllers/>
97+
<library_visual_scenes>
98+
<visual_scene id="Scene" name="Scene">
99+
<node id="Plane" name="Plane" type="NODE">
100+
<matrix sid="transform">27 0 0 0 0 27 0 0 0 0 1 0 0 0 0 1</matrix>
101+
<instance_geometry url="#Plane_001-mesh" name="Plane">
102+
<bind_material>
103+
<technique_common>
104+
<instance_material symbol="Material_002-material" target="#Material_002-material">
105+
<bind_vertex_input semantic="UVMap" input_semantic="TEXCOORD" input_set="0"/>
106+
</instance_material>
107+
</technique_common>
108+
</bind_material>
109+
</instance_geometry>
110+
</node>
111+
</visual_scene>
112+
</library_visual_scenes>
113+
<scene>
114+
<instance_visual_scene url="#Scene"/>
115+
</scene>
116+
</COLLADA>

CustomRobots/drone_assets/models/grass_plane/meshes/grasssss.dae

Lines changed: 116 additions & 0 deletions
Large diffs are not rendered by default.

CustomRobots/drone_assets/models/grass_plane/meshes/smallgrass.dae

Lines changed: 116 additions & 0 deletions
Large diffs are not rendered by default.

CustomRobots/drone_assets/models/grass_plane/model.sdf

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,15 @@
2121
</collision>
2222

2323
<visual name='visual_0'>
24-
<pose>0 0 0 0 0 0</pose>
24+
<pose>2 -5 0 0 0 0</pose>
2525

2626
<cast_shadows>false</cast_shadows>
2727
<geometry>
28-
<plane>
29-
<normal>0 0 1</normal>
30-
<size>250 250</size>
31-
</plane>
32-
</geometry>
33-
<material>
34-
<ambient>0.8 1.0 0.8 1.0</ambient>
35-
<diffuse>0.8 1.0 0.8 1.0</diffuse>
36-
<specular>0.1 0.1 0.1 1.0</specular>
37-
<pbr>
38-
<metal>
39-
<albedo_map>model://grass_plane/materials/textures/grass_dry1.png</albedo_map>
40-
<!-- <normal_map>model://grass_plane/materials/textures/grass_dry1.png</normal_map> -->
41-
</metal>
42-
</pbr>
43-
</material>
44-
</visual>
28+
<mesh>
29+
<uri>model://grass_plane/meshes/grass_plane.dae</uri>
30+
</mesh>
31+
</geometry>
32+
</visual>
4533
</link>
4634
</model>
4735
</sdf>

0 commit comments

Comments
 (0)