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

Integrated EV3 Robot Simulator View #87

Open
bpmerkel opened this issue Sep 22, 2019 · 0 comments
Open

Integrated EV3 Robot Simulator View #87

bpmerkel opened this issue Sep 22, 2019 · 0 comments

Comments

@bpmerkel
Copy link

bpmerkel commented Sep 22, 2019

Is your feature request related to a problem? Please describe.
Not a current problem, but an enhancement request. Discovered in an EV3 Python workshop I instructed for the FIRST LEGO League CITY SHAPER season.

Describe the solution you'd like
Integrate @QuirkyCort's JS-based simulator as an extended View (see https://github.com/QuirkyCort/ev3dev-sim; see it live here https://www.aposteriori.com.sg/Ev3devSim/index.html). Replace his "editor" panel with fetching the code from the VS Code editor view. This way, can fully-integrate with GIT, share code, use linters, etc. Initially support Python (using Skulpt.org https://skulpt.org/ JS-based client-side Python interpreter.) The simulator should also support switchable "table mats". Would be nice to have a JSON-based "profile" where EV3 programmers can define their robot's configuration (dimensions, track, wheel size, motors, sensors, the mat to which their programs apply, et al.)

A simulator enables all FLL team members to learn programming, when not at a table, without a physical robot; and with GIT integration, enables version control and sharing code with other teammates and teams.

Describe alternatives you've considered
I forked @QuirkyCort's solution intent to re-implement in Angular as a browser SPA, along with GITHUB integration (API) and said "Wait, this is crazy! This should be a VS Code extension for all the other VS Code Python and EV3 goodness!"

Additional context
Like many other languages within VS Code that have "Preview" Views available (MarkDown extensions especially), I thought this integration would be a fantastic capability for EV3 DEVICE BROWSER, or perhaps a new extension altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants