Added changelog

This commit is contained in:
Guillermo 2021-07-29 14:49:43 +02:00 committed by bernat
parent 3514ed014f
commit 792f1ceca0
2 changed files with 5 additions and 2 deletions

View File

@ -45,6 +45,7 @@
- Added `set_wheel_steer_direction()` function to change the bone angle of each wheel of a vehicle
- Added `get_wheel_steer_angle()` function to get the steer angle of a vehicle wheel
- Added `scattering_intensity` , `mie_scattering_scale` , `rayleigh_scattering_scale` to PythonAPI for changing weather attributes
- Improved the python agents API. Old behaviors have been improved and new ones have also been added, improving the functionalities of the agents. Several bugs have also been fixed
## CARLA 0.9.11

View File

@ -149,7 +149,9 @@ class BasicAgent(object):
:param start_waypoint (carla.Waypoint): initial waypoint
:param end_waypoint (carla.Waypoint): final waypoint
"""
return self._global_planner.trace_route(start_waypoint.transform.location, end_waypoint.transform.location)
start_location = start_waypoint.transform.location
end_location = end_waypoint.transform.location
return self._global_planner.trace_route(start_location, end_location)
def run_step(self):
"""Execute one step of navigation."""