Closed abanuelo closed 3 weeks ago
Following up on this example, I noticed that there were additional steps needed to run this example, namely: running make
within the controllers
directory. After that was done and I loaded up the city_intersection.wbt
file within webots I faced this issue:
WARNING: scenic_supervisor: Forced termination (because process didn't terminate itself after 1 second).
INFO: scenic_supervisor: Starting controller: /home/ubuntu/Scenic/venv/bin/python -u scenic_supervisor.py
INFO: autonomous_vehicle: Starting controller: /home/ubuntu/Scenic/examples/webots/city_intersection/controllers/autonomous_vehicle/autonomous_vehicle
INFO: autonomous_vehicle: Starting controller: /home/ubuntu/Scenic/examples/webots/city_intersection/controllers/autonomous_vehicle/autonomous_vehicle
Traceback (most recent call last; use -b to show Scenic internals):
File "/home/ubuntu/Scenic/examples/webots/city_intersection/controllers/scenic_supervisor/scenic_supervisor.py", line 26, in <module>
sim_results = simulator.simulate(scene, timestep=0.5, verbosity=2)
File "/home/ubuntu/Scenic/src/scenic/simulators/webots/simulator.py", line 56, in createSimulation
return WebotsSimulation(
File "/home/ubuntu/Scenic/src/scenic/simulators/webots/simulator.py", line 82, in __init__
super().__init__(scene, timestep=timestep, **kwargs)
File "/home/ubuntu/Scenic/examples/webots/city_intersection/city_intersection.scenic", line 55, in applyTo
target_path = self.path + "/"
TypeError: unsupported operand type(s) for +: 'PosixPath' and 'str'
Loading Scenic scenario ../../city_intersection.scenic
Starting new simulation...
Starting simulation 1...
Other Car Visible: False
WARNING: 'scenic_supervisor' controller exited with status: 1.
Error: could not open "../../images/live_img.jpeg" for writing
Error: could not open "../../images/live_img.jpeg" for writing
Error: could not open "../../images/live_img.jpeg" for writing
Error: could not open "../../images/live_img.jpeg" for writing
Error: could not open "../../images/live_img.jpeg" for writing
System Details
Detailed Description
city_intersection.wbt
file into Webots, it generates the stack trace belowscenic
runs when you load thecity_intersection.wbt
fileSteps To Reproduce
city_intersection.wbt
venv
created for Scenic related dependenciesIssue Submission Checklist