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.5.tar.gz (48.7 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.5-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metacycle-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9008b5467e5f7ae62437cdc3fc9968f8075283b16cbff64590f576dc888e3242
MD5 6ffb9761ab86342505f6e55efb74267a
BLAKE2b-256 cd07902cf30ef8940b9dc86c8c1a65ec7fec74a19e70ef0a292664d232062662

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for metacycle-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a0ba2bbff8286e0d6a65e5755e21a9cfc1e7cec0801d6f62fd2d9c238e3275
MD5 0ca58886c5c1aca8c0c473f132210369
BLAKE2b-256 51281dfbfb04ae5e91a8fba3921675222f3258a5170e9a3eae2c2d36e3d4bf70

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