当前位置:   article > 正文

matlab 高速公路,基于Frenet参考路径的高速公路轨迹规划

基于学习的高速公路轨迹规划

初始化模拟器

初始化模拟器并创建chasePlot查看器。

[scenarioViewer,futureTrajectory,actorID,actorPoses,egoID,egoPoses,stepPerUpdate,egoState,isRunning,lineHandles] = ...

exampleHelperInitializeSimulator(scenario,capList,refPath,laneWidth,replanRate,carLen);

14d1840252f1d76e5f494f53ba4e49af.png

tic

while isRunning

% Retrieve the current state of actor vehicles and their trajectory over

% the planning horizon.

[curActorState,futureTrajectory,isRunning] = ...

exampleHelperRetrieveActorGroundTruth(scenario,futureTrajectory,replanRate,maxHorizon);

% Generate cruise control states.

[termStatesCC,timesCC] = exampleHelperBasicCruiseControl(...

refPath,laneWidth,egoState,speedLimit,timeHorizons);

% Generate lane change states.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/1011247
推荐阅读
相关标签
  

闽ICP备14008679号