1. Introduction
Autonomous Surface Vessels (ASVs) are increasingly deployed for monitoring, inspection, and logistics in coastal and inland waters. Many practical missions take place in confined or restricted waterways, such as harbors, canals and narrow channels, where available maneuvering space is limited and small navigation errors can quickly lead to collision with quay walls or grounding. Recent work on autonomous navigation in confined waters emphasizes that boundary constraints and nearby static structures change the decision-making problem compared with open-water operation, motivating specific methods to narrow environments [
1,
2]. In restricted waterways, static obstacle avoidance is not simply a local detour problem. Because the available clearance is limited, avoiding an obstacle can immediately increase the risk of boundary contact or excessive deviation from the survey path. Therefore, path following, obstacle avoidance, and boundary clearance must be treated as a coupled control problem rather than independent modules. This motivates the present focus on static-obstacle navigation in narrow environments as a necessary step toward reliable ASV autonomy before introducing dynamic obstacle encounters.
Surveys of ASV autonomy consistently highlight that collision avoidance and motion planning remain as central bottlenecks, emphasizing that practical solutions must be robust, real-time, and compatible with marine vehicle dynamics and sensing limitations [
3,
4,
5]. Recent literature on marine collision avoidance is driven by dynamic encounters and COLREGs compliance, where an autonomous vessel must navigate among multiple moving targets and rule-based behaviors [
6,
7]. This focus is well justified for open-water autonomy, however, for many restricted-water missions, the most frequent and immediate risk is collision with static obstacles, such as quay walls or narrow channel boundaries, where even small tracking errors can lead to contact. Static-obstacle navigation is also a practical foundation: a system that cannot reliably avoid fixed hazards in confined corridors is unlikely to be dependable once multi-vessel reasoning is added.
Classical ASV navigation methods combine model-based guidance laws with local planners or reactive avoidance layers. Marine guidance and control references, such as line-of-sight (LOS), offer convergence properties for path following, but they rely on a controller that can realize the commanded course and speed changes under hydrodynamics and actuator constraints [
8]. When obstacles are introduced, an additional layer is often required to select avoidance maneuvers while maintaining progress along a reference path. Implementations in confined waters often utilize onboard ranging sensors to construct a local obstacle representation and then integrate path following with collision avoidance logic. For example, Villa et al. demonstrated path following with LiDAR-based obstacle avoidance for a surface vessel operating under harbor conditions, using a structured guidance formulation and sensor-driven safety logic [
9]. The avoidance layer in that work depends on hand-tuned safety logic, which must be re-tuned when the corridor geometry or the vessel changes. More optimization-based pipelines integrate collision constraints directly into the control problem: Gonzales-Garcia et al. formulated a nonlinear model predictive control (NMPC) strategy that simultaneously tracks a path and enforces obstacle clearance using LiDAR measurements [
10]. Performance in that formulation depends directly on the fidelity of the internal prediction model, and obstacle constraints must first be extracted from the scan as explicit geometry before the optimization can be posed. Experimental studies using 2-dimensional LiDAR further illustrate practical issues, such as spurious returns or partial occlusions, that can dominate the performance gap between simulation and field deployment [
11]. While these methods can be effective, they also expose recurring limitations, including reliance on accurate models and tuning, and low adaptability in dense environments [
4,
5,
9].
Machine learning-based methods offer another route where the control policy is learned from data rather than manually tuned parameters. Deep reinforcement learning (DRL) provides a direct way to treat navigation and control as a sequential decision problem: the policy selects control actions that balance between progress, tracking accuracy, and safety [
12]. In marine robotics, DRL has shown promise in both path-following control and collision avoidance. Woo et al. demonstrated a DRL controller for USV path following using an actor-critic continuous-control algorithm, known as deep deterministic policy gradient (DDPG), framing path following as a closed-loop control policy learned through interaction rather than explicit controller tuning [
13]. Subsequent work has refined state design and training structure for underactuated marine vehicles, including DRL path-following formulations targeting robustness and smoother convergence. Qu et al. proposed a DRL-based path-following control scheme for an underactuated autonomous marine vehicle under uncertainty, illustrating how detailed reward shaping and state construction can stabilize learning and improve tracking behavior [
14].
Obstacle avoidance in marine settings is harder than in many ground-robot cases because yaw response is slow, stopping distance is large, and feasible actions are constrained by rudder and thrust limits. Early DRL work on marine vessels showed that a learned policy can produce avoidance actions under disturbances when the reward encourages both safety and progress. Cheng and Zhang proposed a concise DRL approach for obstacle avoidance in underactuated unmanned marine vessels, focusing on usable policies without complex control laws [
15]. Meyer et al. trained an agent, using proximal policy optimization (PPO), for an underactuated ASV to follow a known path while avoiding static obstacles, using multiple rangefinder sensors as perception [
16]. Their study demonstrates that the combined objective between path tracking and collision avoidance can be achieved when observations and rewards are designed carefully. That evaluation is nevertheless confined to simulation and to open-water geometry, so boundary clearance in a bounded corridor is not addressed.
Woo and Kim targeted the decision-making stage of USV collision avoidance and proposed a DRL approach that uses a grid-map representation of encounter situations [
17]. They designed a semi-Markov decision process and a neural network architecture tailored to collision avoidance, then evaluated the trained network in both simulations and collision avoidance experiments. This work shows the value of structured spatial inputs when the environment geometry is complex, although the grid representation grows with workspace size, which constrains its use for onboard execution in narrow channels. More recent works also use spatial encodings to improve learning in crowded settings. Teitgen et al. proposed a collision-grid representation for dense environments with multiple obstacles, illustrating the broader trend of using geometry-aware inputs rather than raw state vectors [
18]. In restricted waters, PPO variants have been explored to improve stability and decision-making quality. Hao et al. introduced an improved PPO-based strategy for USV collision avoidance in restricted waters, using a recurrent network (GRU) to improve convergence compared with standard feed-forward structures [
19].
Beyond pure simulation training, recent work increasingly targets robustness and transfer from simulation to field validation. Slawik et al. studied domain randomization for DRL path-following control of an ASV by training over a distribution of dynamics and sensing parameters rather than a single model, and compared popular DRL algorithms, including DDPG, PPO, and Soft Actor-Critic (SAC), to improve sim-to-real readiness [
20]. Evaluation in that study nevertheless remains in simulation, so the effectiveness of the randomisation for physical transfer is not measured directly. Cross-domain training has been proposed as another way to reduce the data burden and improve generalization when marine data are expensive. Lambert et al. reported a ground-to-water cross-domain DRL approach for ASV navigation to address training sparsity in marine environments [
21]. Across this recent body of work the emphasis has shifted towards transfer to physical platforms and towards richer perception encodings, yet evaluation in the majority of these studies remains confined to simulation, and reported deployments are typically limited in number.
Transfer from simulation to a physical platform has been addressed directly in several recent studies of underactuated surface vessels. Slawik et al. [
20] examine domain randomization as a means of improving sim-to-real readiness, Wang et al. [
22] report a mapless navigation policy transferred to a physical USV, and Wang et al. [
23] deploy a learned tracking controller on a full-scale vessel in natural waters. These studies establish that transfer is achievable for this class of vessel while also showing that residual dynamics mismatch remains the principal obstacle, which is consistent with the field behavior reported in
Section 3.4.
Despite this progress, two gaps remain relevant to static obstacle avoidance in narrow waterways. First, while most ML-based marine literature targets dynamic obstacles and COLREGs compliance, fewer studies isolate and deeply evaluate the static-hazard problem in constrained environments. Second, sim-to-real transfer continues to be a practical bottleneck for DRL marine autonomy, motivating cross-domain training and domain randomization strategies. The paper addresses these gaps by developing and validating DRL-based navigation and control system for an ASV operating in a narrow environment, focusing on path following with static obstacle avoidance.
This work extends a prior conference study [
24] that established the algorithmic baseline for this task by comparing PPO and SAC under a sweep of the reward weighting coefficient. The present paper differs from that study in the observation representation, the action space, the treatment of boundary clearance, the training procedure, and the experimental scope.
Table 1 sets out the differences point by point, so that the incremental contribution of the present work is explicit rather than implied.
Taken together, these differences move the work from an algorithm-selection study conducted entirely in simulation to a deployment-oriented framework in which perception encoding, actuation, and boundary clearance are treated jointly and the resulting policy is executed on a physical platform.
A deployment-oriented DRL navigation framework for an underactuated ASV in restricted waterways, in which path following, static obstacle avoidance, and boundary clearance are treated as a single coupled control problem rather than as independent modules.
A feasibility-inspired LiDAR sector pooling scheme that compresses a raw scan into a fixed 25-element closeness vector while preserving whether each sector admits the vessel footprint, a property that neither minimum nor maximum pooling retains.
Extension of the action space from rudder-only control to joint rudder and propulsion control, together with a staged propulsion curriculum that stabilizes learning once speed becomes an action rather than a fixed parameter.
A two-part evaluation protocol comprising statistical evaluation in simulation across obstacle densities and a single-trial feasibility demonstration on a model-scale platform in matched scenarios, with an explicit statement of what each part can and cannot establish.
The remainder of the paper is organized as follows.
Section 2 describes the materials and methods for reproducibility.
Section 3 presents the results and discussion, covering simulation study and field experiments.
Section 4 concludes the paper and discusses future extensions.
3. Results and Discussion
This section presents the simulation and field results used to evaluate the proposed DRL framework in a restricted operating area. First, the simulation training configuration and evaluation protocol is described, followed by quantitative simulation results. Then, the model-scale field experiments conducted under predefined obstacle layouts are presented. Finally, the consistency and differences between simulations and real-world performance are discussed.
3.1. Training Configuration and Parameters
The SAC policy is trained in the simulation using the Stable-Baselines3 (SB3) implementation of Soft Actor-Critic [
35]. The environment is constructed as a Gymnasium interface with a dictionary observation space (MultiInputPolicy), continuous actions, and scalar rewards. Parallel rollout collection is performed using a vectorized environment (SubprocVecEnv) with
worker processes to improve sample throughput and stabilize off-policy data collection.
The simulation study has two purposes: to quantify navigation performance across obstacle density under randomized conditions, and to produce a trained policy that can be deployed on the physical platform without further tuning. This subsection describes the training environment, the randomization procedure, and the parameter settings;
Section 3.2 defines the evaluation metrics and
Section 3.3 reports the results.
The workspace is a bounded rectangular corridor of 10.0 m by 25.0 m, representing a narrow operating area on a model scale. At the start of each episode, between zero and four 1.0 m by 1.0 m obstacles are placed randomly from the reference path endpoints. The obstacle count is drawn from the distribution [0.15, 0.15, 0.45, 0.15, 0.10] for zero through four obstacles respectively. The reference path is a straight segment of length 20.0 m along the corridor centerline, and the episode horizon is 700 control steps, equivalent to 70 s at the 10 Hz control period.
The principal parameter choices are motivated as follows. The sector count M = 25 gives an angular resolution of 10.8 degrees per sector, which subtends approximately 3.0 m at the maximum LiDAR range and is therefore comparable to the vessel beam of 0.50 m, so that a single sector approximately corresponds to one vessel width at the distance at which an avoidance decision must be initiated. The soft safety distance = 0.7 m corresponds to 1.4 vessel beams, allowing the boundary penalty to activate before the geometric collision condition. The tracking sensitivity = 0.20 sets the cross-track error at which the path-following reward halves to 3.5 m. The reference speed = 0.8 m/s corresponds to the nominal cruise propeller setting used during field deployment.
To assess training repeatability, the policy configuration reported here was trained with three independent random seeds. Seeds control network initialization, action sampling, and environment randomization. All results in
Section 3.3 are aggregated across the three seeds.
The training environment randomizes the start/goal positions and static obstacle layouts within a bounded narrow workspace. During training, the obstacle count is sampled from a predefined distribution of 0 to 4 obstacles. This distribution exposes the agent to both obstacle-free path-following and obstacle-avoidance scenarios, so the learned policy does not overfit to either pure path tracking or constant off-track avoidance. Obstacles are generated near the path to ensure that they create meaningful local planning challenges.
The policy is trained for 1 million timesteps. The first 700,000 timesteps are used for fixed-speed training, allowing the agent to first learn stable steering, path-following, and obstacle-avoidance behavior without simultaneously adapting propulsion. The remaining 300,000 timesteps introduce speed control in three stages of 100,000 steps each. In these stages, the propulsion command is represented as a residual action around a nominal cruise setting:
where
is the normalized propulsion action,
is the cruise command, and
defines the allowable residual authority. The speed-control range is gradually widened from a narrow band around cruise speed to a final range corresponding to 25–75% of the maximum propulsion command. The full propulsion range is not used because near-zero propulsion can lead to ineffective steering or standing-still behavior, while full-speed operation is less reliable in narrow waterways due to larger turning radius and increased overshoot. The staged residual formulation therefore allows the vessel to accelerate and decelerate around a safe cruise region without learning degenerate behaviors or overly aggressive high-speed maneuvers.
Table 2 summarizes the parameters used throughout training and evaluation. The same observation construction and action mapping are used consistently during training, simulation evaluation, and field deployment to minimize implementation gaps.
3.2. Evaluation Metrics
To quantify navigation performance, task-level outcomes and path-following quality are reported. The success rate is defined as the fraction of episodes in which the ASV reaches the goal region within the episode horizon. Path tracking performance is measured by the mean and standard deviation of cross-track error, which reflect tracking accuracy and oscillatory behavior. Efficiency is reported through the elapsed time of each successful episode.
Two clearance metrics are used when comparing individual trajectories. Minimum obstacle clearance is the smallest distance recorded over an episode between the vessel footprint and the nearest static obstacle surface. Minimum border clearance is the smallest distance recorded over an episode between the vessel footprint and the nearest workspace boundary. Both are minima over all control steps of a single trajectory rather than averages, and a positive value indicates that no contact occurred at any point. Root-mean-square cross-track error (RMS CTE) is computed over all control steps of a trajectory and is reported for individual scenarios, whereas the mean and standard deviation of cross-track error are reported when aggregating over randomized episodes.
Because navigation in restricted waters involves both obstacle avoidance and boundary clearance, it is informative to report collision outcomes separately as obstacle collision rate and border collision rate. These rates help diagnose whether failures are dominated by obstacle interaction or boundary contact. These collision-rate metrics are recommended for interpreting failure modes in this study.
3.3. Simulation Evaluation
3.3.1. Training Process
To visualize learning progress,
Figure 5 plots the training signal in two forms: panel (a) shows the raw episode reward recorded during training, and panel (b) the mean evaluation return measured at fixed checkpoints on held-out episodes. The solid line represents the mean episode reward at each evaluation checkpoint, while the shaded region indicates one standard deviation across evaluation episodes. Since the training environment randomizes the start/goal positions and obstacle layouts, the reward variance is expected to remain relatively large, especially during early training when the policy has not yet learned consistent avoidance behavior.
The learning curve shows a rapid improvement during the initial phase of training, where the mean reward increases from large negative values to near-zero values. This indicates that the policy first learns basic goal-directed motion and begins to reduce terminal failure events such as collision or timeout. After approximately the middle stage of training, the reward curve reaches a plateau and fluctuates around a small positive value, suggesting that the policy has converged to a stable behavior under the sampled training distribution. The remaining reward variation is attributed to differences in obstacle number and placement across evaluation episodes.
The raw training reward in panel (a) records every training episode and therefore retains structure that the checkpoint curve in panel (b) smooths away. Two features are relevant to the training protocol. First, the per-episode trace continues to show excursions to the terminal penalty throughout training, including in the final phase. These reflect exploration under the stochastic training policy rather than failures of the deployed controller, which is evaluated deterministically; the evaluation results of
Section 3.3.2 are obtained without exploration noise.
Second, the rolling mean is not monotonic in the later phase of training. The propulsion range was widened in stages by restarting training at fixed step boundaries rather than by an automated scheduler, and the rolling mean shows a transient reduction following the stage transitions before recovering to its previous level. This is the behavior the staged protocol is intended to produce: each widening of the propulsion range exposes the policy to speed settings it has not previously encountered, degrading performance briefly until the policy adapts. The magnitude of the transient decreases across successive transitions, which is consistent with the policy acquiring speed-regulation behavior that generalizes beyond the specific range in which it was acquired. Because the stages were advanced manually, the transitions are visible in the raw training record rather than logged as a separate schedule.
3.3.2. Quantitative Evaluation Across Obstacle Density
In our previous study, both PPO and SAC were trained and evaluated over 1000 randomized episodes [
21]. Across various weighting coefficients
settings, PPO achieved success rates between 49.4% and 67.4%, whereas SAC achieved success rates between 90.0% and 95.5%. Under the same comparison, SAC yielded higher efficiency with average completion time and lower average cross-track errors. These results established SAC as the most suitable learning algorithm for this navigation and control problem, which is why the present paper focuses on the selected SAC policy and evaluates it under a more deployment-oriented formulation.
In this work, we conduct
evaluation episodes, evenly distributed across 0 to 4 obstacles.
Table 3 summarizes the simulation evaluation results. Reporting results by obstacle count provides a compact and interpretable representation of robustness: as obstacle density increases, the policy must trade off tracking precision against avoidance maneuvers, which may increase cross-track deviations and elapsed time while maintaining a high success rate if avoidance remains reliable.
Because a single training run cannot establish repeatability, the reported configuration was trained with three independent seeds and evaluated on a common set of 500 randomized episodes. The same 500 layouts, initial poses, and obstacle configurations were used for every seed and for every comparison reported in this section, so that all differences between configurations are measured on identical episodes.
Table 4 shows the results aggregated across seeds.
The spread across seeds is 4.0 percentage points in success rate, indicating that the training procedure is reproducible in a sense that all three seeds fall within four percentage points. Three seeds is a small sample, and the confidence intervals should be read as indicative rather than tight; the interval widths are reported so that subsequent comparisons in this section can be interpreted against the run-to-run variation of the method itself.
The deployed SAC policy achieves an overall success rate of 95.0% across the 500 evaluation episodes, with an obstacle collision rate of 3.8% and a border collision rate of 1.2%. No episode reached the horizon without terminating, so the timeout outcome does not appear in
Table 3. In the obstacle-free case, the policy reaches the destination in all episodes and maintains the smallest average cross-track error, which confirms that the learned controller can perform the basic path-following task. When obstacles are introduced, the average cross-track error increases from 0.12 m in obstacle-free scenarios to 0.92 m in the four-obstacle cases. This trend is expected because successful avoidance in a narrow environment requires temporary deviations from the reference path.
Despite the increasing obstacle density, the success rate remains above 90% for all tested obstacle counts. The average elapsed time increases once obstacles are present but remain within a narrow range. This suggests that the policy does not rely on excessive waiting behavior to avoid obstacles. Instead, it performs avoidance maneuvers while continuing to make progress toward the goal.
The collision-rate breakdown also provides useful information about the failure modes. Obstacle collisions are most noticeable in single and two-obstacle cases, while border collisions become more prominent as the number of obstacles increases. This indicates that in denser layouts, the policy is able to avoid obstacles, but avoidance maneuvers can push the vessel closer to the workspace boundary. Overall, the simulation results show that the proposed observation design and reward formulation lead to robust path-following and static obstacle avoidance across a range of randomly generated environments.
From this perspective, the 95.0% success rate obtained in the present study is significant for two reasons. First, the result is evaluated over 500 randomized episodes spanning from 0 to 4 obstacles, which reflects generalization across obstacle density and spatial arrangement. Second, the task setting is more restrictive than an open-water avoidance problem because obstacle avoidance and boundary clearance are coupled. This is reflected in the separate reporting of obstacle and border collision rates, which are 3.8% and 1.2% respectively. The policy therefore does not simply avoid obstacles at the cost of drifting into the boundary; instead, it maintains a useful balance between path tracking, static obstacle avoidance, and boundary clearance in confined waterways.
3.3.3. Comparison with Baseline Controllers
Table 5 compares the deployed SAC policy against the retrained SAC seeds, the PPO baseline and the LOS-PID with APF baseline on the identical set of 500 randomized episodes. The learned columns are averaged over three training seeds and the classical column over three independent tuning searches; the deployed policy is a single controller and its column reports that controller alone. Because every method is evaluated on the same episodes, differences between columns are not confounded by layout variation.
The comparison shows a consistent pattern rather than a uniform ranking. The deployed policy attains the highest success rate of the four controllers at 95.0%, against 92.4% for the retrained SAC seeds, 92.2% for the classical baseline and 90.5% for PPO. The margin over the classical baseline is 2.8 percentage points and the margin over PPO is 4.5, so the learned controller is ahead on task completion but not by a decisive amount relative to a properly tuned classical stack. The retrained seeds and the classical baseline are separated by 0.2 percentage points and should be read as equivalent on this metric.
The clearest and most consistent advantage of the learned policy lies in path-following accuracy rather than in task completion. The deployed policy attains an RMS cross-track error of 0.91 m against 1.33 m for the classical baseline and 1.29 m for PPO, a reduction of approximately 30% in both cases, and it completes episodes in 20.9 s against 25.4 s for the classical stack, a reduction of 18%. The retrained seeds sit between the two at 1.10 m, which indicates that part of the deployed policy’s advantage derives from its staged training protocol rather than from the algorithm alone. For a survey vessel, where remaining on the reference line is the mission objective rather than a means to it, this is the operationally significant difference between the two families of controller.
The ordering reverses for obstacle clearance. The classical baseline passes obstacles at a minimum clearance of 0.67 m against 0.23 m for the deployed policy, a factor of approximately three, with PPO intermediate at 0.53 m. The learned controllers therefore purchase tracking accuracy and speed at the cost of margin, while the potential-field baseline makes the opposite trade and pays for its clearance in elapsed time. Neither controller dominates, and the comparison is better understood as two positions on a single accuracy-against-margin trade-off than as a ranking. Which position is preferable depends on the deployment: a wider margin is worth the additional transit time in cluttered or poorly charted water, whereas tighter line-keeping is worth the reduced margin on a surveyed route where the hazards are known. The failure modes differ in the same way. The classical baseline records the lowest obstacle collision rate of the learned-and-classical set at 3.50% but the highest border collision rate at 4.30%, since its repulsive term acts on obstacles and pushes the vessel toward the channel walls, whereas the deployed policy records 3.80% and 1.20% respectively and treats the two hazards within a single learned response.
Figure 6 resolves these aggregate figures by obstacle density. All four controllers succeed in every obstacle-free episode, so the differences between them arise entirely from obstacle interaction. The deployed policy retains a success rate of 95% or above from one to three obstacles and falls to 89% at four, while the classical baseline declines more steadily across the same range. The separation between controllers is therefore not uniform across the evaluation set but concentrated in the denser layouts, which is where the compressed sector representation and the learned avoidance response are most exercised.
One structural difference is worth noting independently of the numerical outcome. The classical stack requires the guidance and avoidance layers to be tuned separately, and their interaction is governed by a fixed blending weight that does not adapt to the local obstacle configuration. The learned policy maps the pooled scan directly to actuator commands, with no explicit blending stage and no online optimization, at the cost of requiring training and of providing no formal constraint-satisfaction guarantee.
Placing these figures alongside published results requires care, because reported success rates depend on workspace geometry, obstacle density, episode termination criteria and the definition of success, none of which are standardized across the literature. With that qualification, the present results are broadly consistent with recent work on learned ASV navigation. Meyer et al. [
16] report successful path following with collision avoidance for a simulated vessel using multiple rangefinder sensors, and Hao et al. [
19] report improved convergence for a recurrent PPO variant in multi-vessel encounters; both evaluate in open water rather than in a bounded channel, so boundary contact does not appear as a distinct failure mode and the border collision rate reported here has no counterpart in their results. Paulig and Okhrin [
36] address the closest setting to the present work, learned path following for an underactuated vessel on inland waterways, and likewise benchmark against a tuned PID controller rather than against an optimization-based method; their finding that the learned controller generalizes to unseen river sections while retaining navigational accuracy is consistent with the pattern reported here, in which the advantage of the learned policy appears in tracking accuracy rather than in task completion.
The comparison against optimization-based control has also been examined experimentally. Wang et al. [
23] compare a DRL tracking controller against a nonlinear model predictive controller on a physical surface vessel in natural waters and report lower tracking error for the learned controller in both simulation and field conditions, attributing the difference to disturbance rejection. That study required physical deployment precisely because a simulation-only comparison would evaluate the predictive controller against the model on which it was built. The same consideration applies here and is the reason a model predictive baseline is not included in the present evaluation, as discussed in
Section 3.5.
3.4. Field Experiments
3.4.1. Experiment Setup
Field experiments are conducted using a model-scaled Bluefin vessel equipped with a 2D LiDAR sensor and a SLAM-based localization system. The trained SAC policy is executed on an offboard computer, while the vessel provides real-time telemetry containing local pose, heading, and LiDAR range measurements. The field implementation follows the same observation and action interface used in simulation: LiDAR sector features, motion states and path-relative errors. The trained policy outputs continuous rudder and propulsion actions.
Table 6 specifies the dimensions of the Bluefin vessel and the LiDAR sensor package used in this experiment.
Communication between the vessel and the offboard computer is implemented through UDP protocol. At the start of a trial, the offboard computer sends a message to initiate telemetry streaming and receives LiDAR and localization data from the vessel. For each valid telemetry frame, the computer constructs the observation vector and evaluates the trained policy deterministically. The policy output is mapped to physical command values before transmission to the vessel. The rudder action is converted into a bounded rudder command and rate limiting applied to match the real actuator. The propulsion action is mapped using the same residual cruise-speed formulation in the simulation. Commands are sent back to the vessel through UDP at 10 Hz control rate.
To enable direct comparison between simulation and field behavior, three test scenarios are defined with three obstacles arranged in a confined waterway layout as shown in
Figure 7. The same scenario settings are reproduced in simulation for trajectory overlay comparison. Each scenario was executed once. No repeated trials were performed, because access to the test basin was limited to a single testing window and could not be extended. The field results reported below therefore constitute a feasibility demonstration for the three layouts tested; they do not provide an estimate of trial-to-trial variability and are not used here to support a statistical claim about sim-to-field transfer.
The test basin measures 25 m in length by 10 m in width, and each scenario uses three static obstacles with an approximately 1 m by 1 m footprint. The obstacles occupy the central portion of the basin, roughly between 8 m and 17 m along its length, and are spread across the 10 m width and offset on alternating sides so that the vessel must make successive port and starboard passes. They are grouped at about one-third and two-thirds of the way along the basin, separated by roughly 7–8 m along-track, leaving navigable gaps on the order of 1.5–3 m. Exact positions vary between the three scenarios and are approximate. All trials were conducted in calm water with no generated waves or current, so the results do not test disturbance rejection.
3.4.2. Comparison Between Simulation and Field
Figure 8 overlays the trajectories obtained in simulation and field trials for three scenarios.
Table 7 provides the corresponding trajectory-based metrics. The purpose of this comparison is not to obtain identical trajectories, but to determine whether the policy trained in simulation can reproduce the same task-level behavior on the Bluefin vessel.
Overall, the single trial conducted in each scenario shows task-level transfer of the trained SAC policy under the tested conditions. In all three scenarios, the field trajectory avoids static obstacles and progresses toward the goal. The minimum obstacle clearance and boundary clearance in the field trials remain positive in all cases, which indicates that the policy is able to maintain collision-free motion in the tested environment. At the same time, the field trajectories show stronger oscillation and wider recovery maneuvers than the simulated trajectories. Averaged over the three scenarios, the field RMS cross-track error is 1.14 m, compared to 0.69 m in simulation. The field trajectories are also longer, with an average path length of 21.11 m over 19.49 m in simulation. This confirms the visual observation in
Figure 7, where the real vessel generally follows the same direction as the simulated vessel, but requires additional correction and larger deviations.
In the first scenario, the field result is close to the simulation result in terms of cross-track error. This suggests that the vessel completed the same avoidance task but with more corrective motion. In the second scenario, the field trajectory shows a larger tracking deviation than simulation. The RMS cross-track error increases from 0.79 m in simulation to 1.17 m in the field deployment, and the standard deviation of cross-track error increases from 0.61 m to 1.02 m. This shows that the deployed vessel adopted the same avoidance strategy as simulated with higher overshoot, resulting in a larger path deviation and closer to the boundary. The sim-to-field gap is more noticeable in the final test scenario, where the field RMS cross-track error is 1.53 m and path length increases to 22.69 m. This test case highlights the main limitation observed in the field experiments: the learned policy achieves the task, but the real vessel response is more oscillatory and less smooth than the simulated response.
Minimum obstacle clearance is comparable between simulation and field when aggregated over the three scenarios, at 0.76 m and 0.74 m respectively, but which of the two platforms records the larger clearance changes from scenario to scenario. In Scenario 2 the field trajectory passes further from the nearest obstacle than the simulated one, at 1.17 m against 0.52 m, whereas in Scenarios 1 and 3 the simulated trajectory holds the larger margin, at 0.68 m against 0.54 m and 1.09 m against 0.50 m respectively. This pattern is consistent with the field trajectories exhibiting larger excursions in both directions relative to the reference path, rather than a systematic reduction in safety margin.
The comparison suggests that the main limitation is not the decision-making of the policy, but the mismatch between the simulated and real vessel responses. The field trajectories preserve the intended behavior of path following, obstacle avoidance, and boundary clearance, but with larger oscillations and wider turns. These differences are caused by unmodelled hydrodynamic effects, actuator response delay, localization noise, LiDAR measurement variation, and water disturbances. Since the ASV is underactuated, small discrepancies in heading response or propulsion mapping can produce visible differences in cross-track error, especially in narrow waterways where clearance is limited.
3.5. Discussion and Limitations
The simulation and field results together demonstrate that the proposed LiDAR-based SAC framework can produce feasible navigation behavior in a restricted environment, simultaneously tracking a reference path and avoiding static obstacles. Simulation evaluation over randomized episodes provides evidence of performance across varying obstacle densities, while the three single-trial field scenarios demonstrate that the learned policy can be executed on the physical platform and complete the task under the tested conditions. Because each scenario was run once, these trials establish feasibility rather than robustness.
The separate reporting of obstacle and border collisions is important in restricted waterways. In open-water settings, the main failure mode is often collision with another object; however, in a narrow channel environment, a successful avoidance maneuver can still fail if it pushes the vessel towards the boundary. The simulation results show that as obstacle density increases, cross-track error increases and border collisions become more frequent. This supports the central motivation of the paper: static obstacle avoidance in confined waterways must be evaluated together with path-tracking and boundary-clearance performance.
The field experiments also reveal the main limitation of the current framework. Although the policy transfers successfully at the task level, the field trajectories are less smooth than the simulated trajectories, with larger cross-track variation and longer path lengths. This suggests that the primary sim-to-field gap is not the high-level decision-making module, but the mismatch in dynamic responses. Likely causes include unmodelled hydrodynamic effects, actuator delay, localization jitter, and water disturbances. These effects are amplified in narrow waterways, where small heading or actuation errors can quickly produce larger lateral deviations.
Therefore, future work will focus on reducing this simulation-to-field gap by refining the vessel dynamics model through additional system identification, improving actuator and propulsion modeling, and introducing disturbance variations during training. Furthermore, the method will be extended toward dynamic obstacle avoidance and COLREG-compliant navigation. This staged deployment is necessary because reliable path recovery and static obstacle avoidance in restricted waterways provide the foundation for more complex multi-vessel encounter scenarios.
4. Conclusions
This paper presented a LiDAR-based Soft Actor-Critic guidance navigation control framework for path following and static obstacle avoidance of an underactuated ASV in narrow waterways. The proposed method differs from conventional modular approaches by learning a unified observation-to-action policy that combines LiDAR sector features, local motion estimates, and path-relative errors to generate continuous rudder and propulsion commands. This is important in restricted environments, where path following, static obstacle avoidance, and boundary clearance must be handled together rather than as independent objectives.
In simulation, the trained policy achieved a 95% success rate over 500 randomized episodes, with obstacle collision rate of 3.80% and border collision rates of 1.20%. These results show that the policy can generalize across different obstacle densities while balancing path tracking and avoidance behavior.
A single field trial in each of three fixed layouts on the model-scaled Bluefin vessel demonstrated task-level transfer: the vessel avoided static obstacles and maintained positive obstacle and boundary clearance in every scenario tested. However, field trajectories showed larger oscillations and longer paths than simulation, with average RMS cross-track error increasing from 0.69 m to 1.14 m. On the same 500 episodes, the deployed policy exceeded the success rate of a tuned LOS-PID controller with potential-field avoidance (95.0% against 92.2%), while reducing RMS cross-track error from 1.33 m to 0.91 m and mean episode duration from 25.4 s to 20.9 s. The dominant distinction, however, is structural rather than a uniform performance advantage: the classical stack must extract obstacle geometry from the scan and tune its guidance and avoidance layers separately, blending them with a fixed weight that does not adapt to the local configuration, while an NMPC formulation additionally requires an accurate internal prediction model and an online optimization at every control step. The proposed policy instead maps a fixed-dimension pooled scan directly to rudder and propulsion commands in a single forward pass, at fixed and predictable computational cost. The trade-off is that it requires training, offers no formal constraint-satisfaction guarantee, and operates with a smaller minimum obstacle clearance than the classical baseline, achieving its lower tracking error by passing closer to obstacles rather than by detouring further around them.
Two limitations qualify the findings. First, the field trials were conducted in calm water, so disturbance rejection was not tested. Second, the residual mismatch between simulated and measured vessel response, evident in the larger oscillations and longer path lengths observed in the field, indicates that the identified dynamics model does not fully capture the transient behavior of the physical vessel.
The results demonstrate that the proposed framework can perform path following and static obstacle avoidance under restricted-waterway conditions, but also reveal that the current simulation model does not fully capture the real vessel response. Future work will refine the vessel dynamics and actuator models through further system identification, incorporate sensing and disturbance variations during training, and extend the framework toward dynamic obstacle avoidance and COLREG-compliant navigation.