# Time responses of the steering angle

3 views (last 30 days)
Nguyen on 29 Nov 2023
Answered: Sam Chak on 29 Nov 2023
I am having trouble in designing the graph of "Time responses of the steering angle".
If anyone knows how to design this code, please tell me.
Mathieu NOE on 29 Nov 2023
well you show a graph, so for me we have a graph but maybe you want a value ?
shoudn't it be the time delat between when your angle start to increase (at t= 0.7 s approx) up to the negative peak (at t= 2.5 s approx) ?

Sam Chak on 29 Nov 2023
Finding the values to plot the graph is less useful than having a reliable algorithm to determine the steering angle. This is crucial for tasks such as avoiding obstacles or heading towards waypoints as per the path planner. The algorithm can take various forms, such as a Control Law in mathematical form, Optimal steering angles computed through optimization methods and returned as time series data, or a Steering Logic based on If–Then rules in an intelligent reasoning form.
time = data(:,1);
angle = data(:,2);
plot(time, angle, 'linewidth', 2), grid on
xlabel('Time / s'), ylabel('Angle / deg')
title('Steering Angle')