Skip to content

Integrated EV3 Robot Simulator View #87

Description

@bpmerkel

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions