Using a Simulink dynamic motorcycle in a driving scenario trajectory.
14 views (last 30 days)
Show older comments
I am having a project to simulate some collision situation with dynamics vehicles. I've already see through example and successfully model a real motorcycle with ABS brake. The automated driving toolbox driving scenario creates trajectory using waypoints and the velocity at each of that point. So, the question is how can i put my motorcycle model into that trajectory ? I have to specific a point in the trajectory where the motorcycle brakes, this is why i do not know the specific velocity at each way point.
0 Comments
Accepted Answer
J Chen
on 25 Aug 2023
You need to use a lateral controller such as Pure Pursuit (in the Navigation or Robotics toolbox) or Stanley (in the Automatic Driving Toolbox)
More Answers (1)
Emmanouil Tzorakoleftherakis
on 25 Sep 2023
Edited: Emmanouil Tzorakoleftherakis
on 25 Sep 2023
Here is a video that shows how to do that using Model Predictive Control Toolbox:
See Also
Categories
Find more on Simscape Driveline in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!