1. Introduction
Unmanned Surface Vehicles (USV) are now being used in applications such as search and rescue, containment of oil spills, structural inspection of bridges, tsunami/earthquake forecast, homeland security, and environmental monitoring, among other applications [
1,
2,
3]. USVs offer significant advantages over other robotic platforms (aerial and underwater), including payload and energy capacities [
4], localization resources [
5], as well as access to conventional data communication capabilities [
6].
In spite of their importance in numerous tasks, this paper shows that the ability to simulate USVs remains rare in popular robotics simulation frameworks. One of the main challenges of such simulators is the requirement to tackle complex environmental disturbances such as waves, winds and water currents [
7]. The lack of a standard simulation environment has adverse effects on USV research. Among them, we highlight the absence of a standard modular testing platform for USV Guidance, Navigation and Control (GNC), which makes it challenging to perform comparisons and benchmark these GNC methods. The difference in the way natural disturbances are modeled has important effects on GNC strategies, especially in small USVs due to their low inertia and small size [
8]. A GNC strategy which does not address environmental disturbances is likely to perform poorly in the field without ideal weather conditions, especially in unpredictable disaster scenarios.
Towards solving this problem, and expecting to assist USV control designers and USV researchers to benchmark their approaches, this paper presents an open-source 6-Degree-Of-Freedom simulator for USVs, integrated with the Robot Operating System (ROS)-based framework, which models environmental disturbances like winds, water currents, and waves. The proposed tool can simulate different boats, such as those with differential propellers, a single propeller and rudder, airboats/hovercrafts, and sailboats.
The main contributions of this research work are:
a freely available modular USV simulator where it is possible to model different boats, evaluation scenarios, and GNC strategies. The source code of the simulator, USVsim, is available [
9] with an open-source license;
improvement of buoyancy effects, influencing USVs’ roll, pitch, and yaw;
integration of a wind model which affects parts of the boat above the line of water;
integration of a hydrological model to simulate water currents of water bodies, applying forces to the boat;
ready-to-use USV models and simulation scenarios;
This paper is organized as follows.
Section 2 reviews open source simulators related with USV.
Section 3 presents the proposed USV simulator and the USV simulation models.
Section 4 shows how two USV models were validated against two real USVs.
Section 5 details the evaluation scenarios and results.
Section 6 concludes this paper.
2. Related Work
There are surveys in the literature on the topic of computer-based simulators for unmanned systems. Craighead et al. [
10] propose four evaluation criteria: physical fidelity, functional fidelity, ease of development, and cost. The authors conclude that the development of a new simulator, from scratch, may no longer be needed. Instead, research should focus on improvements over existing simulators, which should be shared and released to the Robotics and Automation (R&A) community. Still, in similar work, Harris and Conrad [
11] add that the diversity of simulated sensors, the accuracy of graphics and physics, cross-platform capabilities, and also the availability of source code are also important evaluation parameters. Torriti et al. [
12] survey only free simulators and they concluded that the number of simulators supporting USVs is reduced when compared to other platforms.
Initially, in order to check this last claim, ten open source simulators (Kelpie [
13], USARSim [
14], MARS [
15], Stage [
16], MOOS-IvP [
17], UW-Morse [
18], UWSim [
19], Gazebo [
20], “FreeFloating” plugin [
21], V-REP [
22], RobotX Simulator [
23] were evaluated related to their USV simulation capabilities. We discarded from the comparison simulators whose code was not available (Kelpie, UW-Morse), discontinued simulators (MARS) or those which were difficult to compile due to outdated libraries (USARSim). Simulators without built-in physics capability, such as Stage and MOOS-IVP, were also excluded since built-in physics is a minimal requirement to simulate disturbances of any kind (gravity, environmental, collision, among others). Lastly, in
Table 1, the remaining four simulators (UWSim [
19], Gazebo [
20], “FreeFloating” plugin [
21], and V-REP [
22]) were classified according to the following features:
Waves: indicates the specific ability to simulate 3D waves and offers ways for integration with vehicle simulation (√√), i.e., there are waves simulations, but they are for visualization purposes only (√), or inability (×), to visually simulate waves;
Buoyancy: Archimedes’ principle which makes the USV float over waves. This criterion has been classified into three levels: no buoyancy (×), which means the robot moves over a rigid plane and waves have no influence on the boat; simplified buoyancy (√), which means it only performs rigid vertical movement of the entire vessel, according to the height of the water plane; improved buoyancy (√√), where the boat tends to follow the shape of the water, resulting in pitch and roll rotations;
Water currents: describes the method used to apply the water current forces to the vessels: not applied (×); a constant force over the time and space (√); or a variable force over the time and space (√√), according to some Computational Fluid Dynamics (CFD) model;
Wind currents: similar to the previous item, but the wind force is applied only for objects above the line of water;
Underwater thruster: how the thruster force is simulated under the water: not simulated (×); a linear function computes the percentage of a maximum force to be applied by the thruster (√); simulates the dynamics effects of the helix blades of the propeller (√√);
Above water thruster: the same as the previous item, but this thruster is used above the surface of the water, such as in airboats;
Foil: how the foil dynamics are simulated: not simulated (×); simulates nonlinear Lift and Drag forces on the foil (√√).
UWSim [
19] is a modular and extensible tool on underwater simulations and Unmanned Underwater Vehicles (UUVs). It offers visually realistic wave and underwater simulations, working mainly as a visualization tool for external modules such as Gazebo, which is responsible for the control algorithms, vehicles, and environment dynamics. It provides ready-to-use scenarios and one UUV named Girona 500 UUV, with the ARM5 manipulator. Its main limitations for boat simulation include: lack of dynamics of a rudder; simplified water current models (i.e., a single constant force is applied to the entire scenario); the wind simulation appears to only affect the wave shape and height, not the vehicle movement; and finally it is not straightforward to model realistic boat behavior, since its focus is clearly on UUVs.
Gazebo [
20] is a popular simulation tool for unmanned systems. It can simulate different robots and complex 3D environments together with the support of several physical simulation engines. Its modular structure enables the extension of its core features through plugins. Most of the current development efforts using Gazebo focus on Unmanned Ground Vehicles (UGVs) and UUVs. Few works introduce new features designed for USVs, such as the RobotX Simulator and the FreeFloating plugin.
The development of RobotX Simulator started in the early 2018, and its primary objective is to host the Virtual Maritime RobotX Competition (VMRC). The VMRC aims to be the entry point for teams that aspire to participate in the Maritime RobotX Challenge [
24]. The simulator builds upon the ROS/Gazebo environment and is under development. It currently provides a model for the WAM-V, a catamaran with differential actuation used for the RobotX competition. This virtual model presents the effects of buoyancy, waves, and also some hydrodynamic effects such as added mass and damping. It also has a simplified wind model (a constant force). The simulator does not provide modules for foil dynamics or realistic wind and water currents. Although the thrusters can be simulated by a linear function of maximum force (defined by the user), this feature can be upgraded by using the LiftDrag plugin of Gazebo Simulator.
FreeFloating [
21] is a simulation tool directed for underwater robots used in conjunction with UWSim and Gazebo. It offers a simple buoyancy scheme (applied to the submarine, until it reaches the surface plane Z = 0) and the viscous force of water over UUVs while at the same time enabling the control over wrench, joint states, and body velocity of robots. It can also be combined with the LiftDrag [
25] Gazebo plugin to simulate the aerodynamics of thruster blades. However, even when combined with all those modules (see
Table 1), it does not fully implement rudder models, airboats, or even realistic wind or water currents.
V-REP [
22] supports add-ons, plugins, socket communication, ROS integration, and Lua scripting. It can use particle simulation to emulate air or water jets, propellers and jet engines, even though, considering the demos and the documentation available on the website, there is no working boat usage example. There is a differential USV model implemented into V-REP (GAMS [
26]) with a simple visual effect of waves (no effect on the boat’s pose) and the vehicle floats over a flat surface. As far as we know, there is no simulation of the influence of water and wind currents on the boat, or a readily available model to describe the rudder dynamics on V-REP.
This study of reviewing existing simulation environments for USV revealed the best features and limitations of each of them. Following the conclusions of [
10], we decided to build an improved simulator reusing the following tools:
Gazebo: as the core simulation engine, due to its modular design based on plugins, dynamics & collision simulation, number of modeled sensors, USVs can be designed using XML-based URDF/Xacro format, and the ease of development given the large community of users and code maintainers;
Free-floating Plugin: Despite some limitations detailed later, the structure of this plugin, originally developed for underwater robots, was re-purposed to be used for USV simulation and we improved the hydrodynamics and buoyancy effects compared to the original plugin;
UWSim: for water and wave visual effects and due to sensors that are readily available for use;
LiftDrag Gazebo Plugin: we mainly reuse its structure to calculate foil dynamics in the parts of the boats.
These original plugins and simulators where improved and re-purposed for use in USV simulation and their improvements are shown in the following section.
3. System Architecture
This section presents the proposed simulation architecture and the main contributions designed on top of the available simulation resources presented in
Section 2.
Figure 1 gives an overall description of the system architecture where the blue boxes represent the new or customized simulation modules.
Gazebo is used as the main simulation engine while UWSim is used for visualization purposes. As represented in
Figure 1, the core of Gazebo is not modified, but we included one new plugin called usv_foil_dynamics and also the improved FreeFloating. UWSim has been modified to provide a service where the plugins request the wave height at a specific position of the map. The water and wind current generators are modeled as ROS nodes which receive requests from improved FreeFloating Gazebo to enhance the boat motion realism through wind and current information. Besides, the wind/water current generator is used by the foil dynamics plugin to compute the forces which are directly applied to the foil (if the boat has one), using as input the velocities of the foil and the velocity of the wind/water current. All modules have their corresponding YAML files where the user can set specific parameters without changing the source code.
The rest of this section details each relevant module and it is organized as follows.
Section 3.1 introduces the theoretical aspects of the underlying mathematical models. Then,
Section 3.2 details the Foil Plugin, used to simulate the boat’s rudder, keel, and sail.
Section 3.3 describes the main improvements made in the existing simulators.
Section 3.4 describes the four ready-to-use USV models provided with the simulator. Finally,
Section 3.5 presents the Computational Fluid Dynamics (CFD) tools integrated to the simulator to address water and wind models.
3.1. Introduction to the Main Forces for a USV
According to Fossen [
27] the main forces that govern a USV movement are:
Hydrodynamic forces (): added mass (the virtual mass added to the boat by the mass of water moved with the boat), potential damping and viscous damping;
Hydrostatic forces (): restoring forces (buoyancy);
Wind forces ();
Wave forces ();
Control and propulsion forces (): foil dynamics (rudder, keel and sail) and thrusters;
The resultant USV movement is given by the combined effect of those forces and moments, as shown in Equation (
1).
In the simulator presented in this paper, these forces are calculated employing Gazebo plugins and applied to the USVs by the Gazebo Engine, with each plugin being responsible for computing one or more forces. This allows the user to control the level of fidelity/performance they need for their application. The Hydrodynamic forces (), Hydrostatic forces (), Wind forces (), Wave forces () and Thruster dynamics (part of ) are implemented by an improved Free-Floating Plugin. The Foil Dynamics Plugin performs the Control and propulsion forces (), namely the Foil Dynamics. Details of these plugins are presented next.
3.2. Foil Dynamics Plugin
The Foil Dynamics Plugin is used to calculate the Lift and Drag forces (
) that act on the foils of the boat, namely the rudder, keel and/or sail, depending on the type of boat. To estimate those forces, it calculates the apparent velocity between the foil and the fluid (water or air, depending on the foil) and it uses the specific drag and lift coefficients of the foil to compute the lift and drag forces applied, according to the following equation:
where
is the drag,
is the lift,
is the fluid density,
A is the area of the foil,
is the apparent speed of the fluid,
is the angle of attack of the foil.
and
are the lift and drag coefficients respectively, as functions of the angle of attack.
The apparent fluid speed can be computed as
, where
and
are the apparent fluid velocity components along the longitudinal and lateral axes of the boat reference frame (see
Figure 2), which are estimated as
where
is the true fluid speed,
is the angle of true fluid,
is the boat yaw angle, and the components of the boat velocity vector are
, i.e., surge, sway, roll and yaw respectively. The Center of Effort of the foil is at position
in the boat reference frame. For example, for a rudder the angle of attack
can be computed by
, where
is the rudder angle in the boat reference frame and the angle of the apparent water current is given by
.
While the original LiftDrag plugin computes the forces only considering the foil velocity, the proposed plugin considers the speed of the fluid and the foil to calculate the lift and drag forces. Besides, the Foil Dynamics Plugin uses the values of Lift and Drag coefficients described in [
28], which approximates the coefficients by using
and
, where
is the apparent angle of attack. In this way, the user only needs to inform the physical characteristics of the foil, i.e., area, frontal and side directions, and a central point to apply the lift and drag forces.
3.3. Improvements on UWSim and Free Floating Gazebo Plugin
Gazebo currently does not simulate water current and waves. In UWSim, on the other hand, waves are rendered by a library called OsgOcean, which implements wave behavior using the Fast Fourier Transforms. Although UWSim knows the height of waves, this information is not shared with Freefloating Gazebo [
21]. So all boats float on a flat water surface plane (Z = 0), ignoring the shape of waves and restraining the simulation realism as shown in
Figure 3a.
For this reason, we modified UWSim by synchronizing its simulation of waves (osgOcean) with Gazebo through a new interface called OceanSurfaceToROSOceanVehicle. Such modification ensures that the simulation step of osgOcean will be the same for all Gazebo plugins. When a vehicle’s pose is updated in UWSim, the wave height relative to the vehicle’s center(s) of buoyancy is sent through this interface to our improved Freefloating Gazebo, which is used as input for the buoyancy effect. Although this allows boats to float up and down with the wave motion, sometimes it causes the front (bow) and the rear (stern) of boats to be either floating outside the water or fully submerged, as illustrated in
Figure 3b.
Therefore, we further modified Freefloating Gazebo in order to allow boats to have roll and pitch rotations caused by wave motion (
), allowing the boats to follow the slope of waves as illustrated in
Figure 3c. In such strategy, each boat hull must be subdivided into several parts, i.e., modeled by a set of links bounded together by fixed joints (see
Figure 3d). This subdivision also improves the inertial momentum of the boat’s hull since each part may be in different wave heights, submerged hull volume, and buoyancy forces. These individual forces under each part of the hull are combined by the Gazebo’s physics engine, allowing the torque to be estimated. The resulting effect of the gravity (red arrow) and buoyancy (blue arrow) forces is depicted in
Figure 3c, allowing the boat to roll and pitch due to the influence of waves, causing a more realistic wave effect on the boat’s movement. As the boat hull is defined by a set of links, we can reduce the complexity of submerged volume by representing each link by a primitive geometry (cubes, cylinders, etc.), thus we can avoid computationally expensive methods that can restrict the simulation speed.
In addition, we customized Freefloating Gazebo to allow wind forces to affect boat hulls and their motion (
). So, the boats presented next, named Airboat, Rudder Boat, Differential Boat, and a Sailboat can also be affected by the wind forces applied into the hull, while the sailboat is affected by the wind forces applied into the sail and the hull. We apply the wind forces and moments to each link of the boat’s hull, but we consider the aerodynamic coefficients of lateral and longitudinal resistances, as well as the cross-force and rolling moments proposed by [
29].
3.4. Proposed Robot Models
Four different ready-to-use USV models, illustrated in
Figure 4, are integrated into the proposed simulator as default in order to describe different dynamics of USV: an airboat, a motorized boat with one rudder, a differential boat with two thrusters, and a sailboat. The airboat uses a fan above the surface of the water as a propeller. This fan also rotates on its own axis to change the airboat direction of movement. The airboat suffers more from the effect of drift (sideslip angle) since it does not have any foil underwater. The motorized boat uses an underwater thruster for propulsion and a rudder for changing the movement direction. The differential boat uses two underwater thrusters, which enables the rotation over its axis. The sailboat uses a rigid sail for propulsion, a rudder for changing the movement direction, and it also has a keel to help with sway and roll stability.
These boats can have a variety of sensors thanks to Gazebo, which also offers large documentation on how to model personalized sensors such as water current, temperature, pH, etc. Currently, the ready-to-use USV models have position sensors, Inertial Measurement Unit (IMU) and a laser range finder.
Regarding usage for disaster applications, the Airboat is best used in shallow waters, with underwater debris that could damage rudders or thrusters, and areas with eelgrass that could block the underwater thrusters. However, the Airboat is not recommended for places with strong currents and wind. In addition, it has reduced payload capacity compared to the other boats. The differential boat is one of the most versatile boats due to its increased maneuverability and power to withstanding currents. Although it also consumes more energy due to the twin motors, reducing the time of the mission. The rudder boat is a compromise between energy consumption, maneuverability, and payload capacity. The sailboat is best used in large water bodies or at sea due to its reduced power consumption, able to withstand long missions. The sailboat cannot be used in shallow waters due to the size of the keel.
The dimensions of the airboat and differential boats are presented in
Section 4.1, according to the dimensions of two real boats available at the laboratory. The rudder boat uses the same hull and the same thruster used by the differential boat, and it has a rudder of 4 centimeters wide and 6 centimeters tall. The sailboat also uses the same hull, and it has a sail of 1 m
2 area and a keel of 30 Kg.
3.5. Water and Wind Current Modules
An actual scenario is used as study case for this paper. This place is located at 30°02′50.5″ S 51°13′57.7″ W, in the city of Porto Alegre, Brazil, nearby the Dilúvio’s river mouth. This scenario is built based on digital terrain models provided by the Municipality of Porto Alegre.
In order to allow water currents to change across space and time more realistically we developed a new ROS package called water_current, which loads data exported from the Hec RAS [
30] hydrological simulator [
31]. Hec RAS can model one-dimensional (1D) steady flow, as well as one and two-dimensional unsteady hydrologically-based flow calculations in rivers and canals. Thus users can simulate the flow of rivers by inserting simple height maps from terrain and river bed, then exporting Hierarchical Data Format (HDF) files, which store the water velocities for each time step of the simulated water flow.
Figure 5 shows the resulting water current velocity map, where the water flows to the left-hand side of the image. Note that the narrow channels have higher speeds. By using the HDF files as input for water_current plugin, our simulation architecture requests the velocity of the water at each of the boat’s position of links. This is done by a ROS service, where the improved FreeFloating Gazebo sends the (x,y) position of each link (see
Figure 3d) and the water_current answers with a flow velocity for each point.
Similarly, the wind_current ROS package loads wind data exported by the CFD software OpenFoam [
32] (Open source Field Operation And Manipulation). Openfoam is composed of a C++ library capable of solving specific continuum mechanics problems and it provides several utilities to prepare a mesh for simulation, process results, and so on. It generates wind simulation based on a 3D terrain model with multiple obstacles, such as buildings and bridges, and by specifying the simulation parameters, like wind velocity, simulation duration, and time step.
The resulting simulation can be analyzed and exported to the wind_current module by an OpenFoam utility named paraView. The data exported by paraView contains the wind velocity at each time step, that can be loaded into the wind_current module and accessed in the simulation architecture by a ROS service. To do that, the improved FreeFloating Gazebo sends the vehicle’s position of each link, the wind_current package answers with wind velocity for each point.
Figure 6 shows the resulting wind model for the proposed test scenario, including examples of wind models around the bridge and buildings.
5. Experimental Results
This section demonstrates the resulting effects of our simulator over the four modeled USVs.
Section 5.1 and
Section 5.2 show two different examples of how winds and water models can affect the trajectory of the boats.
Section 5.3 is specially dedicated to evaluating the performance of the sailboat according to the wind speed and direction.
Section 5.4 evaluates the four USVs performing three different tasks for sake of trajectory comparison. This section also shows the modified trajectory when wind and water disturbances are enabled in the simulation.
Section 5.5 presents the trajectory performance of a USV with a simple controller while it performs a typical post-disaster bridge inspection with fast water current and winds.
5.1. Boat at Variable Disturbances
This section describe an experiment showing the differential boat crossing the river with the proposed disturbances, as seen in
Figure 5. The figure shows the unique ability of the proposed simulator to disturb the boat’s pose and speed according to a hydrological model of the water body.
Figure 8 shows the boat starts at the right-hand side and goes to the top left side of the map. The boat has a higher speed when it is leaving the straight canal, where the water current is faster, and the speed decreases as the boat reaches the open waters on the left-hand side. The total traveled distance is 452.38 m. The boat took 376.98 s (average speed of 1.2 m/s with a peak speed of about 3.04 m/s) to complete the trajectory since it is running in the same direction of the water and wind flows, helping the boat to gain speed.
5.2. Different Water Speeds of the River
This section shows that the simulator is coherent with some basic river navigation guidelines. For instance, boats that sail upstream should stay close to the river bank, where the water current is slower than in the middle of the river. On the other hand, boats that sail downstream should stay in the middle, as they can advantage of the river flow, saving fuel.
Figure 9 represents two different trajectories taken by the differential boat. The pink line, close to the river banks, represents a trajectory where the water current is slower. The red line, in the middle of the river, represents a trajectory where the water current is faster. Both trajectories are starting at the left hand side, thus the water current is in the opposing the direction of the boat. The pink trajectory took 144.9 s to reach the destination, with an average speed of about 1.10 m/s. The red trajectory took 187.2 s to completion, resulting in an average speed of about 0.85 m/s.
The second part of
Figure 9 also shows the boat speed for both trajectories during the time. It can be seen that the river bank trajectory, represented by the pink line, keeps a fairly constant speed of about 1.1 and 1.3 m/s. However, the middle river trajectory represented by the red line, has a clear speed reduction as the boat gets closer to the area with faster water currents. The speed starts with about 1.2 m/s but it ends with a speed below 0.8 m/s. Both trajectories have sudden reductions in speed. This is an effect of the controller, when it steers the boats. The boat close to river banks presented fewer speed reductions than the boat in the middle, since the water close to riversides presents less turbulence and small speed than on the middle river water.
5.3. SailBoat Performance
A particularly interesting model to demonstrate the full features of the proposed simulation is the sailboat because its performance is directly related to accurate disturbance models (wave, winds, water current) [
37]. For example, a generic sailboat performance is usually described by a so-called polar graph, similar to the one presented in
Figure 10. A sailboat polar diagram is a quick way of visualizing the maximum speed that a sailboat can reach under certain conditions of wind speed and direction. For example, in
Figure 10, for a wind with angle 90° and speed of 2 m/s the maximum sailboat speed is about ≈0.75 m/s. This particular polar graph presented in
Figure 10 describes the performance of our sailboat model, which incorporates the kinetics of our Foil Dynamics Plugin. It is a typical sailboat profile, where the sailboat velocity is zero when sailing directly upwind (0°) and not optimal when sailing directly downwind 180°. In addition, usually, a sailboat can not gain forward speed if the wind direction is between −30° and 30°. These features of the polar graph demonstrate the overall realism of the simulation for modeling sailboats.
5.4. Differential Boat under Disturbances
Figure 11 shows how the resulting trajectory of the differential boat under different disturbances. If all disturbances are turned off, then the boat would follow a perfect straight line to the destination. The image shows the trajectory with only water current (red line), wind current (pink line), and both currents simultaneously (green line). One can see that the trajectory is more distorted when both disturbances are on, and nearby the place where the water current is faster. The turbulence of the water stream disturbs the movement of the boat in a variable way along the course, which is not observed in other USV simulation models.
5.5. Bridge Inspection
Bridge inspection is an important task to be executed both before a disaster, as a disaster mitigation action, or after the disaster, as a response action to check if a bridge can be used after a hurricane. The issue is that, for instance, right after a disaster such as a hurricane or a flood, the weather condition might still not be safe for perform manned inspections, putting first responders at risk of a potentially collapsing bridge subject to high water currents, waves, and strong winds.
Due to these risks, some researchers proposed to use unmanned vehicles for this kind of inspection, including the use of USVs [
38,
39]. The main problem is that these research vehicles were not thoroughly tested under such harsh environments, especially considering that every disaster scenario is unique, with its own complexities. Moreover, testing a real USV in a disaster-like scenario puts the USV itself at risk, since while it is still being tested, it is expected to have some failures. A failure, in this case, might cause collision, damage or even loss of the entire USV.
Considering the complex task of testing a USV for a harsh scenario such as an after-disaster bridge inspection, we propose a simulation environment for bridge inspection.
Figure 12 is a detailed view of the same bridge presented in
Figure 6, located at 30°02′50.5″ S 51°13′57.7″ W, in the city of Porto Alegre, Brazil, nearby the Dilúvio’s river mouth. In this figure we can see that the water current is faster in between the two pillars of the bridge, and the current is slower by the river banks. The differential boat started in the top position of the image and it has the goal of capturing images in the positions marked with dots. The black solid line represents the trajectory executed by the USV. The dashed line represents the expected trajectory. The points with C1, C2, and C3 marks show places of collision with the pillars, detailed in the screenshots.
One of the reasons for the poor navigation performance of the USV is related to its controller design. As mentioned before, all four boat models use the same orientation-based control strategy, where the goal is to keep the USV pointing to the next waypoint. However, in situations like this bridge inspection scenario, the Differential boat controller is expected to have a poor performance since it does not take water current and wind into account. It could, for instance, use the areas of slower current to make maneuvers and go up the river. Then it could enter into the fast current up river (right-hand side of the image), to navigate with the current. This example shows one usage of the proposed simulator, which is to test the USV under harsh environments, testing and benchmarking different strategies to complete the tasks assigned to the USV.
6. Conclusions
This paper presented an open source simulator that models waves, wind, and water currents. The proposed buoyancy effect, more realistic than those of previous simulators, makes waves induce roll and pitch movements on the boat. The proposed wind module applies a force on the boat according to the existent wind obstacles in the scenario, and also according to the boat’s shape above the water. The water current applies variable forces on the boat, using a de facto standard hydrological simulator. Previous simulators, on the other hand, modeled both wind and water current as a single constant applied to the entire scenario. Other contributions of this paper include the four different ready-to-use USV models and a model of a real scenario for evaluation of the boat’s performance under varying degrees of disturbances.
The results corroborate the importance to model these environmental disturbances since the trajectory discrepancies increase according to the degree of disturbances. Multiple scenarios and tasks are required to assess a controller performance since the results can vary significantly among these scenarios. Finally, we expect that this simulator can be used by the USV research community to design new navigation strategies under harsh environmental conditions usually present after a disaster scenario such as hurricane and floods.
In the future, we will devise a strategy to make boats affect the waves, creating splash waves and, consequently, making such disturbances influence nearby boats. This feature is important when simulating multiple boats sharing the same scenario. We will also continue to test different validation strategies for the disturbances models.