why does the car not start from the initial position that is from the track during simulation ?
3 次查看(过去 30 天)
显示 更早的评论
i have created a vehicle control model in simulink. the car does not start from the given path during simulation in unreal engine, even though i have chosen the predifined curved track from simulink in driving scenario generator.
0 个评论
回答(1 个)
Nishan Nekoo
2023-8-8
It appears that you are not initializing the initial position of the vehicle correctly: https://www.mathworks.com/help/driving/ref/simulation3dvehiclewithgroundfollowing.html#mw_38d9dce2-9b3a-4028-9ae9-ecc2ea8e8674
Please set the parameter from the link above in the "Simulation 3D Vehicle with Ground Following" block so that the vehicle is iniitalized at the location that you desire.
You can use the code here to identify the initial position you want to use:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!