We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a21af commit d3dd8deCopy full SHA for d3dd8de
roboticstoolbox/mobile/PoseGraph.py
@@ -259,9 +259,11 @@ def scan(self, i):
259
def scanxy(self, i):
260
261
range, theta = self.scan(i)
262
+ range = np.where(range < self._maxrange, range, np.nan)
263
x = range * np.cos(theta)
264
y = range * np.sin(theta)
265
266
+
267
return np.c_[x, y].T
268
269
def plot_scan(self, n):
0 commit comments