(points)
| 488 | """Insert extra poses at the start and end of the path.""" |
| 489 | |
| 490 | def average_distance(points): |
| 491 | distances = np.linalg.norm(points[1:] - points[0:-1], axis=-1) |
| 492 | return np.mean(distances) |
| 493 | |
| 494 | def shift(pose, dz): |
| 495 | result = np.copy(pose) |
no outgoing calls
no test coverage detected