pros-simulator-server 0.5.1

Line-delimited JSON server for pros-simulator
pros-simulator-server-0.5.1 is not a library.

PROS Simulator Server

Stream newline-delimited JSON events from pros-simulator with a standalone binary

Maintenance MIT License Crates.io

This crate is unmaintained and deprecated and only ever supported PROS programs written in Rust. You should consider using vexide (a Rust framework with built-in simulation capabilities) or vex-v5-qemu (which supports simulating PROS programs written in C++).

Installation

cargo add pros-simulator-server

Overview

This is a standalone server for the VEX V5 robot simulator crate pros-simulator. It outputs newline-delimited JSON events about what is happening in the simulator.

$ pros-simulator-server my_program_using_pros_api.wasm --stdio
"RobotCodeLoading"
"RobotCodeStarting"
"LcdInitialized"
{"LcdUpdated":["","","","","","","","Hello from simulator!"]}
{"LcdUpdated":["","","","","","","Hello from simulator!","Hello from simulator!"]}
{"LcdUpdated":["","","","","","","Hello from simulator!","Goodbye from simulator!"]}
"RobotCodeFinished"