sets/mindstorms-ev3/home-bonus: Update Robodoz3r.

* update robodoz3r README Update

* update robodoz3r readme

* update RoboDoz3r readme

* update Robodoz3r Readme

* update robodoz3r readme

* rename readme to index

* remove files
This commit is contained in:
Antoni Lương-Phạm Anh Quân
2021-05-18 14:01:39 +02:00
committed by GitHub
parent 99be9ff532
commit f7a1abaac7
2 changed files with 59 additions and 7 deletions
@@ -0,0 +1,59 @@
---
title: "LEGO® MINDSTORMS® EV3 Home Edition: Fan Robots: RoboDoz3r"
maintainer:
user: "TheVinhLuong102"
name: "The Lương-Phạm Family"
image:
local: "robodoz3r.jpeg"
credit: "LEGO"
video:
youtube: "_L64yXSTpos"
description:
"This robot bulldozer can be controlled using the IR Beacon or it can drive on its own, avoiding obstacles while clearing and pushing things with its bulldozer bucket."
building_instructions:
external: https://www.lego.com/cdn/product-assets/product.bi.additional.extra.pdf/31313_X_ROBODOZ3R.pdf
---
This program requires LEGO® MINDSTORMS® EV3 MicroPython v2.0 downloadable at https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3.
Control RoboDoz3r as follows:
- RoboDoz3r starts with the User-Controlled Mode. You can switch between the User-Controlled Mode and the Autonomous Mode by pressing the Touch Sensor.
- User-Controlled Mode:
- Drive RoboDoz3r around according to instructions from Channel 1 of the IR Remote Control:
- 2 Top/Up Buttons together: drive forward
- 2 Bottom/Down Buttons together: drive backward
- Top-Left/Red-Up and Bottom-Right/Blue-Down together: turn left on the spot
- Top-Right/Blue-Up and Bottom-Left/Red-Down together: turn right on the spot
- Top-Left/Red-Up: turn left forward
- Top-Right/Blue-Up: turn right forward
- Bottom-Left/Red-Down: turn left backward
- Bottom-Right/Blue-Down: turn right backward
- Use Channel 4 of the IR Remote Control to make RoboDoz3r raise the shovel by pressing either Up button, or lower the shovel by pressing either Down button
- Autonomous Mode: RoboDoz3r drives around on his own to clean up small things but avoids big obstacles by reversing and turning
The code for the `RoboDoz3r` class is in `robodoz3r.py` as follows:
{% include copy-code.html %}
```python
{% include_relative robodoz3r.py %}
```
`RoboDoz3r` uses a remote-controlled tank driving utility whose code is in `rc_tank_util.py` as follows:
{% include copy-code.html %}
```python
{% include_relative rc_tank_util.py %}
```
The code for the main program is in `main.py` as follows:
{% include copy-code.html %}
```python
{% include_relative main.py %}
```
@@ -1,7 +0,0 @@
---
title: "51515: Robot Inventor Official Fan Models"
image:
local: "exploration-rover/exploration-rover.jpg"
layout: set
description: "Add set description"
---