You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/configure/configure-rover.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ In the following, you can see two popular examples with components that are pres
54
54
55
55
The first component you will add is the [board](/operate/reference/components/board/) which represents the Raspberry Pi to which the other components are wired.
56
56
57
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
57
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
58
58
Select the `board` type, then select the `viam:raspberry-pi:rpi` model.
59
59
Enter `local` as the name and click **Create**.
60
60
You can use a different name but will then need to adjust the name in the following steps to the name you choose.
@@ -84,7 +84,7 @@ Start with the right encoder:
84
84
85
85
#### Right encoder
86
86
87
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
87
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
88
88
Select the `encoder` type, then select the `AMS-AS5048` model.
89
89
Enter `renc` as the name and click **Create**.
90
90
@@ -94,7 +94,7 @@ In the **i2c bus** field type `1`, and in the **i2c address** field type `65`.
94
94
95
95
#### Left encoder
96
96
97
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
97
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
98
98
Select the `encoder` type, then select the `AMS-AS5048` model.
99
99
Enter `lenc` as the name for your encoder and click **Create**.
100
100
@@ -157,7 +157,7 @@ Start with the right motor:
157
157
158
158
#### Right motor
159
159
160
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
160
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
161
161
Select the `motor` type, then select the `gpio` model.
162
162
Enter `right` as the name or use the suggested name for your motor and click **Create**.
163
163
@@ -176,7 +176,7 @@ Next, describe how the motor is wired to the Pi:
176
176
177
177
#### Left motor
178
178
179
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
179
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
180
180
Select the `motor` type, then select the `gpio` model.
181
181
Enter `left` as the name or use the suggested name for your motor and click **Create**.
182
182
@@ -244,7 +244,7 @@ Start with the right set of wheels.
244
244
245
245
#### Right motor
246
246
247
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
247
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
248
248
Select the `motor` type, then select the `gpio` model.
249
249
Enter `right` as the name or use the suggested name for your motor and click **Create**.
250
250
@@ -267,7 +267,7 @@ You can ignore the other optional attributes.
267
267
268
268
#### Left motor
269
269
270
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
270
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
271
271
Select the `motor` type, then select the `gpio` model.
272
272
Enter `left` as the name or use the suggested name for your motor and click **Create**.
273
273
@@ -336,7 +336,7 @@ Optionally, add a camera to your rover.
336
336
{{< tabs name="Configure a Webcam" >}}
337
337
{{% tab name="Config Builder" %}}
338
338
339
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
339
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
340
340
Select the `camera` type, then select the `webcam` model.
341
341
Enter a name or use the suggested name for your camera and click **Create**.
342
342
@@ -364,14 +364,14 @@ If this doesn't work when you test your camera later, you can try a different vi
364
364
365
365
If your rover has its camera mounted on a pair of [servos](/operate/reference/components/servo/), like the Yahboom rover, you can use these to control the pan and tilt of the camera.
366
366
367
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
367
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
368
368
Select the `servo` type, then select the `viam:raspberry-pi:pi-servo` model.
369
369
Enter `pan` as the name and click **Create**.
370
370
371
371
Set `Depends On` to `local`, and `pin` to the pin the servo is wired to (`23` for the Yahboom rover).
372
372
373
373
Finally, add the tilt `servo` as well.
374
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
374
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
375
375
Select the `servo` type, then select the `viam:raspberry-pi:pi-servo` model.
376
376
Enter `tilt` as the name and click **Create**.
377
377
@@ -394,7 +394,7 @@ If your rover is not supported out of the box, follow the [Create a Modular Reso
394
394
{{< tabs name="Configure a Wheeled Base" >}}
395
395
{{% tab name="Config Builder" %}}
396
396
397
-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
397
+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
398
398
Select the `base` type, then select the `wheeled` model.
399
399
Enter a name or use the suggested name for your base and click **Create**.
0 commit comments