Package: tpa-map-functions
Functions for Tire Performance Assessment MapsThe software of this repository is used within theTUM Autonomous Motorsports project.The core functionality of this repository (in./tpa_map_functions) is available as pypi package:https://pypi.org/project/tpa-map-functions/DescriptionThis repository provides several functions to generate and process race track maps containing specific local information, which is further used for trajectory planning or vehicle dynamics simulation.local acceleration limitsThe local acceleration limits are used for trajectory planning within the TUM Autonomous Motorsports project. These location-dependent values are stored in a tpa-map (tpa = tire performance assessment) and are provided to the local trajectory planning module via an interface. In addition to location-dependent acceleration limits, vehicle velocity-dependent acceleration limits can be included (e.g. to account for aerodynamic forces acting on the vehicle (downforce)).These tpa-maps are static, but there is an option to update the local acceleration limits in real-time when the tire performance assessment (tpa) module is running in parallel and communication is enabled. This allows real-time adaption to changing race track conditions.local tire model scalingThe local tire model scaling is used for vehicle dynamics simulation within the TUM Autonomous Motorsports project. These maps have the same format but contain local scaling factors for the tire model. This allows simulate a varying tire-road friction coefficient. The local tire model scaling maps allow location-dependent and time-dependent scaling factors.The picture below shows an example tire performance map of the Berlin Formula-e race track.List of componentsinputs: This folder contains input files (e.g. reference line or tpa-maps).outputs: This folder contains generated tpa-maps.tests: This folder contains scripts to test several functions within this folder (e.g. interface, visualization).tpa_map_functions/helperfuncs: This folder contains some helper functions used within this repository.tpa_map_functions/interface: This folder contains functions to provide an interface to the local trajectory planner and to the
tire performance assessment module.tpa_map_functions/visualization: This folder contains functions to visualize tpa-maps.tpa_map_gui: This folder contains software to run a GUI which allows to generate location- and time-dependent tire-road friction maps for vehicle dynamics simulation or to generate tpa-maps which are used for trajectory planning. A more detailed description can be found within this folder.How to generate tpa-mapsWith these steps, a new tpa-map can be generated using an existing reference line:Openmain_tpaGUI.pyand specify the name of the reference line (in/inputs) and the settings for ref-line preprocessing (options: use original step size or resample to new step size).Create a tpa-map (consult/tpa_map_gui/Readme.mdfor more details).Reformat output maps depending on type (use/tests/helperfuncs/concat_tpamaps.pyand adjust settings for local scaling factors or for multiple tpa-maps with velocity-dependent data).Use final, single map file (located in/outputs) as input for local trajectory planner or vehicle dynamics simulation.