The ADAS Sensor Configuration Editors (both the tool for vehicles and tool for maps) are compatible with BeamNGpy. This is to say that if the user creates an ADAS Sensor Configuration using one of the two editors, these configurations can be loaded from BeamNGpy and used in scenarios there.
All the relevant sensor parameters are saved within the configuration file, and when BeamNGpy opens the file, can recreate the sensors exactly as they are described in the file, including with the correct positional and other attachment information.
To see an example of this operating, the user should find the BeamNGpy example script
vehicle_sensor_configuration.py
. The saved configuration file should be copied/moved to a location at which it can be accessible from BeamNGpy and then this filepath supplied (see the example file).
To see an example of this operating, the user should find the BeamNGpy example script
map_sensor_configuration.py
. The saved configuration file should be copied/moved to a location at which it can be accessible from BeamNGpy and then this filepath supplied (see the example file).
You can export the sensor configurations as BeamNGpy code if you wish. Follow the guide in the Export Configuration as Python section of the Attached Sensors Window page.
The sensors spawned by BeamNGpy will be automatically loaded to the sensor configuration editors:
Was this article helpful?