Open abanuelo opened 2 months ago
Note: This issue is due to alwaysProvidesOrientation
utilizing sampling as a heuristic. This can trigger a rejection, and because the scene is fixed, a subsequent error.
The immediate problem is an error being raised, which is done by the driving domain when it detects that a rejection is being done at compile time. This is because the driving domain thinks this scenario has inconsistent requirements, due to a rejection being raised before sampling has even been attempted.
A solution might include a new flag indicating whether or not rejections should immediately translate to errors, which alwaysProvidesOrientation
(or other functions which might need to do heuristic sampling at compile time) could toggle on/off as needed and the driving domain (and other code that is seeking to detect invalid scenarios) could check before raising an invalid scenario error.
Can be reproduced with the following command: scenic examples/driving/pedestrianAcrossRoad.scenic --2d --gather-stats 1 --seed 19
In PR #287 the command no longer causes an invalid scenario error.
System Details
Detailed Description
oppositeLaneGroup
is not working in the scenic.domains.driving.modelscenic examples/driving/pedestrianAcrossRoad.scenic --2d --model scenic.simulators.carla.model --simulate -b
Steps To Reproduce
Clone the repo and run the Scenic command mentioned above.
Issue Submission Checklist