- .NET 8 SDK
- Transform the look-ahead point into the vehicle frame
(x_local, y_local) - Compute the heading angle to that point
alpha = atan2(y_local, x_local)
- Convert that angle into curvature (how sharp to turn)
kappa = 2 * sin(alpha) / Ld
- Turn curvature into angular speed
omega = v * kappa
- Differential-drive wheel speeds (track width = W)
vL = v - omega * (W/2)vR = v + omega * (W/2)
- Draw Path:Left-click to add path points; drag red point to adjust them.
- Place Vehicle:Left-click to place the vehicle; drag the small blue circle in front of the vehicle to adjust yaw.
- Pick Lookahead:Left-click to specify the green look-ahead point.
- Pan/Zoom:Right-click and drag to pan; use the mouse wheel to zoom.
On the right panel, you can adjust Ld, v, TrackWidth, and WheelBase; the results and the drawing canvas update in real time.
