File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ async def move(
47
47
technique allows for planning and moving the frame itself to the ``destination``. To do so, simply create a resource name with
48
48
originating ReferenceFrame's name. Then pass in the resource name into ``component_name``. Ex::
49
49
50
- resource_name = Arm .get_resource_name("externalFrame")
50
+ resource_name = Gripper .get_resource_name("externalFrame")
51
51
success = await MotionServiceClient.move(resource_name, ...)
52
52
53
53
::
@@ -347,11 +347,11 @@ async def get_pose(
347
347
348
348
::
349
349
350
- # Note that the example uses the ``Arm `` class, but any component class that inherits from ``ComponentBase`` will work
351
- # (``Base ``, ``Gripper ``, etc).
350
+ # Note that the example uses the ``Gripper `` class, but any component class that inherits from ``ComponentBase`` will work
351
+ # (``Arm ``, ``Base ``, etc).
352
352
353
353
# Create a `component_name`:
354
- component_name = Arm .get_resource_name("arm ")
354
+ component_name = Gripper .get_resource_name("my_gripper ")
355
355
356
356
from viam.components.gripper import Gripper
357
357
from viam.services.motion import MotionClient
You can’t perform that action at this time.
0 commit comments