File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ async def move(
4747 technique allows for planning and moving the frame itself to the ``destination``. To do so, simply create a resource name with
4848 originating ReferenceFrame's name. Then pass in the resource name into ``component_name``. Ex::
4949
50- resource_name = Arm .get_resource_name("externalFrame")
50+ resource_name = Gripper .get_resource_name("externalFrame")
5151 success = await MotionServiceClient.move(resource_name, ...)
5252
5353 ::
@@ -347,11 +347,11 @@ async def get_pose(
347347
348348 ::
349349
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).
352352
353353 # Create a `component_name`:
354- component_name = Arm .get_resource_name("arm ")
354+ component_name = Gripper .get_resource_name("my_gripper ")
355355
356356 from viam.components.gripper import Gripper
357357 from viam.services.motion import MotionClient
You can’t perform that action at this time.
0 commit comments