Skip to content

Commit e80a29a

Browse files
authored
Fix outdated "Component or service" menu references (#4878)
1 parent e319c52 commit e80a29a

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/operate/hello-world/first-project/part-4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ viam module upload --version 0.0.1 --platform linux/arm64 --upload module.tar.gz
209209

210210
1. In the Viam app, go to your machine's **Configure** tab
211211
2. Click **+** next to your machine part
212-
3. Select **Component or service**
212+
3. Select **Configuration block**
213213
4. Search for your model (for example, `your-namespace:inspection-module:inspector`)
214214
5. Name it `inspector-service`
215215
6. Click **Create**

docs/operate/hello-world/tutorial-desk-safari.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ There are different kinds of {{< glossary_tooltip term_id="resource" text="resou
118118
{{% tablestep %}}
119119
**Configure the webcam to use for the Desk Safari game.**
120120

121-
Click the **+** icon next to your machine part in the left-hand menu and select **Component or service**.
121+
Click the **+** icon next to your machine part in the left-hand menu and select **Configuration block**.
122122
Select the `camera` type, then select the `webcam` model.
123123
Use the default name `camera-1` for your camera and click **Create**.
124124

docs/tutorials/configure/configure-rover.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ In the following, you can see two popular examples with components that are pres
5454

5555
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.
5656

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**.
5858
Select the `board` type, then select the `viam:raspberry-pi:rpi` model.
5959
Enter `local` as the name and click **Create**.
6060
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:
8484

8585
#### Right encoder
8686

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**.
8888
Select the `encoder` type, then select the `AMS-AS5048` model.
8989
Enter `renc` as the name and click **Create**.
9090

@@ -94,7 +94,7 @@ In the **i2c bus** field type `1`, and in the **i2c address** field type `65`.
9494

9595
#### Left encoder
9696

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**.
9898
Select the `encoder` type, then select the `AMS-AS5048` model.
9999
Enter `lenc` as the name for your encoder and click **Create**.
100100

@@ -157,7 +157,7 @@ Start with the right motor:
157157

158158
#### Right motor
159159

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**.
161161
Select the `motor` type, then select the `gpio` model.
162162
Enter `right` as the name or use the suggested name for your motor and click **Create**.
163163

@@ -176,7 +176,7 @@ Next, describe how the motor is wired to the Pi:
176176

177177
#### Left motor
178178

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**.
180180
Select the `motor` type, then select the `gpio` model.
181181
Enter `left` as the name or use the suggested name for your motor and click **Create**.
182182

@@ -244,7 +244,7 @@ Start with the right set of wheels.
244244

245245
#### Right motor
246246

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**.
248248
Select the `motor` type, then select the `gpio` model.
249249
Enter `right` as the name or use the suggested name for your motor and click **Create**.
250250

@@ -267,7 +267,7 @@ You can ignore the other optional attributes.
267267

268268
#### Left motor
269269

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**.
271271
Select the `motor` type, then select the `gpio` model.
272272
Enter `left` as the name or use the suggested name for your motor and click **Create**.
273273

@@ -336,7 +336,7 @@ Optionally, add a camera to your rover.
336336
{{< tabs name="Configure a Webcam" >}}
337337
{{% tab name="Config Builder" %}}
338338

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**.
340340
Select the `camera` type, then select the `webcam` model.
341341
Enter a name or use the suggested name for your camera and click **Create**.
342342

@@ -364,14 +364,14 @@ If this doesn't work when you test your camera later, you can try a different vi
364364

365365
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.
366366

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**.
368368
Select the `servo` type, then select the `viam:raspberry-pi:pi-servo` model.
369369
Enter `pan` as the name and click **Create**.
370370

371371
Set `Depends On` to `local`, and `pin` to the pin the servo is wired to (`23` for the Yahboom rover).
372372

373373
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**.
375375
Select the `servo` type, then select the `viam:raspberry-pi:pi-servo` model.
376376
Enter `tilt` as the name and click **Create**.
377377

@@ -394,7 +394,7 @@ If your rover is not supported out of the box, follow the [Create a Modular Reso
394394
{{< tabs name="Configure a Wheeled Base" >}}
395395
{{% tab name="Config Builder" %}}
396396

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**.
398398
Select the `base` type, then select the `wheeled` model.
399399
Enter a name or use the suggested name for your base and click **Create**.
400400

0 commit comments

Comments
 (0)