MCPcopy Create free account
hub / github.com/Simple-Robotics/Simple / create_visualizer

Function create_visualizer

sandbox/viz_utils.py:380–390  ·  view source on GitHub ↗
(
    grid: bool = False, axes: bool = False, zmq_url="tcp://127.0.0.1:6000"
)

Source from the content-addressed store, hash-verified

378
379
380def create_visualizer(
381 grid: bool = False, axes: bool = False, zmq_url="tcp://127.0.0.1:6000"
382) -> meshcat.Visualizer:
383 vis = meshcat.Visualizer(zmq_url=zmq_url)
384 # vis = meshcat.Visualizer()
385 vis.delete()
386 if not grid:
387 vis["/Grid"].set_property("visible", False)
388 if not axes:
389 vis["/Axes"].set_property("visible", False)
390 return vis

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected