Closed AIasd closed 4 years ago
seems like a py-trees dependency problem.
can you run
pip freeze | grep tree
and verify the version of py-trees you're using? i'm using 0.8.3, as stated in
carla_project/requirements.txt
Yes, this solves my issue. Thank you so much!
Hi, I have the same problem:
Preparing scenario: RouteScenario_0 The scenario cannot be loaded Traceback (most recent call last): File "scenario_runner.py", line 388, in _load_and_run_scenario scenario = RouteScenario(world=self.world, File "/home/aim2/Projects/Yosef/scenario_runner/srunner/scenarios/route_scenario.py", line 154, in init self._update_route(world, config, debug_mode) File "/home/aim2/Projects/Yosef/scenario_runner/srunner/scenarios/route_scenario.py", line 186, in _update_route gps_route, route = interpolate_trajectory(world, config.trajectory) File "/home/aim2/Projects/Yosef/scenario_runner/srunner/tools/route_manipulation.py", line 141, in interpolate_trajectory grp = GlobalRoutePlanner(world.get_map(), hop_resolution) TypeError: init() takes 2 positional arguments but 3 were given init() takes 2 positional arguments but 3 were given Exception ignored in: <function RouteScenario.del at 0x7f6e84fae310> Traceback (most recent call last): File "/home/aim2/Projects/Yosef/scenario_runner/srunner/scenarios/route_scenario.py", line 516, in del self.remove_all_actors() File "/home/aim2/Projects/Yosef/scenario_runner/srunner/scenarios/basic_scenario.py", line 202, in remove_allactors for i, in enumerate(self.other_actors): AttributeError: 'RouteScenario' object has no attribute 'other_actors' No more scenarios .... Exiting
and when I run pip freeze | grep tree
I get:
py-trees==0.8.3
rqt_tf_tree==0.6.2
And it is still not working, what can be the problem?
Hello, I followed the instruction and was trying to run 1.data collection 2.the pre-trained model but encountered the same error message as the following. I would appreciate if you can shed some lights on the error message. Thanks!