Open Daniel23-6 opened 1 year ago
Hi have you solved it?
Any news on this bug? I was using carla normally just until this moment, then the same error appeared.
Boost.Python.ArgumentError: Python argument types in
Map.get_waypoint(Map, NoneType)
did not match C++ signature:
get_waypoint(carla::client::Map {lvalue}, carla::geom::Location location, bool project_to_road=True, int lane_type=carla.libcarla.LaneType.Driving) was raised from the environment creator for CarlaEnv-pt-v0 with kwargs ({'render': False, 'carla_port': 2000, 'changing_weather_speed': 0, 'frame_skip': 60, 'observations_type': 'state-waypoint', 'traffic': True, 'vehicle_name': 'toyota.prius', 'map_name': 'Town02', 'autopilot': False, 'agent_name': 'RL', 'other_ru': 0})
I have met this error, thanks very much.
@Daniel23-6
Just as explanation and fix self.agent.set_destination((120, 330, spawn_point_ego.location.z))
is wrong -> self.agent.set_destination(carla.Location(120, 330, spawn_point_ego.location.z))
.
From what I can see this is a bug in another repository that was used.
@nelsondmmg
Something called map.get_waypoint(None)
without a traceback one cannot tell where this error comes from.
Describe the bug Dear expert, I have met this error, thanks very much.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.