Carla code for creating videos of the Stanford Intelligent Systems Laboratory Autonomous Vehicle Adaptive Stress Testing project. This code is being used for prototyping Uber related projects and a Lincoln Labs presentation.
Update the create_random_blueprint function to handle a color parameter that is used to override the default random color choice. By default, the function will still random choose a color in its blueprint creation, but if the user specifies a color as a string of 'R, G, B', this should be used instead.
Ransalu needs two vehicles instead of a pedestrian and a vehicle. Since this is a specific request from the original code, a separate script with additional functions should be made to run this demo.
Some functions in the ast_test.py file are larger than they should be and aren't very reusable. We should break these functions into smaller, more maintainable, more reusable functions.
Instead of having a copied version of the util and sensors library from other repositories, these libraries should be included via a submodule from the https://github.com/exoticDFT/Carla-Modules.
Several of the functions being used by ast_test.py script can be reused for definitely projects. We should remove these functions from here and place them into the util library to be used by other programs.
There are two global variables used throughout the ast_test.py script. Since these were used, some functions do not allow for use outside this script. Several of these functions could be reused and therefore the dependence on these global variables should be removed.
The main function in the ast_test.py script has the visualizations for the Lincoln Lab demo explicitly. This makes the script not so robust. It would be good to have a script specifically for these visualizations, independent of the current script.