mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-08-26 17:42:49 +00:00
Plastic Bottle Model
- Add model of plastic bottle - Update model_mappings to include plastic bottle
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
square_trash_can,unit_box/image.jpg,plastic
|
square_trash_can,unit_box/image.jpg,plastic
|
||||||
unit_box,unit_box/image.jpg,plastic
|
unit_box,unit_box/image.jpg,plastic
|
||||||
|
plastic_bottle,plastic_bottle/image.jpg,plastic
|
Binary file not shown.
11
rrrobot_ws/src/gazebo_models/plastic_bottle/model.config
Normal file
11
rrrobot_ws/src/gazebo_models/plastic_bottle/model.config
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<model>
|
||||||
|
<name>plastic_bottle</name>
|
||||||
|
<version>1.0</version>
|
||||||
|
<sdf version="1.6">model.sdf</sdf>
|
||||||
|
<author>
|
||||||
|
<name></name>
|
||||||
|
<email></email>
|
||||||
|
</author>
|
||||||
|
<description></description>
|
||||||
|
</model>
|
107
rrrobot_ws/src/gazebo_models/plastic_bottle/model.sdf
Normal file
107
rrrobot_ws/src/gazebo_models/plastic_bottle/model.sdf
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<sdf version='1.6'>
|
||||||
|
<model name='plastic_bottle'>
|
||||||
|
<link name='link_0'>
|
||||||
|
<inertial>
|
||||||
|
<mass>1</mass>
|
||||||
|
<inertia>
|
||||||
|
<ixx>0.166667</ixx>
|
||||||
|
<ixy>0</ixy>
|
||||||
|
<ixz>0</ixz>
|
||||||
|
<iyy>0.166667</iyy>
|
||||||
|
<iyz>0</iyz>
|
||||||
|
<izz>0.166667</izz>
|
||||||
|
</inertia>
|
||||||
|
<pose frame=''>0 0 0 0 -0 0</pose>
|
||||||
|
</inertial>
|
||||||
|
<pose frame=''>-0 4e-06 -1.05917 1.5708 -0 0</pose>
|
||||||
|
<gravity>1</gravity>
|
||||||
|
<self_collide>0</self_collide>
|
||||||
|
<kinematic>0</kinematic>
|
||||||
|
<enable_wind>0</enable_wind>
|
||||||
|
<visual name='visual'>
|
||||||
|
<pose frame=''>0 0 0 0 -0 0</pose>
|
||||||
|
<geometry>
|
||||||
|
<mesh>
|
||||||
|
<uri>/app/rrrobot_ws/src/gazebo_models/plastic_bottle/meshes/plastic_bottle.STL</uri>
|
||||||
|
<scale>1 1 1</scale>
|
||||||
|
</mesh>
|
||||||
|
</geometry>
|
||||||
|
<material>
|
||||||
|
<lighting>1</lighting>
|
||||||
|
<script>
|
||||||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||||||
|
<name>Gazebo/Grey</name>
|
||||||
|
</script>
|
||||||
|
<shader type='pixel'>
|
||||||
|
<normal_map>__default__</normal_map>
|
||||||
|
</shader>
|
||||||
|
<ambient>0.3 0.3 0.3 1</ambient>
|
||||||
|
<diffuse>0.7 0.7 0.7 1</diffuse>
|
||||||
|
<specular>0.01 0.01 0.01 1</specular>
|
||||||
|
<emissive>0 0 0 1</emissive>
|
||||||
|
</material>
|
||||||
|
<transparency>0</transparency>
|
||||||
|
<cast_shadows>1</cast_shadows>
|
||||||
|
</visual>
|
||||||
|
<collision name='collision'>
|
||||||
|
<laser_retro>0</laser_retro>
|
||||||
|
<max_contacts>10</max_contacts>
|
||||||
|
<pose frame=''>0 0 0 0 -0 0</pose>
|
||||||
|
<geometry>
|
||||||
|
<mesh>
|
||||||
|
<uri>/app/rrrobot_ws/src/gazebo_models/plastic_bottle/meshes/plastic_bottle.STL</uri>
|
||||||
|
<scale>1 1 1</scale>
|
||||||
|
</mesh>
|
||||||
|
</geometry>
|
||||||
|
<surface>
|
||||||
|
<friction>
|
||||||
|
<ode>
|
||||||
|
<mu>1</mu>
|
||||||
|
<mu2>1</mu2>
|
||||||
|
<fdir1>0 0 0</fdir1>
|
||||||
|
<slip1>0</slip1>
|
||||||
|
<slip2>0</slip2>
|
||||||
|
</ode>
|
||||||
|
<torsional>
|
||||||
|
<coefficient>1</coefficient>
|
||||||
|
<patch_radius>0</patch_radius>
|
||||||
|
<surface_radius>0</surface_radius>
|
||||||
|
<use_patch_radius>1</use_patch_radius>
|
||||||
|
<ode>
|
||||||
|
<slip>0</slip>
|
||||||
|
</ode>
|
||||||
|
</torsional>
|
||||||
|
</friction>
|
||||||
|
<bounce>
|
||||||
|
<restitution_coefficient>0</restitution_coefficient>
|
||||||
|
<threshold>1e+06</threshold>
|
||||||
|
</bounce>
|
||||||
|
<contact>
|
||||||
|
<collide_without_contact>0</collide_without_contact>
|
||||||
|
<collide_without_contact_bitmask>1</collide_without_contact_bitmask>
|
||||||
|
<collide_bitmask>1</collide_bitmask>
|
||||||
|
<ode>
|
||||||
|
<soft_cfm>0</soft_cfm>
|
||||||
|
<soft_erp>0.2</soft_erp>
|
||||||
|
<kp>1e+13</kp>
|
||||||
|
<kd>1</kd>
|
||||||
|
<max_vel>0.01</max_vel>
|
||||||
|
<min_depth>0</min_depth>
|
||||||
|
</ode>
|
||||||
|
<bullet>
|
||||||
|
<split_impulse>1</split_impulse>
|
||||||
|
<split_impulse_penetration_threshold>-0.01</split_impulse_penetration_threshold>
|
||||||
|
<soft_cfm>0</soft_cfm>
|
||||||
|
<soft_erp>0.2</soft_erp>
|
||||||
|
<kp>1e+13</kp>
|
||||||
|
<kd>1</kd>
|
||||||
|
</bullet>
|
||||||
|
</contact>
|
||||||
|
</surface>
|
||||||
|
</collision>
|
||||||
|
</link>
|
||||||
|
<static>0</static>
|
||||||
|
<allow_auto_disable>1</allow_auto_disable>
|
||||||
|
</model>
|
||||||
|
</sdf>
|
Reference in New Issue
Block a user