|
| 1 | +--- |
| 2 | +# Fill out as many of these as you can, and delete the rest. |
| 3 | +# Text on a line after a "#" is a comment and is ignored for the published page. |
| 4 | + |
| 5 | +author: [ "@peprolinbot" ] # your GitHub user name |
| 6 | +# or make a list if there is more than one author |
| 7 | +# author: [ "@person1", "@person2", "person without GitHub account" ] |
| 8 | + |
| 9 | +programming_language: "Python" # The programming language used in this project |
| 10 | + |
| 11 | +thumbnail_override: "/images/projects/2018-08-14-EV3D4-ssh-control/my-image.png" # If you don't have a YouTube video (or the video thumbnail isn't good) you can uncomment this line to set your own image for the project. |
| 12 | + |
| 13 | +project_homepage_url: "https://github.com/peprolinbot/EV3D4-ssh_control" # Homepage for this project |
| 14 | +source_code_url: "https://github.com/peprolinbot/EV3D4-ssh_control" # Provide a link to your code |
| 15 | +building_instructions_url: "https://www.lego.com/r/www/r/mindstorms/-/media/franchises/mindstorms%202014/downloads/bi/ev3d4.pdf?l.r2=1665046395" # how to build the model out of LEGO (*not* how to build the source code) |
| 16 | + |
| 17 | +excerpt: "This is a Lego EV3 R2D2 copy(EV3D4) remote controll via ssh using your computer's keyboard. It's like playing a game!" # A short summary of your project. This can be a sentence or a paragraph, but it's recommended to keep it under 3 sentences. |
| 18 | +--- |
| 19 | + |
| 20 | +## Build |
| 21 | + |
| 22 | +First you nedd to build the EV3D4, or other, but the project is based on that model that is on the [EV3's webpage](https://www.lego.com/es-es/mindstorms/build-a-robot/ev3d4) |
| 23 | + |
| 24 | +## Installl |
| 25 | + |
| 26 | +Then of build your robot, you need to install the program: |
| 27 | + |
| 28 | + 1. First connect via ssh to your robot, here is a [tutorial](https://www.ev3dev.org/docs/tutorials/connecting-to-ev3dev-with-ssh/) |
| 29 | + 2. Then, clone the repository: `git clone https://github.com/peprolinbot/EV3D4-ssh_control` |
| 30 | + 3. Go into the directory you recently downloaded:`cd EV3D4-ssh_control` |
| 31 | + 4. Run the script, `pyhton3 conbot.py`,and wait for it says *"LOG"* |
| 32 | + |
| 33 | + Here you have the function of all the keys(this list is thinked for view from back or from a camera, like a mobile phone): |
| 34 | + |
| 35 | +|KEY|FUNCTION| |
| 36 | +|--|--| |
| 37 | +|w|Go forward| |
| 38 | +|s|Go back| |
| 39 | +| a| Turn left| |
| 40 | +|d| Turn right| |
| 41 | +| g | Move head to left | |
| 42 | +| h | Move head to right | |
| 43 | +|Space bar|Stop all motors| |
| 44 | +|m|Play StarWars imperial march| |
| 45 | +|q|Quit the program| |
| 46 | + |
| 47 | + 5. For run the next time repeat the steps 1,3, and 4 |
| 48 | + |
| 49 | +- **My name is:** Pedro Rey Anca |
| 50 | +- **Feedback:** https://github.com/peprolinbot/EV3D4-ssh_control/issues |
0 commit comments