|
| 1 | +--- |
| 2 | +author: [ "@freezed-or-frozen" ] # your GitHub user name |
| 3 | +programming_language: "Golang" # The programming language used in this project |
| 4 | +project_homepage_url: "https://github.com/freezed-or-frozen/lego-workshop" # Homepage for this project |
| 5 | +source_code_url: "https://github.com/freezed-or-frozen/lego-workshop" # Provide a link to your code |
| 6 | +--- |
| 7 | + |
| 8 | +## What ? |
| 9 | + |
| 10 | +**LEGO Workshop** is a web IDE to develop Python program for the Lego Mindstorm EV3 robot. |
| 11 | + |
| 12 | + |
| 13 | +## Why ? |
| 14 | + |
| 15 | +Because as a teacher I need a tool that allow multiple students to work remotely (wifi) with one robot. During Python class around 20 students work with 10 robots thanks to a Raspberry PI converted in a Wifi router. |
| 16 | +Before this solution I used to work with ipython, but it is too slow regarding EV3 performances. |
| 17 | + |
| 18 | + |
| 19 | +## Is there a screenhot ? |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +## What I can find inside ? |
| 24 | +Lego workshop is composed of two parts : |
| 25 | + * **server side** written in Golang to start and stop Python scripts remotely |
| 26 | + * **client side** written in HTML, CSS, Javascript to edit Python code |
| 27 | +Both communicates with websockets over a wifi link. |
| 28 | + |
| 29 | + |
| 30 | +## What can I do ? |
| 31 | + - [x] edit Python code in a web page (lines number, color syntax) |
| 32 | + - [x] execute Python code remotely |
| 33 | + - [x] stop execution |
| 34 | + - [X] init robot state after stopping execution (motors...) |
| 35 | + - [x] tell every clients about robot's state (execution, clients connected) |
| 36 | + - [ ] add an help page with code example and documentation |
| 37 | + |
| 38 | + |
| 39 | +# How to install ? |
| 40 | +Steps : |
| 41 | + 1. download the github repository |
| 42 | + 2. copy the repository inside the robot (with scp) |
| 43 | + 3. start the server from brickman, file manager, start_lego-workshop.sh |
| 44 | + 4. go to http://1.2.3.4:1337 with your web broser |
| 45 | + 5. enjoy ! |
| 46 | + |
| 47 | + |
| 48 | +## Who ? |
| 49 | +- **Your name:** David SALLE (@freezed-or-frozen) |
| 50 | +- **Location:** France, Niort, Saint-André highschool |
| 51 | +- **Feedback:** visit the github project repository |
0 commit comments