Skip to content

Commit

Permalink
Use upstream's buoyancy engine (#128)
Browse files Browse the repository at this point in the history
* Use upstream's buoyancy engine

Signed-off-by: Louise Poubel <[email protected]>

* Update plugin

Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Nov 2, 2021
1 parent b042c8f commit beeb0d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 306 deletions.
4 changes: 2 additions & 2 deletions lrauv_description/models/tethys_equipped/model.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@
<nR>0</nR>
</plugin>
<plugin
filename="BuoyancyEnginePlugin"
name="tethys::BuoyancyEnginePlugin">
filename="ignition-gazebo-buoyancy-engine-system"
name="ignition::gazebo::v6::systems::BuoyancyEnginePlugin">
<link_name>buoyancy_engine</link_name>
<namespace>tethys</namespace>
<min_volume>0.000080</min_volume>
Expand Down
5 changes: 2 additions & 3 deletions lrauv_ignition_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function(add_lrauv_plugin PLUGIN)
cmake_parse_arguments(add_lrauv_plugin
"${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})

add_library(${PLUGIN}
add_library(${PLUGIN}
SHARED src/${PLUGIN}.cc ${add_lrauv_plugin_ADDITIONAL_SOURCES})
set_property(TARGET ${PLUGIN} PROPERTY CXX_STANDARD 17)
target_link_libraries(${PLUGIN}
Expand Down Expand Up @@ -106,12 +106,11 @@ add_subdirectory(src/comms/)

add_lrauv_plugin(AcousticCommsPlugin
INCLUDE_COMMS
PROTO
PROTO
lrauv_acoustic_message
lrauv_internal_comms
PRIVATE_LINK_LIBS
CommsSupport)
add_lrauv_plugin(BuoyancyEnginePlugin)
add_lrauv_plugin(HydrodynamicsPlugin)
add_lrauv_plugin(RangeBearingPlugin
INCLUDE_COMMS
Expand Down
220 changes: 0 additions & 220 deletions lrauv_ignition_plugins/src/BuoyancyEnginePlugin.cc

This file was deleted.

79 changes: 0 additions & 79 deletions lrauv_ignition_plugins/src/BuoyancyEnginePlugin.hh

This file was deleted.

4 changes: 2 additions & 2 deletions lrauv_ignition_plugins/worlds/multi_lrauv.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<command_topic>triton/command_topic</command_topic>
<state_topic>triton/state_topic</state_topic>
</plugin>
<plugin element_id="tethys::BuoyancyEnginePlugin" action="modify">
<plugin element_id="ignition::gazebo::v6::systems::BuoyancyEnginePlugin" action="modify">
<namespace>triton</namespace>
</plugin>
<plugin element_id="ignition::gazebo::systems::DetachableJoint" action="modify">
Expand Down Expand Up @@ -167,7 +167,7 @@
<command_topic>daphne/command_topic</command_topic>
<state_topic>daphne/state_topic</state_topic>
</plugin>
<plugin element_id="tethys::BuoyancyEnginePlugin" action="modify">
<plugin element_id="ignition::gazebo::v6::systems::BuoyancyEnginePlugin" action="modify">
<namespace>daphne</namespace>
</plugin>
<plugin element_id="ignition::gazebo::systems::DetachableJoint" action="modify">
Expand Down

0 comments on commit beeb0d4

Please sign in to comment.