MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / callback

Function callback

benchmark/models/loger/utils/viser_utils.py:142–145  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

140 if original_callback is None:
141 @slider.on_update
142 def callback(_):
143 t = int(max(0, min(slider.value, len(smoothed_target_positions) - 1)))
144 for client in server.get_clients().values():
145 update_camera_for_target(client, t)
146
147 original_callback = callback
148

Callers 4

todeviceFunction · 0.85
todeviceFunction · 0.85
todeviceFunction · 0.85
todeviceFunction · 0.85

Calls 3

update_camera_for_targetFunction · 0.85
set_visibilityFunction · 0.85
refresh_pointcloudsFunction · 0.85

Tested by

no test coverage detected