feat: finalize corrected-route planning and Rerun recording review

This commit is contained in:
DCCONSTRUCTIONS
2026-09-22 10:10:03 +03:00
parent c804d89b18
commit 2e5d52521f
132 changed files with 14141 additions and 898 deletions
+8
View File
@@ -152,6 +152,7 @@ recorded_blueprint_sessions = RecordedBlueprintSessions[_RecordedBlueprintStream
def recorded_blueprint(
settings: RerunSceneSettings,
*,
display_point_bank: str | None = None,
include_initial_playback_state: bool = True,
active_view: RecordedView = "spatial",
view_reset_generation: Literal[0, 1] = 0,
@@ -238,6 +239,9 @@ def recorded_blueprint(
spatial_view = rrb.Spatial3DView(
origin="/world",
name="Мир · LiDAR и объекты" if unified_perception else "Пространственная сцена",
contents=["+ /world/**", "- /world/display_points/**"] + (
["- /world/points", f"+ /world/display_points/{display_point_bank}"]
if display_point_bank is not None else []),
background=[7, 8, 10, 255],
line_grid=rrb.LineGrid3D(
visible=settings.show_grid,
@@ -249,6 +253,8 @@ def recorded_blueprint(
# inherits the view's latest-at query and can never turn into an
# object-history trail when the operator widens the cloud window.
"/world/points": point_overrides,
**({f"/world/display_points/{display_point_bank}": point_overrides}
if display_point_bank is not None else {}),
"/world/costmap": rrb.EntityBehavior(visible=show_costmap),
"/world/trajectory": trajectory_overrides,
"/world/perception": rrb.EntityBehavior(visible=show_cuboids_3d),
@@ -429,6 +435,7 @@ def recorded_blueprint(
def recorded_blueprint_rrd(
settings: RerunSceneSettings,
*,
display_point_bank: str | None = None,
application_id: str = APPLICATION_ID,
recording_id: str,
blueprint_session_id: str | None = None,
@@ -458,6 +465,7 @@ def recorded_blueprint_rrd(
) -> rrb.Blueprint:
return recorded_blueprint(
settings,
display_point_bank=display_point_bank,
include_initial_playback_state=False,
active_view=active_view,
view_reset_generation=view_reset_generation,