update FT24 presets

This commit is contained in:
2025-08-22 17:39:32 +02:00
parent 7650d02541
commit 247696eab6
31 changed files with 298 additions and 274 deletions

View File

@ -1,4 +1,4 @@
function [outputArg] = plot_driver_steering(panel, start, stop, pltData)
function [outputArg] = plot_driver_steering(panel, pltData, tr)
% create tiledlayout (R2023a and newer)
tl = tiledlayout(panel,"vertical");
@ -7,13 +7,13 @@ function [outputArg] = plot_driver_steering(panel, start, stop, pltData)
hold(ax1, "on")
grid(ax1, "on")
title(ax1, "Speed [km/h]")
plot(ax1,pltData.xAxis(start:stop),pltData.speed_kph(start:stop))
plot(ax1,pltData.xAxis(tr,:),pltData.speed_kph(tr,:))
% plot 2: steering angle [°]
ax2 = nexttile(tl);
hold(ax2, "on")
grid(ax2, "on")
title(ax2, "Steering Angle [°]")
plot(ax2,pltData.xAxis(start:stop),pltData.steering_deg(start:stop))
plot(ax2,pltData.xAxis(tr,:),pltData.steering_deg(tr,:))
% plot 3: oversteer
ax3 = nexttile(tl);
hold(ax3, "on")
@ -26,9 +26,9 @@ function [outputArg] = plot_driver_steering(panel, start, stop, pltData)
hold(ax4, "on")
grid(ax4, "on")
title(ax4, "Lateral Acc [g]")
plot(ax4,pltData.xAxis(start:stop),pltData.acc_lat_g)(start:stop)
plot(ax4,pltData.xAxis(tr,:),pltData.acc_lat_g(tr,:))
% link all x axes
linkaxes([ax1, ax2, ax3, ax4],"x")
%linkaxes([ax1, ax2, ax3, ax4],"x")
% return null (not relevant for plots!)
outputArg = [];