与traci :: poiscope添加poi
当我尝试通过Traci将POI添加到车辆时,我会收到此错误消息。
<!> Error: libsumo::TraCIException: ..
Answered with error to command (199), [description: Could not add PoI.]
std::string imgFile = "img.png";
poiScope->add("POI1", mVehicleController->getPosition().x.value(), mVehicleController->getPosition().y.value(), standardColor, "png", 1, imgFile, 40, 40, 1);
我已经检查了通过的值,它们是正确的。
免责声明:这是一个动脉模拟,但是由于它本质上是一条静脉,所以我添加了标签。
I get this error message when I try to add a POI to a vehicle through TraCI.
<!> Error: libsumo::TraCIException: ..
Answered with error to command (199), [description: Could not add PoI.]
std::string imgFile = "img.png";
poiScope->add("POI1", mVehicleController->getPosition().x.value(), mVehicleController->getPosition().y.value(), standardColor, "png", 1, imgFile, 40, 40, 1);
I have checked the passed values and they are correct.
Disclaimer: This is an artery simulation, but since it's essentially a fork of veins I added the tag.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果已经有另一个具有相同ID的POI,则此错误显示。
This error shows up if there already is another POI with the same id.