Skip to content

Commit c4b4b6e

Browse files
committed
Corrected positive angle description in rodAngleToXYZ function.
1 parent b7b2bae commit c4b4b6e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tutorial2bobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@
217217
def rodAngleToXYZ(ang):
218218
"""
219219
Calculates xyz coordinates of the rod end point given rotation ang in
220-
radians measured clockwise positive from -y axis (refer to pictogram
221-
of double pendulum system presented above).
220+
radians measured counterclockwise positive from -y axis (refer to the
221+
pictogram of double pendulum system presented above).
222222
"""
223223
xyz = (ROD_LENGTH*sin(ang), -ROD_LENGTH*cos(ang), 0.0)
224224
return xyz

tutorial2x.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@
203203
def rodAngleToXYZ(ang):
204204
"""
205205
Calculates xyz coordinates of the rod end point given rotation ang in
206-
radians measured clockwise positive from -y axis (refer to pictogram
207-
of double pendulum system presented above).
206+
radians measured counterclockwise positive from -y axis (refer to the
207+
pictogram of double pendulum system presented above).
208208
"""
209209
xyz = (ROD_LENGTH*sin(ang), -ROD_LENGTH*cos(ang), 0.0)
210210
return xyz

0 commit comments

Comments
 (0)