updated the save command for Semantic Segmentation (#6029)

* Fix a typo in setting the max brake

From self._max_steer to self._max_brake

* updated the save command for Semantic Segmentation

carla.cityScapesPalette is given to convert in this documentation, but getting error when trying to save file using that conversion, 
currently in documentation:
raw_image.save_to_disk("path/to/save/converted/image",carla.cityScapesPalette) [not working]
but working with the below command:
raw_image.save_to_disk("path/to/save/converted/image",carla.ColorConverter.cityScapesPalette) [working]

Co-authored-by: kykim0 <kykim144@gmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
This commit is contained in:
rajuptvs 2023-01-26 01:22:51 -08:00 committed by GitHub
parent 60f4a05c4c
commit 5a9f8fefe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ This raw [carla.Image](python_api.md#carla.Image) can be stored and converted it
```py
...
raw_image.save_to_disk("path/to/save/converted/image",carla.cityScapesPalette)
raw_image.save_to_disk("path/to/save/converted/image",carla.ColorConverter.cityScapesPalette)
```
The following tags are currently available: