필터 지우기
필터 지우기

Time responses of the steering angle

조회 수: 1 (최근 30일)
Nguyen
Nguyen 2023년 11월 29일
답변: Sam Chak 2023년 11월 29일
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.
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2023년 11월 29일
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) ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Sam Chak
Sam Chak 2023년 11월 29일
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.
data = readmatrix('plot-data.csv');
time = data(:,1);
angle = data(:,2);
plot(time, angle, 'linewidth', 2), grid on
xlabel('Time / s'), ylabel('Angle / deg')
title('Steering Angle')

카테고리

Help CenterFile Exchange에서 Automotive에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by