-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
“GetLaneInfoByS: No connecting lane” issue with pedestrian models #343
Comments
Last default value of function parameter int laneTypeMask = Lane::LaneType::LANE_TYPE_ANY_DRIVING |
Hi. Based on what I understood, I changed the |
The default parameters of the repair header file are useless |
1 similar comment
The default parameters of the repair header file are useless |
I have made changes to SetSnapLaneTypes to consider |
Moving objects has so far only recognized driving lanes. Now pedestrians also will snap to sidewalks as well. Fixes issue whith pedestrians unable to follow connected lanes of type sidewalk.
Thanks for reporting this limitation. I see you found a way. I think this is an important use case so I've changed the behavior so that pedestrians will by default snap to sidewalks as well. In addition I made road sensors active and visible for pedestrians as well. Please pull latest from master and try out. You can try attached scenario file: walk.xosc.txt Run as: |
Yes, it is working fine now. Thank you for fixing this. |
Thanks for feedback results. Closing issue. |
Hi,
I’m using the map “fabriksgatan.xodr”. I simply added a pedestrian using lanePosition in road 2, lane -3 and s 295. (default orientation) and ran the xosc file.
The pedestrian follows the road in the order 2->16->3. But the simulator does not seem to find the connecting lane properly. Therefore the pedestrian instantly gets positioned into the nearest “driving” lane. How can I fix this?
The text was updated successfully, but these errors were encountered: