Skip to content

Commit

Permalink
Adds range bearing and acoustics comms systems to tethys_equipped. (#131
Browse files Browse the repository at this point in the history
)

Signed-off-by: Arjo Chakravarty <[email protected]>
  • Loading branch information
arjo129 authored and chapulina committed Nov 2, 2021
1 parent 47b5f81 commit 9bbbf5f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lrauv_description/models/tethys_equipped/model.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,28 @@
<child_link>drop_weight</child_link>
<topic>/model/tethys/drop_weight</topic>
</plugin>

<plugin
filename="AcousticCommsPlugin"
name="tethys::AcousticCommsPlugin">
<address>1</address>
<model_plugin_file>simpleacousticmodel</model_plugin_file>
<model_name>tethys::SimpleAcousticModel</model_name>
<link_name>base_link</link_name>
<max_range>2500</max_range>
<speed_of_sound>1500</speed_of_sound>
</plugin>

<plugin
filename="RangeBearingPlugin"
name="tethys::RangeBearingPlugin">
<address>1</address>
<processing_delay>0.3</processing_delay>
<speed_of_sound>1500</speed_of_sound>
<link_name>base_link</link_name>
<namespace>tethys</namespace>
</plugin>

</include>
</model>
</sdf>
14 changes: 14 additions & 0 deletions lrauv_ignition_plugins/worlds/multi_lrauv.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@
<plugin element_id="ignition::gazebo::systems::DetachableJoint" action="modify">
<topic>/model/triton/drop_weight</topic>
</plugin>
<plugin element_id="tethys::AcousticCommsPlugin" action="modify">
<address>2</address>
</plugin>
<plugin element_id="tethys::RangeBearingPlugin" action="modify">
<address>2</address>
<namespace>triton</namespace>
</plugin>
</experimental:params>

</include>
Expand Down Expand Up @@ -173,6 +180,13 @@
<plugin element_id="ignition::gazebo::systems::DetachableJoint" action="modify">
<topic>/model/daphne/drop_weight</topic>
</plugin>
<plugin element_id="tethys::AcousticCommsPlugin" action="modify">
<address>3</address>
</plugin>
<plugin element_id="tethys::RangeBearingPlugin" action="modify">
<address>3</address>
<namespace>daphne</namespace>
</plugin>
</experimental:params>

</include>
Expand Down

0 comments on commit 9bbbf5f

Please sign in to comment.