Mars-RS Documentation
A powerful WebAssembly-based robotics simulation and path planning tool for VEX competitions. Design autonomous routines, test movement algorithms, and visualize robot behavior in real-time.
Quick Start
Get Mars-RS running in minutes with these simple steps.
Build the WebAssembly binary
wasm32-unknown-unknown target installed. Run rustup target add wasm32-unknown-unknown if needed.Serve the application
index.html in a local web server. You can use Python’s built-in server:http://localhost:8000 in your browser.Start simulating
Expected Interface
Expected Interface
- A purple checkered VEX field
- A red robot that you can control
- Mode indicators showing “driver”, “auton”, or “create”
- Buttons for switching modes
Key Features
Everything you need to plan and test autonomous robot routines.
Advanced Movement Algorithms
Interactive Path Editor
Real-Time Simulation
Driver Control
VEX Field Rendering
WebAssembly Performance
Explore by Topic
Deep dive into the concepts and APIs that power Mars-RS.
PID Control
Learn how proportional-integral-derivative controllers enable precise robot positioning and smooth movement profiles.
Pure Pursuit Algorithm
Discover how Pure Pursuit path following creates smooth trajectories by targeting lookahead points along your path.
Robot API
Explore the Robot struct that manages position, heading, rendering, and motion with differential drive kinematics.
Movement Functions
Reference for all movement algorithms including pidMTP, boomerang, followPath, and Pure Pursuit implementations.
Ready to simulate?
Start building and testing autonomous routines for your VEX robot. Mars-RS makes path planning intuitive and accurate.
Get Started Now