Skip to content

Commit

Permalink
Merge pull request #190 from pawanw17/pawan/package_delivery
Browse files Browse the repository at this point in the history
Package Delivery frontend
  • Loading branch information
pariaspe authored Jun 4, 2023
2 parents 29c37cb + e1dcc8a commit 3cdd2ff
Show file tree
Hide file tree
Showing 15 changed files with 170 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
material package_box
material package_box_01
{
receive shadows off
technique
{
pass
{
ambient 0.8 1.0 0.8 1.0
diffuse 0.8 1.0 0.8 1.0
ambient 1.0 1.0 1.0 1.0
diffuse 1.0 1.0 1.0 1.0
specular 0.1 0.1 0.1 1.0 12.5

texture_unit
{
texture brown.png
texture package_box_01.png
filtering anistropic
max_anisotropy 16
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<model>
<name>package_box</name>
<name>package_box_01</name>
<version>1.0</version>
<sdf version="1.7">model.sdf</sdf>
<author>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<sdf version='1.7'>
<model name='package_box'>
<link name='package_box_link'>
<model name='package_box_01'>
<link name='main'>
<inertial>
<mass>0.1</mass>
<inertia>
Expand All @@ -15,21 +15,21 @@
</inertial>
<pose>0 0 0.055 0 -0 0</pose>
<gravity>1</gravity>
<visual name='package_box_visual'>
<visual name='main_visual'>
<geometry>
<box>
<size>0.14 0.12 0.11</size>
</box>
</geometry>
<material>
<script>
<uri>model://package_box/materials/scripts</uri>
<uri>model://package_box/materials/textures</uri>
<name>package_box</name>
<uri>model://package_box_01/materials/scripts</uri>
<uri>model://package_box_01/materials/textures</uri>
<name>package_box_01</name>
</script>
</material>
</visual>
<collision name='package_box_collision'>
<collision name='main_collision'>
<geometry>
<box>
<size>0.14 0.12 0.11</size>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
material package_box_02
{
receive shadows off
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
diffuse 1.0 1.0 1.0 1.0
specular 0.1 0.1 0.1 1.0 12.5

texture_unit
{
texture package_box_02.png
filtering anistropic
max_anisotropy 16
}

}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions drone_assets/models/package_box_02/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" ?>
<model>
<name>package_box_02</name>
<version>1.0</version>
<sdf version="1.7">model.sdf</sdf>
<author>
<name>Arka</name>
<email></email>
</author>
<description>Package Box for Package Delivery exercise in RoboticsAcademy</description>
</model>
47 changes: 47 additions & 0 deletions drone_assets/models/package_box_02/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version='1.0'?>
<sdf version='1.7'>
<model name='package_box_02'>
<link name='main'>
<inertial>
<mass>0.1</mass>
<inertia>
<ixx>0.000220833</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.000264167</iyy>
<iyz>0</iyz>
<izz>0.000283333</izz>
</inertia>
</inertial>
<pose>0 0 0.055 0 -0 0</pose>
<gravity>1</gravity>
<visual name='main_visual'>
<geometry>
<box>
<size>0.14 0.12 0.11</size>
</box>
</geometry>
<material>
<script>
<uri>model://package_box_02/materials/scripts</uri>
<uri>model://package_box_02/materials/textures</uri>
<name>package_box_02</name>
</script>
</material>
</visual>
<collision name='main_collision'>
<geometry>
<box>
<size>0.14 0.12 0.11</size>
</box>
</geometry>
<surface>
<contact>
<collide_bitmask>0x01</collide_bitmask>
</contact>
</surface>
</collision>
</link>
<static>0</static>
</model>
</sdf>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
material package_box_03
{
receive shadows off
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
diffuse 1.0 1.0 1.0 1.0
specular 0.1 0.1 0.1 1.0 12.5

texture_unit
{
texture package_box_03.png
filtering anistropic
max_anisotropy 16
}

}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions drone_assets/models/package_box_03/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" ?>
<model>
<name>package_box_03</name>
<version>1.0</version>
<sdf version="1.7">model.sdf</sdf>
<author>
<name>Arka</name>
<email></email>
</author>
<description>Package Box for Package Delivery exercise in RoboticsAcademy</description>
</model>
47 changes: 47 additions & 0 deletions drone_assets/models/package_box_03/model.sdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version='1.0'?>
<sdf version='1.7'>
<model name='package_box_03'>
<link name='main'>
<inertial>
<mass>0.1</mass>
<inertia>
<ixx>0.000220833</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.000264167</iyy>
<iyz>0</iyz>
<izz>0.000283333</izz>
</inertia>
</inertial>
<pose>0 0 0.055 0 -0 0</pose>
<gravity>1</gravity>
<visual name='main_visual'>
<geometry>
<box>
<size>0.14 0.12 0.11</size>
</box>
</geometry>
<material>
<script>
<uri>model://package_box_03/materials/scripts</uri>
<uri>model://package_box_03/materials/textures</uri>
<name>package_box_03</name>
</script>
</material>
</visual>
<collision name='main_collision'>
<geometry>
<box>
<size>0.14 0.12 0.11</size>
</box>
</geometry>
<surface>
<contact>
<collide_bitmask>0x01</collide_bitmask>
</contact>
</surface>
</collision>
</link>
<static>0</static>
</model>
</sdf>

0 comments on commit 3cdd2ff

Please sign in to comment.