Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a surface to the SDFormat files. #153

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lrauv_description/models/tethys_equipped/model.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
<max_volume>0.000955</max_volume>
<!-- m^3/s -->
<max_inflation_rate>0.000003</max_inflation_rate>
<surface>0</surface>
</plugin>
<plugin
filename="ignition-gazebo-detachable-joint-system"
Expand Down
11 changes: 2 additions & 9 deletions lrauv_description/test/worlds/tilted_world.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<physics name="1ms" type="dart">
<max_step_size>0.02</max_step_size>
<real_time_factor>0</real_time_factor>
<real_time_factor>1</real_time_factor>
</physics>
<plugin
filename="ignition-gazebo-physics-system"
Expand All @@ -35,14 +35,7 @@
<plugin
filename="ignition-gazebo-buoyancy-system"
name="ignition::gazebo::systems::Buoyancy">
<!-- TODO: fix behaviour near surface, see https:/osrf/lrauv/issues/102
<graded_buoyancy>
<default_density>1025</default_density>
<density_change>
<above_depth>5</above_depth>
<density>1</density>
</density_change>
</graded_buoyancy> -->
<!-- TODO: fix behaviour near surface, see https:/osrf/lrauv/issues/102 -->
<uniform_fluid_density>1025</uniform_fluid_density>
</plugin>

Expand Down
9 changes: 4 additions & 5 deletions lrauv_ignition_plugins/worlds/buoyant_tethys.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@
<plugin
filename="ignition-gazebo-buoyancy-system"
name="ignition::gazebo::systems::Buoyancy">
<!-- TODO: fix behaviour near surface, see https:/osrf/lrauv/issues/102
<graded_buoyancy>
<!-- TODO: fix behaviour near surface, see https:/osrf/lrauv/issues/102-->
<graded_buoyancy>
<default_density>1025</default_density>
<density_change>
<above_depth>0.5</above_depth>
<above_depth>1</above_depth>
<density>1</density>
</density_change>
</graded_buoyancy-->
<uniform_fluid_density>1025</uniform_fluid_density>
</graded_buoyancy>
</plugin>

<!-- Requires ParticleEmitter2 in ign-gazebo 4.8.0, which will be copied
Expand Down
9 changes: 8 additions & 1 deletion lrauv_ignition_plugins/worlds/empty_environment.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@
<plugin
filename="ignition-gazebo-buoyancy-system"
name="ignition::gazebo::systems::Buoyancy">
<uniform_fluid_density>1025</uniform_fluid_density>
<graded_buoyancy>
<default_density>1025</default_density>
<density_change>
<above_depth>0.5</above_depth>
<density>1</density>
</density_change>
</graded_buoyancy>
<!--<uniform_fluid_density>1025</uniform_fluid_density>-->
</plugin>

<!-- Requires ParticleEmitter2 in ign-gazebo 4.8.0, which will be copied
Expand Down
20 changes: 14 additions & 6 deletions lrauv_ignition_plugins/worlds/multi_lrauv.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@
<plugin
filename="ignition-gazebo-buoyancy-system"
name="ignition::gazebo::systems::Buoyancy">
<uniform_fluid_density>1025</uniform_fluid_density>
<graded_buoyancy>
<default_density>1025</default_density>
<density_change>
<above_depth>0.5</above_depth>
<density>1</density>
</density_change>
</graded_buoyancy>
<!--<uniform_fluid_density>1025</uniform_fluid_density>-->
</plugin>

<!-- Requires ParticleEmitter2 in ign-gazebo 4.8.0, which will be copied
Expand Down Expand Up @@ -101,12 +108,12 @@
</include>

<include>
<pose>0 0 1 0 0 1.57</pose>
<pose>0 0 -1 0 0 1.57</pose>
<uri>tethys_equipped</uri>
</include>

<include>
<pose>5 0 1 0 0 1.57</pose>
<pose>5 0 -1 0 0 1.57</pose>
<uri>tethys_equipped</uri>
<name>triton</name>

Expand Down Expand Up @@ -149,7 +156,7 @@
</include>

<include>
<pose>-5 0 1 0 0 1.57</pose>
<pose>-5 0 -1 0 0 1.57</pose>
<uri>tethys_equipped</uri>
<name>daphne</name>

Expand Down Expand Up @@ -193,15 +200,16 @@

<!-- Swimming race lane signs -->
<include>
<pose>0 0 -1 0 0 3.1415926</pose>
<pose>0 0 -2 0 0 3.1415926</pose>
<uri>ABCSign_5m</uri>
<name>start_line</name>
</include>
<include>
<pose>0 -25 -1 0 0 3.1415926</pose>
<pose>0 -25 -2 0 0 3.1415926</pose>
<uri>ABCSign_5m</uri>
<name>finish_line</name>
</include>

</world>
</sdf>