Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to remotely write code on the Romi #204

Open
TheTripleV opened this issue May 15, 2021 · 0 comments
Open

Add ability to remotely write code on the Romi #204

TheTripleV opened this issue May 15, 2021 · 0 comments

Comments

@TheTripleV
Copy link
Member

From Discord:

@PeterJohnson : what I would really like to see is a rPi-hosted solution for code+sim+joystick input to a browser so people could code Romi's from a chromebook
@TheTripleV : So a vscode server on the pi that chromebooks can connect to for a full dev experience?
@PeterJohnson : that would be the dream yes. with simgui via browser support too

A way to approach this:

  1. Install https://github.com/cdr/code-server and set it up to start on boot.
  2. Install the Wpilib extension and find a java/cpp extension that works
  3. Install xpra
  4. Modify the sim gradle task for romi so it launches as xpra start --html=on --start-child=SIM_COMMAND
  5. Create an html page that
    a. has an iframe of xpra's html page
    b. sends all data from the html5 gamepad api to the romi over ws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant