exclude max range points
@@ -259,9 +259,11 @@ class PoseGraph:
def scanxy(self, i):
range, theta = self.scan(i)
+ range = np.where(range < self._maxrange, range, np.nan)
x = range * np.cos(theta)
y = range * np.sin(theta)
+
return np.c_[x, y].T
def plot_scan(self, n):
