vscode-ev3dev-browser icon indicating copy to clipboard operation
vscode-ev3dev-browser copied to clipboard

Integrated EV3 Robot Simulator View

Open bpmerkel opened this issue 5 years ago • 0 comments

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.

bpmerkel avatar Sep 22 '19 15:09 bpmerkel