vexide-simulator-protocol

Crates.iovexide-simulator-protocol
lib.rsvexide-simulator-protocol
version0.2.0
sourcesrc
created_at2024-05-27 21:39:54.736529
updated_at2024-06-08 03:40:48.745588
descriptionJSON-based protocol enabling communication between VEX robot simulators and user-facing frontends
homepagehttps://vexide.dev
repositoryhttps://github.com/vexide/simulator-protocol
max_upload_size
id1253802
size16,331
(doinkythederp)

documentation

README

Vexide Simulator Protocol

The Vexide Simulator Protocol enables communication between VEX robot simulators and user-facing frontends using a JSON-based protocol.

The code executor and frontend communicate over a stream in newline-delimited JSON format.

The backend sends Events which represent a change in simulator state. These are used by the frontend to correctly display the state of the simulated program.

The frontend sends Commands to the code executor to control the robot code environment, simulating changes in robot hardware (like controller input and LCD touch events) or competition phase.

The full protocol is documented at https://internals.vexide.dev/simulators/protocol.

Commit count: 29

cargo fmt