Hello to everyone, I've got this problem with a programm that deal with autonomous driving...In particular within the function that take into account the acceleration of the leader vehicle, i'm trying to implement a constant deceleration of the vehicle from a cruice velocity of 10 m/s to 0. But in this case I'm considering that the car is not riding on a flat path but along a slope. I would like to have a deceleration of 0.1 regardless the grade.
slope_perc=input('put the % value of the slop= ');
When I run the code matlab asks me "put the % value of the slope= " but when I insert the value, the programm doesn't go on and keeps asking always to put the value...I know that you should read all the code but, according to you, have I write something wrong? Thanks.