The RMF Site Editor

The RMF Site Editor is an experimental approach to visualizing and editing large RMF deployment sites. It is built in Rust using Bevy, an open-source Rust-based game engine.
Rust and Bevy allow The RMF Site Editor to target both desktop (Windows/Linux/Mac) and web (WebAssembly+WebGL/WebGPU) using the same codebase:
- Web build: the browser application provides maximum convenience, since there is nothing to build or install.
- Desktop build: maximum performance, thanks to multithreading and lower-level GPU integration.
Click here to use the web build in your browser.
Helpful Links
Install dependencies (Ubuntu 20.04)
We need a newer Rust than what comes with Ubuntu 20.04.
First make sure you don't have any distro-installed Rust stuff on your machine:
If you don't have it already, install rustup from the Rust website: https://www.rust-lang.org/tools/install
|
Just select the normal defaults (option 1). A bunch of stuff will happen. Be sure to close and re-open your terminal afterwards, so that it gets all the new stuff.
Alternatively, if you already have a Rust installation managed by rustup, you can just do this to bring it up-to-date: rustup update
Finally, we need some library packages:
Install dependencies (Windows 11)
Make sure you install rust from the main rust website. Cargo should take care of the rest of the magic for you.
⚠️ Note: If you are building inside of a Windows Subsystem for Linux (WSL) environment, you should follow the Ubuntu instructions. We do not have build instructions for other choices of Linux distros inside of WSL.
Install extra dependencies for WebAssembly
These are only needed if you're going to build a WebAssembly binary:
# binaryen version >= 110 required for a bug fix for wasm-opt
# Refer to https://github.com/emilk/egui/pull/6848
Build and Run (Desktop)
Currently tested on Ubuntu 20.04.4 LTS and windows 11.
From the root directory:
Use the --features bevy/dynamic_linking flag to improve compile time through dynamic linking.
Use the --release flag for better runtime performance.
Build and Run (WebAssembly)
TODO: The web assembly version is highly experimental, currently it lacks important features like saving/loading of map files.
Then use your favorite web browser to visit http://localhost:1234