Skip to main content

Rust modules for VirxERLU

Project description

VirxERLU-RLib

unsafe forbidden

About

VirxERLU is a series of utilities for RLBot.

VirxERLU-RLib is the high-performance Rust code with links to Python in order to provide fast and accurate numbers that you can trust.

Features

Currently, VirxERLU-RLib has:

  • 120tps ball prediction analysis
  • Near on-shots and very accurate distance calculations (always WIP but fairly good)
  • 120tps acceleration simulation using modified RLU speed controller
  • Pathing using Dubin's Paths that says in the field
  • Semi-variable turn radius calculations for pathing
  • 6 paths, 6 ways to stay in the field per slice
  • Shoots between two goal posts, not at a single point
  • Goal post correction
  • GameTickPacket parsing
  • Custom ball prediction struct length
  • Temporary shots (for just checking the time of a possible shot)
  • Support for any car on the field
  • Shot options
    • Search starting slice
    • Search ending slice
    • Using the car's true max speed (2300) instead of the value based off of the current boost amount
    • Don't search for shots that involve driving backwards
  • SIMD vector math
  • Gravity mutator support
  • (Partial) Ball size mutator support
  • Boost amount mutator support
  • Aerials consider multiple jump types and pick the best
    • Not jumping from the ground when upside down
    • Not jump when in the air
    • Jumping once from the ground
    • Jumping once in the air
    • Jumping twice from the ground

Using the car's true max speed

This might be a little confusing, so I'm going to explain it more.

TL;DR enabling this makes the shots more consistent and reliable, at the cost of getting to some shots slower or even not at all (but it will know that from the start.)

By default, every tick this library calculates the max speed that the car get get to with it's current boost amount. This has several benefits, such as being able to turn tighter on low boost and getting to locations faster. However, this is also susceptible to boost pick-ups. If you're bot picks up a small or large boost pad, the course of the bot may be entirely different after the fact.

By passing in "use_absolute_max_values" with a value of "True" this library will make sure that the path always stays the same, and it will only get faster with boost pickups. However, this may render certain shots impossible as the bot tries to say clear of walls and can't make as tight of a turn.

POTENTIAL SOLUTION: In the max speed calculation, consider all potential boost pad pickups.

Project details


Download files

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

Source Distribution

VirxERLU_RLib-1.1.0.tar.gz (30.1 kB view details)

Uploaded Source

Built Distributions

VirxERLU_RLib-1.1.0-cp37-abi3-win_amd64.whl (354.8 kB view details)

Uploaded CPython 3.7+ Windows x86-64

VirxERLU_RLib-1.1.0-cp37-abi3-manylinux_2_28_x86_64.whl (430.4 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ x86-64

File details

Details for the file VirxERLU_RLib-1.1.0.tar.gz.

File metadata

  • Download URL: VirxERLU_RLib-1.1.0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for VirxERLU_RLib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d1a55ce643590e6cdc75037317dfbe15882b23a829af3dd6de765521e9a5ead7
MD5 ab7ec7a70ea814be02ce3ddc53f34049
BLAKE2b-256 0a382c3154a4af0664d7354abf3c784988fb4b24a6ea4c72220ce4139c5a7c39

See more details on using hashes here.

File details

Details for the file VirxERLU_RLib-1.1.0-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for VirxERLU_RLib-1.1.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f2259da6de66c0bc564a4581d706cd0fa03f592bf9a4765ebecf9e3d16beeb3
MD5 4e7e24b2f182965b8bc05b1b42fc5ebf
BLAKE2b-256 f627361448081c46251e4f9266ff8f4c58cd4b8abb460ee3ab6de4b9c79edcf8

See more details on using hashes here.

File details

Details for the file VirxERLU_RLib-1.1.0-cp37-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for VirxERLU_RLib-1.1.0-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 82729b2660fcb39db5e05bb5d72aabff63e6c4c9059bd3bfef2d8261453e10e4
MD5 51609cff579032d788ec5285cae9c99f
BLAKE2b-256 dd9757aafc2831bf99b34e0195469b6805b868b3e110031a6c59c6e28b92bf75

See more details on using hashes here.

Supported by

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