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.1.tar.gz (30.1 kB view details)

Uploaded Source

Built Distributions

VirxERLU_RLib-1.1.1-cp37-abi3-win_amd64.whl (359.9 kB view details)

Uploaded CPython 3.7+ Windows x86-64

VirxERLU_RLib-1.1.1-cp37-abi3-manylinux_2_28_x86_64.whl (441.4 kB view details)

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

File details

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

File metadata

  • Download URL: VirxERLU_RLib-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 302ab62f8112eb1fbd99c282e7df46bb0b4f28f4dddfbf0dab41b4f0ebc250d4
MD5 72c7fa797551404fa5a7c8edb6a175d2
BLAKE2b-256 41c6104393acbfd5803bbea4fc38930bcd9c1feb8b433c529cb0870b4ddcf7b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for VirxERLU_RLib-1.1.1-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4f20b41f0715568d5b164f52de2f3be9567bf067a6f720ecc8c78d3024aeeb2d
MD5 cf74e37db40f4c66de97894a70b29c0b
BLAKE2b-256 45f9b6d3aa4b992356e3cd02395dc28f70cb700fcaf895c62cb007efd9b48f30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for VirxERLU_RLib-1.1.1-cp37-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 48029816a2d8c61790fff48910ef32c33f3d717c7ea8ec98485e9bedafcd07e1
MD5 da6058eab0ab3a0afc29679aca0bed68
BLAKE2b-256 205bfc848d1ce48c05529b6f2bf712fcbb2c6f0c9c0e4a311a06fc2941b2a4ed

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