Separate forbidden ground from body collision and retain capture phase
This commit is contained in:
@@ -130,9 +130,11 @@ class TerrainObservation:
|
||||
detected = self.detections.without_ground(candidates,
|
||||
self.semantics.permitted_terrain(ground, time.monotonic()))
|
||||
points = self.detections.overlay(points, detected)
|
||||
collision = points.copy()
|
||||
points, forbidden = self.semantics.apply(points, time.monotonic())
|
||||
search, _ = self.support_obstacles.apply(points, pose=pose, monitor=self.monitor)
|
||||
return dict(terrain=points, search_terrain=search, physical_terrain=physical, detected=detected,
|
||||
return dict(terrain=points, collision_terrain=collision, search_terrain=search,
|
||||
physical_terrain=physical, detected=detected,
|
||||
permitted_terrain=(self.semantics.permitted_terrain(points, time.monotonic())
|
||||
if request.get("route_transition_target") is not None else None),
|
||||
current_points=current,
|
||||
|
||||
Reference in New Issue
Block a user