feat: finalize corrected-route planning and Rerun recording review
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user