当前位置:网站首页>Carsim-问题Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?
Carsim-问题Failed to start Solver: PATH_ID_OBJ(X) was set to Y; no corresponding value of XXXXX?
2022-07-02 06:28:00 【江藤霞】
文章目录
应该是路径数量不匹配的问题
一、操作步骤
在这个例子里面,我直接拿案列修改的
地图是自己用VS Scene Builder新建的只有一条路径
而案例里面初始的地图路径有3条!(红色是车辆的,绿色和蓝色是两辆自行车的)
二、原因
由以上步骤可看出路径的数量明显不一样!而Home(主界面)下又给行人、自行车驾驶员设置了路径。
但是我导入的文件只有一条路径,也就是之前行人、自行车驾驶员绑定的路径在其它两天路径上,但是现在给删掉了,所以会报以下错误。
Error reported by S-function 'vs_sf' in 'Demo_Simulink_1/CarSim S-Function':
Failed to start Solver: PATH_ID_OBJ(1) was set to 3; no corresponding value of PATH_ID could be found.
三、怎么解决?
1、把添加的行人、自行车等与路径相关的一些附加对象给删除掉。
1> 回到主页面,把红框圈选的给去掉。

2、把行人、自行车等对象的路径ID修改为路径文件里面含有的路径ID。
虽然我们导入的.vsscene文件只有一条道路,但是在上面的Pedestrians at Cross Walk, City一栏还定义了一个路段,所以一共有两条路径。为了更明显的验证结果,我们把行人,自行车的路径ID都设置为1(与车辆路径一致)。
第一个图在Home界面的左边。


3、回到Home,进行simulink仿真,结果如下:

可以看到车辆,行人,自行车都以自己导入的路径文件的路径为基础进行移动!
问题解决啦!
四、总结
遇到类似的问题,首先考虑是附加的Object的路径ID出现了问题。
觉得有用的小伙伴点个赞再走呗!
边栏推荐
- Remplacer l'auto - attention par MLP
- 【Cutout】《Improved Regularization of Convolutional Neural Networks with Cutout》
- On the confrontation samples and their generation methods in deep learning
- 高中数学必修一
- Vscode下中文乱码问题
- 业务架构图
- EKLAVYA -- 利用神经网络推断二进制文件中函数的参数
- Graph Pooling 简析
- 【Random Erasing】《Random Erasing Data Augmentation》
- 力扣每日一题刷题总结:链表篇(持续更新)
猜你喜欢

I'll show you why you don't need to log in every time you use Taobao, jd.com, etc?

MySQL优化

【学习笔记】Matlab自编高斯平滑器+Sobel算子求导

【BiSeNet】《BiSeNet:Bilateral Segmentation Network for Real-time Semantic Segmentation》

Fundamentals of music theory (brief introduction)

【学习笔记】Matlab自编图像卷积函数
![[binocular vision] binocular correction](/img/fe/27fda48c36ca529eec21c631737526.png)
[binocular vision] binocular correction

服务器的内网可以访问,外网却不能访问的问题

jetson nano安装tensorflow踩坑记录(scipy1.4.1)

Remplacer l'auto - attention par MLP
随机推荐
Nacos service registration in the interface
【学习笔记】反向误差传播之数值微分
Get the width and height of the screen in real time (adaptive)
Replace convolution with full connection layer -- repmlp
(15) Flick custom source
简易打包工具的安装与使用
WCF更新服务引用报错的原因之一
C#与MySQL数据库连接
Several methods of image enhancement and matlab code
業務架構圖
将恶意软件嵌入到神经网络中
Simply test the two different data transmission methods of content length and chunked
【MnasNet】《MnasNet:Platform-Aware Neural Architecture Search for Mobile》
【FastDepth】《FastDepth:Fast Monocular Depth Estimation on Embedded Systems》
Target detection for long tail distribution -- balanced group softmax
How to wrap qstring strings
[learning notes] matlab self compiled Gaussian smoother +sobel operator derivation
利用Transformer来进行目标检测和语义分割
C # connect to MySQL database
笔记本电脑卡顿问题原因