uji-ros-pkg / underwater_simulation

UWSim-NET, the Underwater Simulator
97 stars 64 forks source link
bullet-physics c-plus-plus openscenegraph robotics simulation underwater-robotics uwsim

UWSim-NET: UWSim with Network Simulator

Build Status

The new version of UWSim intregates a Network Simulator to be used along with the dccomms API. This simulator uses the NS3 libraries and the AquaSimNG as a NS3 module. The documentation related to simulate communications is a work in progress and will be included in the Wiki as soon as we can (please, be patience).

Wiki

http://www.irs.uji.es/uwsim/wiki/index.php?title=Main_Page

Citations

Issues

Exception GeographicLib::GeographicErr when starting uwsim

If you are getting the following error output when executing rosrun uwsim uwsim:

 ...
 data/objects/gun.osg
 Starting UWSim...
 Loading SimulatedDevices plugin: 'AcousticCommsDevice_Factory'
 Loading SimulatedDevices plugin: 'CustomCommsDevice_Factory'
 Loading SimulatedDevices plugin: 'DredgeTool_Factory'
 Loading SimulatedDevices plugin: 'ForceSensor_Factory'
 Loading SimulatedDevices plugin: 'SimDev_Echo_Factory'
  . Setting localized world: 7.1e-05s
 terminate called after throwing an instance of 'GeographicLib::GeographicErr'
  what():  File not readable /usr/share/GeographicLib/geoids/egm96-5.pgm
 /opt/ros/melodic/lib/uwsim/uwsim: line 23:  1452 Aborted                 (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@

Run the following commands to fix it:

  wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
  chmod u+x install_geographiclib_datasets.sh
  sudo ./install_geographiclib_datasets.sh