当前位置:网站首页>Opendrive record

Opendrive record

2022-07-05 07:34:00 sukhoi27smk

1.  junction There are only half of the links , It's just road Get into junction The link relationship between , No, junction Out

Go to the link relationship .

Take the path search method for example ,

1) If at present road In front of is junction, At present road Of predecessor perhaps successor yes junction,

Need from junction Find the current road Forward road, namely junction=‘-1’ Of road

2) If at present road yes junction=‘-1’ Of road, Then the current road There must be road, At present

road Of predecessor perhaps successor It must be road, Then go straight ahead road id 了

therefore junction It just needs to be road Get into junction The link relationship between , Unwanted junction Out of the link relationship .

To put it bluntly , Ordinary road In front of is junction road,junction road The front of the must be ordinary road.

2. road Of predecessor perhaps successor Inside contactPoint The meaning of

contactPoint="start",contactPoint="end",

It means that at present road Of predecessor perhaps successor Of road The reference line of is based on the current road Is it the beginning or the end ,

To put it bluntly, it's a decision road Direction of reference line .

If road Of predecessor perhaps successor yes junction, So no contactPoint attribute ,contactPoint

Need to go junction Look inside .

3. about lane Inside predecessor perhaps successor, also , If it's current road Of predecessor or

person successor yes road, that lane It also needs to have predecessor perhaps successor Of lane id. If at present

road Of predecessor perhaps successor yes junction,lane There's no predecessor perhaps successor Of lane id

, Its predecessor perhaps successor Of lane id Need to go junction Query in .

原网站

版权声明
本文为[sukhoi27smk]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140553428461.html