Skip to main content

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

Project description

tpa_map_functions

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.7-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tpa_map_functions-0.7-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for tpa_map_functions-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7f9fe41e7c838f2fcf2e0d57a1cd3bc7da2358d5fd01e4cbdf91576183a63b7e
MD5 5f76bd9d07c4d040bfe1c2c3368b4d8c
BLAKE2b-256 175407bd0b9d477d5de7c2b49fbb06396e7f0f8690d1d8b68e1059431b42039b

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