Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e79fa3

Browse filesBrowse files
committed
fixed issue#56
1 parent d7eb1b2 commit 0e79fa3
Copy full SHA for 0e79fa3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎spatialmath/pose3d.py

Copy file name to clipboardExpand all lines: spatialmath/pose3d.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ def Rand(cls, N=1, xrange=(-1, 1), yrange=(-1, 1), zrange=(-1, 1)): # pylint: d
12051205
"""
12061206
X = np.random.uniform(low=xrange[0], high=xrange[1], size=N) # random values in the range
12071207
Y = np.random.uniform(low=yrange[0], high=yrange[1], size=N) # random values in the range
1208-
Z = np.random.uniform(low=yrange[0], high=zrange[1], size=N) # random values in the range
1208+
Z = np.random.uniform(low=zrange[0], high=zrange[1], size=N) # random values in the range
12091209
R = SO3.Rand(N=N)
12101210
return cls([base.transl(x, y, z) @ base.r2t(r.A) for (x, y, z, r) in zip(X, Y, Z, R)], check=False)
12111211

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.