https://github.com/virtuald/halsim-websocket
Websocket extension for HALSIM
https://github.com/virtuald/halsim-websocket
Last synced: about 1 month ago
JSON representation
Websocket extension for HALSIM
- Host: GitHub
- URL: https://github.com/virtuald/halsim-websocket
- Owner: virtuald
- License: other
- Created: 2020-06-19T02:07:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T04:09:49.000Z (almost 6 years ago)
- Last Synced: 2025-01-26T11:08:59.165Z (over 1 year ago)
- Language: C++
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
halsim-websocket
================
Provides a websocket interface to the WPILib HAL. Start your robot with this
simulation extension enabled, and connect to http://localhost:8080 .
Environment variables:
* `HALSIMWEB_SYSROOT` - `/` directory of site, defaults to `$(pwd)/sim`
* `HALSIMWEB_USERROOT` - `/user` directory of site, defaults to `$(pwd)/sim/user`
install locally
---------------
./gradlew build publish
Add to your build.gradle
------------------------
```
repositories {
mavenLocal()
}
// Enable simulation gui support. Must check the box in vscode to enable support
// upon debugging
dependencies {
//simulation wpi.deps.sim.gui(, true)
simulation "edu.wpi.first.halsim:halsim_websocket-cpp:0.0.1:${wpi.platforms.desktop}debug@zip"
}
```
Demo
----
https://github.com/virtuald/halsim-websocket-demo
Credit
------
Dustin Spicuzza created this, heavily derived from the WPILib halsim-lowfi
sim extension created by Jaci Brunning.