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, providing the ultimate interactive indoor cycling experience.

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?

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.4.tar.gz (48.4 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.4-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metacycle-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ef1ab852b62da3f4fd2453f5781e93b69f452afbad0f9158b0d949655084b1ab
MD5 4cf6dd8e4639703479b9ec958c605300
BLAKE2b-256 9fce25012edaf52228ff9603e56a57b0e697cc06fa087cd49058234a6e1f3de5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for metacycle-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cd5712910358fc72e372db2bac254f0e1b8f4b2fdbf0126997079e3700bb0ee4
MD5 520dd79281a0cc71dbd72f8cb48dbdd7
BLAKE2b-256 14529b8fed8862b1278dea5e5e0916acc587cc19a530ec1b10a7313f3ef2041d

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