Closed luigiberducci closed 2 years ago
Hello Luigi,
Thanks for catching this! The example code is fine, but there was an internal issue in the Newtonian simulator which caused this counter-intuitive error message. I've pushed a quick fix, which works on my end -- please let me know if this solves the problem for you.
Thanks a lot, Daniel. It works fine now!
When I run the above script, I get this error:
ego = Car with behavior DriveAvoidingCollisions(avoidance_threshold=5)
^
ScenicSyntaxError: invalid syntax
Hello everyone! I wanted to notify a problem experienced by running the 2nd example reported in the documentation. The example is reported here:
When running, the NewtonianSimulator is not able to find the global parameter "map" that is defined in the scenario file.
The complete error message follows:
It would be great to receive any feedback on how to fix this problem.
Thanks a lot! Luigi