Skip to content

Commit 3a14cee

Browse files
Cheng Pengmeta-codesync[bot]
authored andcommitted
{Feature} viewer: allow reset calibration for different profile streaming session
Summary: when streaming to the viewer, user can start and stop with different profiles which requires to reset calibration. Reviewed By: SeaOtocinclus Differential Revision: D85618123 fbshipit-source-id: dff093e3cd2ab8fbc96209abd0ddaef74270bafb
1 parent 0bf2c30 commit 3a14cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projectaria_tools/tools/aria_rerun_viewer/aria_data_plotter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ def set_slam_to_rgb_plotting_ratio(self):
278278

279279
def set_device_calibration(self, device_calibration):
280280
if self.device_calibration is not None:
281-
raise RuntimeError(
282-
"device_calibration is already set. Cannot set device_calibration again."
281+
print(
282+
"Warning: device_calibration is already set. Setting device_calibration again."
283283
)
284284
self.device_calibration = device_calibration
285285
self.sensor_labels = SensorLabels.from_device_version(

0 commit comments

Comments
 (0)