Home▸Autonomous Systems▸Autonomous Sailboat: Line-Following Controller, Tack Hysteresis and the No-Go Zone (2D)

Autonomous Sailboat: Line-Following Controller, Tack Hysteresis and the No-Go Zone (2D)

The same controller and boat model drawn as a plan map of the 500 m line with the tack band, the no-go wedge, the path so far and the Blender boat sprite (enlarged), plus a boat-frame instrument with heading up showing sail and rudder angles, true and apparent wind and the heading the controller orders. All numbers come from the shared core, so they match the 3D page.

Autonomous Systems2DModerate60 FPS📱 Mobile-adapted🟠 Blender💧 Water💨 Air & Wind⇄ 3D version
Autonomous Sailboat: Line-Following Controller, Tack Hysteresis and the No-Go Zone (2D) ↗ Open standalone

A 4 m robot sailboat follows a 500 m line to a buoy with no crew. The planar boat model of Jaulin and Le Bars (sail lift on the apparent wind, rudder lift, quadratic drag, yaw damping) is steered by their line-following controller: the cross-track error e sets a nominal course, the boat orders a close-hauled course when that course points into the no-go zone, the tack may change only when |e| exceeds r/2, the rudder is proportional or saturated, and the mainsheet follows a cardioid rule. Sliders: wind speed and direction, close-hauled angle, cut-off r, incidence angle, rudder limit and start offset. Graphs show the cross-track error, the track, heading error and rudder, speed made good and the steady polar. Eight numerical checks (RK4 step halving, locked-heading speed against a bisection, apparent-wind triangle, the controller values quoted in the paper, hysteresis rule, closed-loop error, beating legs against the polar); Blender boat, buoys and sea tile.

⚙ Under the hood

The same controller and boat model drawn as a plan map of the 500 m line with the tack band, the no-go wedge, the path so far and the Blender boat sprite (enlarged), plus a boat-frame instrument with heading up showing sail and rudder angles, true and apparent wind and the heading the controller orders. All numbers come from the shared core, so they match the 3D page.

Autonomous SailboatLine FollowingControl AlgorithmsSailingApparent WindTackingRoboticsHysteresis Control2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)