Skip to content

Commit 74642dd

Browse files
committed
applied fixes to robotics tutorial
1 parent 74dd38e commit 74642dd

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

docs/robotics/01_robot_mover.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The robot mover script:
2626

2727
## Running the Script
2828

29-
<Tabs groupId="language">
30-
<TabItem value="js" label="JavaScript" default>
29+
<Tabs groupId="run" className="shell-tabs">
30+
<TabItem value="js" label="Run (JS)" default>
3131

3232
```bash
3333
bun robot:mover
@@ -36,7 +36,7 @@ bun src/robot_mover.js
3636
```
3737

3838
</TabItem>
39-
<TabItem value="python" label="Python">
39+
<TabItem value="python" label="Run (Python)">
4040

4141
```bash
4242
uv run python src/robot_mover.py

docs/robotics/02_obstacle_avoider.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ The obstacle avoider:
2727

2828
## Running the Script
2929

30-
<Tabs groupId="language">
31-
<TabItem value="js" label="JavaScript" default>
30+
<Tabs groupId="run" className="shell-tabs">
31+
<TabItem value="js" label="Run (JS)" default>
3232

3333
```bash
3434
bun robot:obstacle
@@ -37,7 +37,7 @@ bun src/obstacle_avoider.js
3737
```
3838

3939
</TabItem>
40-
<TabItem value="python" label="Python">
40+
<TabItem value="python" label="Run (Python)">
4141

4242
```bash
4343
uv run python src/obstacle_avoider.py

docs/robotics/03_vision_yolo.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ The vision YOLO script:
2727

2828
### Additional Dependencies
2929

30-
<Tabs groupId="language">
31-
<TabItem value="js" label="JavaScript" default>
30+
<Tabs groupId="run" className="shell-tabs">
31+
<TabItem value="js" label="Run (JS)" default>
3232

3333
The JavaScript version uses ONNX Runtime for inference:
3434

@@ -38,7 +38,7 @@ bun install
3838
```
3939

4040
</TabItem>
41-
<TabItem value="python" label="Python">
41+
<TabItem value="python" label="Run (Python)">
4242

4343
```bash
4444
# Install vision dependencies
@@ -52,8 +52,8 @@ pip install ultralytics opencv-python numpy
5252

5353
## Running the Script
5454

55-
<Tabs groupId="language">
56-
<TabItem value="js" label="JavaScript" default>
55+
<Tabs groupId="run" className="shell-tabs">
56+
<TabItem value="js" label="Run (JS)" default>
5757

5858
```bash
5959
bun robot:vision
@@ -62,7 +62,7 @@ bun src/vision_yolo.js
6262
```
6363

6464
</TabItem>
65-
<TabItem value="python" label="Python">
65+
<TabItem value="python" label="Run (Python)">
6666

6767
```bash
6868
uv run python src/vision_yolo.py
@@ -430,15 +430,15 @@ def on_image(msg):
430430

431431
For simulation environments, `vision_colors.js` / color detection may work better since you can place distinctly colored objects in Gazebo:
432432

433-
<Tabs groupId="language">
434-
<TabItem value="js" label="JavaScript" default>
433+
<Tabs groupId="run" className="shell-tabs">
434+
<TabItem value="js" label="Run (JS)" default>
435435

436436
```bash
437437
bun robot:vision:colors
438438
```
439439

440440
</TabItem>
441-
<TabItem value="python" label="Python">
441+
<TabItem value="python" label="Run (Python)">
442442

443443
```bash
444444
# Implement HSV-based color detection

0 commit comments

Comments
 (0)