Closed NovoG93 closed 2 years ago
We are using Ackermann's steering model not the bicycle model.
Even in your paper Fig.2 (a) you state that
The vehicle receives single value of steering angle as input which is calculated as
No, that's not what Figure 2a is. Figure 2a is the Ackermann Steering model. I recommend you take a look at https://www.youtube.com/watch?v=i6uBwudwA5o&t=1s for on how Ackermann steering works. The input CAT vehicle takes as if it were a bicycle model, but then cmdvel2gazebo.py translates to Ackermann steering model.
That is exactly my point. And I am not talking about cmdvel2gazebo.py but the cont.cc file where you publish the GT value of the steering. If you want to publish the GT value of the steering it should be computable by the receiving the two steering angles of the front wheels, shouldn't it?
No, there is a dynamic in the play. The output is not the same as the input. It will never be. Assume that vehicle itself is a non-linear transfer function - if you want a mapping then you need to do system identification. What is being published through cont.cc
is after fetching the output from the ros-gazebo-control plugin whose job is to translate inputs to motion.
Ah okay, thank you for pointing that out
Why do you calculate the simplified steering angle (I assume you are using a bicycle model) using (see):
In Jazar, R. N. (2017). Vehicle dynamics: theory and application. Springer. equation 7.4 the steering angle for the simplified bicycle is computed as:
So imho it should be smth like