I need to customize my chaseplot viewer in MATLAB.
3 views (last 30 days)
Show older comments
Hello everyone, I need to customizing my chase plot using highway trajectories using Frenet Reference Path. In this scenario, I'm planning to implement the automatic lane change enabling/ disabling to triggering while runing the silumation. Hence, any usefule tips would be very helpful for me. Thanks in advance for your notice!
2 Comments
Umar
on 13 Jul 2024
Hi Satheesh ,
I will start with using the trajectoryGeneratorFrenet function and define the path's curvature, heading angle, and lateral deviation. For more information regarding trajectoryGeneratorFrenet function, please refer to https://www.mathworks.com/help/nav/ref/trajectorygeneratorfrenet.html
For highway trajectory Plan using using frenet, please refer to
https://www.mathworks.com/help/nav/ug/highway-trajectory-planning-using-frenet.html
Afterwards, use the chaseplot function to display road centers and actor waypoints on the plot. For more information regarding this function, please refer to
https://www.mathworks.com/help/driving/ref/drivingscenario.chaseplot.html
Then, implement automatic lane changes based on predefined conditions using if-else statements and update the vehicle's trajectory and lane position dynamically during simulation.
By following these steps and suggestions, you will be able to accomplish your goal. Please let me know if you have any further questions.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!