A C#/.NET 8.0 console application that emulates SlimeVR-compatible trackers for development, testing, and integration purposes.
- Emulates multiple trackers and sensors
- Sends random quaternion rotation data to a SlimeVR server
- Implements SlimeVR UDP protocol handshake and packet types
- Command-line arguments for tracker and sensor count
- Retry logic for server discovery
- Retry covnnecting to server after a lost connection
- Emulate acceleration data
- Replay saved data from real trackers for testing
dotnet build
dotnet run -- [trackerCount] [sensorsPerTracker]
trackerCount(optional, default: 10): Number of trackers to emulatesensorsPerTracker(optional, default: 1): Number of sensors per tracker
Example:
dotnet run -- 5 2
src/- All source code filesSomaticVR-TrackerEmulator.csproj- Project fileLICENSE-MIT.txt,LICENSE-APACHE.txt- License files
This project is dual-licensed under the MIT or Apache 2.0 License, at your option.
Copyright (c) 2025 Somatic VR, LLC