@@ -35,7 +35,7 @@ async def get_end_position(
35
35
** kwargs ,
36
36
) -> Pose :
37
37
"""
38
- Get the current position of the end of the arm expressed as a Pose.
38
+ Get the current position of the end of the arm expressed as a `` Pose`` .
39
39
40
40
::
41
41
@@ -45,7 +45,10 @@ async def get_end_position(
45
45
pos = await my_arm.get_end_position()
46
46
47
47
Returns:
48
- Pose: The location and orientation of the arm described as a Pose.
48
+ Pose: A representation of the arm’s current position as a 6 DOF (six degrees of freedom) pose.
49
+ The ``Pose`` is composed of values for location and orientation with respect to the origin.
50
+ Location is expressed as distance, which is represented by x, y, and z coordinate values.
51
+ Orientation is expressed as an orientation vector, which is represented by o_x, o_y, o_z, and theta values.
49
52
"""
50
53
...
51
54
@@ -72,7 +75,10 @@ async def move_to_position(
72
75
await my_arm.move_to_position(pose=examplePose)
73
76
74
77
Args:
75
- pose (Pose): The destination Pose for the arm.
78
+ pose (Pose): The destination ``Pose`` for the arm. The ``Pose`` is composed of values for location and orientation
79
+ with respect to the origin.
80
+ Location is expressed as distance, which is represented by x, y, and z coordinate values.
81
+ Orientation is expressed as an orientation vector, which is represented by o_x, o_y, o_z, and theta values.
76
82
"""
77
83
...
78
84
@@ -127,7 +133,9 @@ async def get_joint_positions(
127
133
pos = await my_arm.get_joint_positions()
128
134
129
135
Returns:
130
- JointPositions: The current JointPositions for the arm.
136
+ JointPositions: The current ``JointPositions`` for the arm.
137
+ ``JointPositions`` can have one attribute, ``values``, a list of joint positions with rotational values (degrees)
138
+ and translational values (mm).
131
139
"""
132
140
...
133
141
@@ -148,6 +156,7 @@ async def stop(
148
156
149
157
# Stop all motion of the arm. It is assumed that the arm stops immediately.
150
158
await my_arm.stop()
159
+
151
160
"""
152
161
...
153
162
@@ -193,7 +202,7 @@ async def get_kinematics(
193
202
194
203
Returns:
195
204
Tuple[KinematicsFileFormat.ValueType, bytes]: A tuple containing two values; the first [0] value represents the format of the
196
- file, either in URDF format or Viam's kinematic parameter format (spatial vector algebra), and the second [1] value
197
- represents the byte contents of the file.
205
+ file, either in URDF format or Viam's kinematic parameter format (spatial vector algebra), and the second [1] value
206
+ represents the byte contents of the file.
198
207
"""
199
208
...
0 commit comments