Skip to main content

Functions to process local acceleration limits for trajectory planning within the TUM Autonomous Motorsports project

Project description

Functions for Tire Performance Assessment Maps

The software of this repository is used within the TUM 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/

Description

This 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 limits

The 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 scaling

The 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.

tpamap_berlin

List of components

  • inputs: 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-maps

With these steps, a new tpa-map can be generated using an existing reference line:

  1. Open main_tpaGUI.py and 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).
  2. Create a tpa-map (consult /tpa_map_gui/Readme.md for more details).
  3. Reformat output maps depending on type (use /tests/helperfuncs/concat_tpamaps.py and adjust settings for local scaling factors or for multiple tpa-maps with velocity-dependent data).
  4. Use final, single map file (located in /outputs) as input for local trajectory planner or vehicle dynamics simulation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tpa_map_functions-0.19-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file tpa_map_functions-0.19-py3-none-any.whl.

File metadata

  • Download URL: tpa_map_functions-0.19-py3-none-any.whl
  • Upload date:
  • Size: 32.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for tpa_map_functions-0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 190e7a9c9e400624fa145f92a1e849c37e6bd8e2ed6243f56779519a48bbc311
MD5 1b1d01a4c5e071b9a414bc9f8c6e1f23
BLAKE2b-256 8788f3b8fca37ef3716d0ed70adb8ec3f8e9425ef1febd3dcfa0af8116dfe260

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page