MCPcopy Create free account
hub / github.com/aevainc/aevascenes / initialize

Method initialize

aevascenes/visualizer/visualizer.py:138–146  ·  view source on GitHub ↗

Perform one-time scene setup and initialization. This method should be called once after creating the visualizer instance to set up static scene elements like the ground plane grid. It logs static entities that persist across all frames.

(self)

Source from the content-addressed store, hash-verified

136 def _camera_row(self) -> rrb.Horizontal:
137 return rrb.Horizontal(
138 rrb.Spatial2DView(origin="/front_wide_camera", name="front_wide_camera"),
139 rrb.Spatial2DView(origin="/front_narrow_camera", name="front_narrow_camera"),
140 rrb.Spatial2DView(origin="/right_camera", name="right_camera"),
141 rrb.Spatial2DView(origin="/rear_wide_camera", name="rear_wide_camera"),
142 rrb.Spatial2DView(origin="/rear_narrow_camera", name="rear_narrow_camera"),
143 rrb.Spatial2DView(origin="/left_camera", name="left_camera"),
144 column_shares=[1, 1, 1, 1, 1, 1],
145 )
146
147 def _lidar_view_contents(self, root: Optional[str] = None) -> List[str]:
148 """Entity query for lidar Spatial3DView — matches logged sensor paths."""
149 if root is not None:

Callers

nothing calls this directly

Calls 1

log_ground_line_stripMethod · 0.95

Tested by

no test coverage detected