Skip to content

Commit

Permalink
Scan, dock and deliver practice worlds (#591)
Browse files Browse the repository at this point in the history
* Scan dock deliver practice worlds.

Signed-off-by: Carlos Agüero <[email protected]>
Co-authored-by: M1chaelM <[email protected]>
  • Loading branch information
caguero and M1chaelM authored Apr 21, 2023
1 parent 94c4707 commit c9ce7ea
Show file tree
Hide file tree
Showing 24 changed files with 2,520 additions and 20 deletions.
2 changes: 1 addition & 1 deletion vrx_gz/models/dock_2022/model.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
filename="gz-sim-performer-detector-system"
name="gz::sim::systems::PerformerDetector">
<topic>/vrx/dock_2022_placard1_big_hole/contain</topic>
<pose>5.95 2.59 2.83 0 0 1.5707963267948966</pose>
<pose>5.95 3.59 2.83 0 0 1.5707963267948966</pose>
<geometry>
<box>
<size>0.5 0.5 0.5</size>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<sdf version="1.6">
<model name="robotx_light_buoy">
<model name="robotx_light_buoy_rgb">
<pose>0 0 -0.0762 0 0 0</pose>
<link name="base_link">
<inertial>
Expand All @@ -19,18 +19,18 @@
<visual name="base">
<geometry>
<mesh>
<uri>file://robotx_light_buoy/mesh/robotx_light_buoy.dae</uri>
<uri>file://robotx_light_buoy_rgb/mesh/robotx_light_buoy.dae</uri>
</mesh>
</geometry>
<material>
<diffuse>1.0 1.0 1.0</diffuse>
<specular>1.0 1.0 1.0</specular>
<pbr>
<metal>
<albedo_map>file://robotx_light_buoy/mesh/LightTower_Albedo.png</albedo_map>
<normal_map>file://robotx_light_buoy/mesh/LightTower_Normal.png</normal_map>
<roughness_map>file://robotx_light_buoy/mesh/LightTower_Roughness.png</roughness_map>
<metalness_map>file://robotx_light_buoy/mesh/LightTower_Metalness.png</metalness_map>
<albedo_map>file://robotx_light_buoy_rgb/mesh/LightTower_Albedo.png</albedo_map>
<normal_map>file://robotx_light_buoy_rgb/mesh/LightTower_Normal.png</normal_map>
<roughness_map>file://robotx_light_buoy_rgb/mesh/LightTower_Roughness.png</roughness_map>
<metalness_map>file://robotx_light_buoy_rgb/mesh/LightTower_Metalness.png</metalness_map>
</metal>
</pbr>
</material>
Expand All @@ -53,9 +53,9 @@
<color_2>green</color_2>
<color_3>blue</color_3>
<visuals>
<visual>robotx_light_buoy::base_link::panel_1</visual>
<visual>robotx_light_buoy::base_link::panel_2</visual>
<visual>robotx_light_buoy::base_link::panel_3</visual>
<visual>robotx_light_buoy_rgb::base_link::panel_1</visual>
<visual>robotx_light_buoy_rgb::base_link::panel_2</visual>
<visual>robotx_light_buoy_rgb::base_link::panel_3</visual>
</visuals>
</plugin>
</visual>
Expand Down
15 changes: 15 additions & 0 deletions vrx_gz/models/robotx_light_buoy_rgy/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<model>
<name>robotx_light_buoy</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>

<author>
<name>Carlos Agüero</name>
<email>[email protected]</email>
</author>

<description>
Light buoy with LED panel used in the "Scan the Code" challenge in RobotX.
</description>
</model>
110 changes: 110 additions & 0 deletions vrx_gz/models/robotx_light_buoy_rgy/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0"?>
<sdf version="1.6">
<model name="robotx_light_buoy_rgy">
<pose>0 0 -0.0762 0 0 0</pose>
<link name="base_link">
<inertial>
<pose>0 0 -0.2 0 0 0</pose>
<!-- 6.35 Kg. (dock block) x 9 (num blocks) + 10 Kg (estimated). -->
<mass>67.15</mass>
<inertia>
<ixx>13.486</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>13.486</iyy>
<iyz>0</iyz>
<izz>25.1813</izz>
</inertia>
</inertial>
<visual name="base">
<geometry>
<mesh>
<uri>file://robotx_light_buoy_rgb/mesh/robotx_light_buoy.dae</uri>
</mesh>
</geometry>
<material>
<diffuse>1.0 1.0 1.0</diffuse>
<specular>1.0 1.0 1.0</specular>
<pbr>
<metal>
<albedo_map>file://robotx_light_buoy_rgb/mesh/LightTower_Albedo.png</albedo_map>
<normal_map>file://robotx_light_buoy_rgb/mesh/LightTower_Normal.png</normal_map>
<roughness_map>file://robotx_light_buoy_rgb/mesh/LightTower_Roughness.png</roughness_map>
<metalness_map>file://robotx_light_buoy_rgb/mesh/LightTower_Metalness.png</metalness_map>
</metal>
</pbr>
</material>
</visual>
<visual name="panel_1">
<pose>-0.05 0.09 1.3 0 0 0.5</pose>
<geometry>
<box>
<size>.192 .01 .386</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Black</name>
</script>
</material>
<plugin name="vrx::LightBuoyPlugin" filename="libLightBuoyPlugin.so">
<color_1>red</color_1>
<color_2>green</color_2>
<color_3>yellow</color_3>
<visuals>
<visual>robotx_light_buoy_rgy::base_link::panel_1</visual>
<visual>robotx_light_buoy_rgy::base_link::panel_2</visual>
<visual>robotx_light_buoy_rgy::base_link::panel_3</visual>
</visuals>
</plugin>
</visual>
<visual name="panel_2">
<pose>-0.06 -0.085 1.3 0 0 -0.54719</pose>
<geometry>
<box>
<size>.192 .01 .386</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Black</name>
</script>
</material>
</visual>
<visual name="panel_3">
<pose>0.11 -0.003 1.3 0 0 1.5472</pose>
<geometry>
<box>
<size>.192 .01 .386</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Black</name>
</script>
</material>
</visual>
<collision name="collision_base">
<pose>0 0 -0.2 0 0 0</pose>
<geometry>
<box>
<size>1.5 1.5 0.4</size>
</box>
</geometry>
</collision>
<collision name="collision_body">
<pose>0 0 0.85 0 0 0</pose>
<geometry>
<cylinder>
<radius>0.4</radius>
<length>1.75</length>
</cylinder>
</geometry>
</collision>
</link>

</model>
</sdf>
15 changes: 15 additions & 0 deletions vrx_gz/models/robotx_light_buoy_ybr/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<model>
<name>robotx_light_buoy</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>

<author>
<name>Carlos Agüero</name>
<email>[email protected]</email>
</author>

<description>
Light buoy with LED panel used in the "Scan the Code" challenge in RobotX.
</description>
</model>
110 changes: 110 additions & 0 deletions vrx_gz/models/robotx_light_buoy_ybr/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0"?>
<sdf version="1.6">
<model name="robotx_light_buoy_ybr">
<pose>0 0 -0.0762 0 0 0</pose>
<link name="base_link">
<inertial>
<pose>0 0 -0.2 0 0 0</pose>
<!-- 6.35 Kg. (dock block) x 9 (num blocks) + 10 Kg (estimated). -->
<mass>67.15</mass>
<inertia>
<ixx>13.486</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>13.486</iyy>
<iyz>0</iyz>
<izz>25.1813</izz>
</inertia>
</inertial>
<visual name="base">
<geometry>
<mesh>
<uri>file://robotx_light_buoy_rgb/mesh/robotx_light_buoy.dae</uri>
</mesh>
</geometry>
<material>
<diffuse>1.0 1.0 1.0</diffuse>
<specular>1.0 1.0 1.0</specular>
<pbr>
<metal>
<albedo_map>file://robotx_light_buoy_rgb/mesh/LightTower_Albedo.png</albedo_map>
<normal_map>file://robotx_light_buoy_rgb/mesh/LightTower_Normal.png</normal_map>
<roughness_map>file://robotx_light_buoy_rgb/mesh/LightTower_Roughness.png</roughness_map>
<metalness_map>file://robotx_light_buoy_rgb/mesh/LightTower_Metalness.png</metalness_map>
</metal>
</pbr>
</material>
</visual>
<visual name="panel_1">
<pose>-0.05 0.09 1.3 0 0 0.5</pose>
<geometry>
<box>
<size>.192 .01 .386</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Black</name>
</script>
</material>
<plugin name="vrx::LightBuoyPlugin" filename="libLightBuoyPlugin.so">
<color_1>yellow</color_1>
<color_2>blue</color_2>
<color_3>red</color_3>
<visuals>
<visual>robotx_light_buoy_ybr::base_link::panel_1</visual>
<visual>robotx_light_buoy_ybr::base_link::panel_2</visual>
<visual>robotx_light_buoy_ybr::base_link::panel_3</visual>
</visuals>
</plugin>
</visual>
<visual name="panel_2">
<pose>-0.06 -0.085 1.3 0 0 -0.54719</pose>
<geometry>
<box>
<size>.192 .01 .386</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Black</name>
</script>
</material>
</visual>
<visual name="panel_3">
<pose>0.11 -0.003 1.3 0 0 1.5472</pose>
<geometry>
<box>
<size>.192 .01 .386</size>
</box>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Black</name>
</script>
</material>
</visual>
<collision name="collision_base">
<pose>0 0 -0.2 0 0 0</pose>
<geometry>
<box>
<size>1.5 1.5 0.4</size>
</box>
</geometry>
</collision>
<collision name="collision_body">
<pose>0 0 0.85 0 0 0</pose>
<geometry>
<cylinder>
<radius>0.4</radius>
<length>1.75</length>
</cylinder>
</geometry>
</collision>
</link>

</model>
</sdf>
15 changes: 15 additions & 0 deletions vrx_gz/models/robotx_light_buoy_yrg/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<model>
<name>robotx_light_buoy</name>
<version>1.0</version>
<sdf version="1.6">model.sdf</sdf>

<author>
<name>Carlos Agüero</name>
<email>[email protected]</email>
</author>

<description>
Light buoy with LED panel used in the "Scan the Code" challenge in RobotX.
</description>
</model>
Loading

0 comments on commit c9ce7ea

Please sign in to comment.