Skip to main content

Open-world cycling with bluetooth accessories in carla simulator.

Project description

metacycle

Metacycle is an open source cycling simulator. It pairs with smart indoor cycling accessories to offer the highest degree of in-game control and feedback.

metacycle is to Zwift as Project Cars is to Mario Kart.

In other words, it's a serious simulator, not an arcade game. Metacycle has lifelike physics, sophisticated graphics, and deeply modifiable maps and environment.

Requirements

  1. Your Bike
  2. Smart steering plate
  3. Smart Trainer
  4. Gaming computer running Windows 10+ or Ubuntu 22.04+

Currently, the only smart steering plate on the market is Elite Sterzo. Any smart trainer supporting Bluetooth FTMS by Elite, JetBlack, Wahoo, Tacx, etc. are compatible.

No affiliation with any manufacturers.

Quickstart

1. Install Carla

Download Carla Simulator 0.9.15 from the Github Release.

Windows

Open the downloaded ZIP file. Uncompress it to a location of your choice and find CarlaUE4.exe. Double click to launch it.

Linux (Ubuntu)

Un-tar it:

tar -xvf CARLA_0.9.15.tar.gz

Run the launch script:

./CarlaUE4.sh

2. Install Metacycle

Install UV, a python package manager (instructions here)

Then, download the required python version and metacycle app. From the terminal or powershell:

uv python install 3.10
uv tool install metacycle --python 3.10

This will install metacycle to your system, so that it can be launched directly.

Launch metacycle

metacycle

You can pass in a --map argument from available CARLA maps. For example:

metacycle --map Town10HD

A list and description of the maps are available from CARLA docs

Read More

FAQ

How do I upgrade to the latest version?

Sometimes, the cache needs to be cleared in order to get the latest version.

uv cache clean

The following command will find and install the latest published version.

uv tool upgrade metacycle

CARLA must be re-installed manually. Please refer to CARLA docs

How do I remove/uninstall the program?

uv tool uninstall metacycle

CARLA must be uninstall manually by deleting the program yourself.

What is BLE? How do I know if my cycling accessories or computer support it?

Most modern 'smart' cycling accessories communicate using Bluetooth Low Energy. It is sometimes abbreviated to 'BLE'. Bluetooth 4 may or may not support 'Low Energy', so check with the computer manufacturer. Bluetooth 5 and 6 always includes support for 'Low Energy'. Most cycling accessories are not compatible with older, non-'Low Energy' versions of Bluetooth.

My cycling accessories (such as powermeter) support ANT+ but not Bluetooth. Can I use it with metacycle?

No, ANT+ is a completely different protocol that is not supported for this project.

Why do I need a high-performance gaming computer to run metacycle?

Metacycle is based Unreal Engine 4, a serious 3D game engine with full customizability, so it'll be more demanding than typical indoor cycling games.

  • CPU: Intel Core i5 6th-gen or better.
  • GPU: NVIDIA RTX 2070 or better (2080, 3060, 3070, 3080, 4060, 4070, 4080 etc.)
  • Hard drive: 30GB of free space.
  • Bluetooth Low Energy (BLE) support.
  • Internet connection required for installation, not required to run the game.

There is work being done upstream (in Carla) to upgrade to Unreal Engine 5, which will have potentially higher system requirements (16GB+ VRAM)

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

metacycle-0.1.7.tar.gz (48.9 kB view details)

Uploaded Source

Built Distribution

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

metacycle-0.1.7-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file metacycle-0.1.7.tar.gz.

File metadata

  • Download URL: metacycle-0.1.7.tar.gz
  • Upload date:
  • Size: 48.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.15

File hashes

Hashes for metacycle-0.1.7.tar.gz
Algorithm Hash digest
SHA256 7dbc2cbef1674323190803a8e89ebc07b1abd1cedcea1f2436253c72605e2a08
MD5 be3da78fc54ca94da45ebb79edd9dd34
BLAKE2b-256 413c299d627a73a3a5f7ad8c8ccd13732180dff2ab4f3dd131429cecd84613e9

See more details on using hashes here.

File details

Details for the file metacycle-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: metacycle-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.15

File hashes

Hashes for metacycle-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb1e0cc1a13cdc922a44f2fa0bff04a2fa6c04bc520f918668a79cf49efd187
MD5 5d5e8d5f3d9b4514bc200e8418848553
BLAKE2b-256 3b722757b6453f846a728cf6040746db5c4b5df3539151376e74198a4ba18c3b

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