You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: fCal Unexpectedly Closes When Using Spatial Calibration Toolbox #1210
I'm experiencing an issue where fCal unexpectedly closes whenever I attempt to use the Spatial Calibration toolbox. I’m not sure why this is happening, and I haven’t been able to identify any specific error messages leading up to the crash.
Moreover, I have not the opportunity to perform the spatial calibration because it says that "Phantom registration is not available"
Here’s a summary of my setup and the video showing the process:
fCal Version: PlusApp-2.9.0.20240906-Clarius-Win64
Operating System: Windows 11
|INFO|000.066000| Toolbox changed to Configuration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|054.484000| Connect to devices| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QConfigurationToolbox.cxx(158)
|INFO|054.527000| TrackerDevice: Local time offset: 103.834ms| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusDevice.cxx(1098)
|INFO|054.531000| Selected US image orientation: UN| in E:\D\PTNPCb\PlusLib\src\PlusDataCollection\vtkPlusDataSource.cxx(300)
|INFO|061.576000| ImageToProbe transform is absent, spatial calibration needs to be performed or imported.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QCapturingToolbox.cxx(214)
|INFO|061.578000| Sampling rate changed to 10 (matching requested frame rate is 30)| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QCapturingToolbox.cxx(593)
|INFO|061.582000| Sampling rate changed to 10 (matching requested frame rate is 20)| in E:\D\PTNPCb\PlusApp\fCal\PlusCaptureControlWidget.cxx(244)
|INFO|061.585000| Sampling rate changed to 10 (matching requested frame rate is 20)| in E:\D\PTNPCb\PlusApp\fCal\PlusCaptureControlWidget.cxx(244)
|INFO|061.585000| ImageToProbe transform is absent, spatial calibration needs to be performed or imported.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QCapturingToolbox.cxx(214)
|INFO|061.585000| Sampling rate changed to 10 (matching requested frame rate is 30)| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QCapturingToolbox.cxx(593)
|INFO|061.585000| Toolbox changed to Capturing| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|068.083000| Toolbox changed to Stylus calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|ERROR|071.572000| Unable to find required vtkPlusPhantomLinearObjectRegistrationAlgo element in device set configuration| in E:\D\PTNPCb\PlusLib\src\PlusCalibration\vtkPhantomLinearObjectRegistrationAlgo\vtkPlusPhantomLinearObjectRegistrationAlgo.cxx(321)
|WARNING|071.588000| Phantom plane definitions not found in XML tree. Perform Landmark Registration instead!| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(161)
|INFO|071.595000| Toolbox changed to Phantom registration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|071.595000| Less than 3 landmarks! Try again| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(1142)
|ERROR|071.597000| Unable to find required vtkPlusPhantomLinearObjectRegistrationAlgo element in device set configuration| in E:\D\PTNPCb\PlusLib\src\PlusCalibration\vtkPhantomLinearObjectRegistrationAlgo\vtkPlusPhantomLinearObjectRegistrationAlgo.cxx(321)
|WARNING|071.597000| Phantom plane definitions not found in XML tree. Perform Landmark Registration instead!| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(161)
|INFO|071.599000| Toolbox changed to Phantom registration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|071.599000| Less than 3 landmarks! Try again| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(1142)
|ERROR|071.601000| Unable to find required vtkPlusPhantomLinearObjectRegistrationAlgo element in device set configuration| in E:\D\PTNPCb\PlusLib\src\PlusCalibration\vtkPhantomLinearObjectRegistrationAlgo\vtkPlusPhantomLinearObjectRegistrationAlgo.cxx(321)
|WARNING|071.601000| Phantom plane definitions not found in XML tree. Perform Landmark Registration instead!| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(161)
|INFO|071.604000| Toolbox changed to Phantom registration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|071.604000| Less than 3 landmarks! Try again| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(1142)
|ERROR|071.606000| Unable to find required vtkPlusPhantomLinearObjectRegistrationAlgo element in device set configuration| in E:\D\PTNPCb\PlusLib\src\PlusCalibration\vtkPhantomLinearObjectRegistrationAlgo\vtkPlusPhantomLinearObjectRegistrationAlgo.cxx(321)
|WARNING|071.606000| Phantom plane definitions not found in XML tree. Perform Landmark Registration instead!| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(161)
|INFO|071.607000| Toolbox changed to Phantom registration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|077.868000| Less than 3 landmarks! Try again| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QPhantomRegistrationToolbox.cxx(1142)
|INFO|077.874000| Toolbox changed to Temporal calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|077.877000| Toolbox changed to Temporal calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|077.879000| Toolbox changed to Temporal calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|077.882000| Toolbox changed to Temporal calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|080.865000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.866000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.866000| Toolbox changed to Spatial calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|080.867000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.868000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.868000| Toolbox changed to Spatial calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|080.868000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.869000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.869000| Toolbox changed to Spatial calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
|INFO|080.870000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.870000| Phantom registration is not available: transform between Probe and Reference coordinate frames is missing. Either phantom registration has not performed yet or the ProbeCoordinateFrame, ReferenceCoordinateFrame, or PhantomCoordinateFrame attributes in the device set configuration file are not set correctly.| in E:\D\PTNPCb\PlusApp\fCal\Toolboxes\QSpatialCalibrationToolbox.cxx(290)
|INFO|080.871000| Toolbox changed to Spatial calibration| in E:\D\PTNPCb\PlusApp\fCal\fCalMainWindow.cxx(330)
I would recommend to use Probe as name of probe coordinate system: instead of changing Probe to Tool everywhere, you can just change the Id of the 8700339.rom to Probe.
Activity
jonortega77 commentedon Oct 31, 2024
log
XML config file:
config_file.txt
Please any guidance in this topic would be appreciated !
Thanks
jonortega77 commentedon Nov 5, 2024
I have been able to fix it making this changes that you can compare it with the already uploaded config file:
These changes have been done since I am using the "Tool" NDI marker which is specified in the device part of the config file (check screeshot):
lassoan commentedon Nov 5, 2024
I would recommend to use
Probeas name of probe coordinate system: instead of changingProbetoTooleverywhere, you can just change theIdof the8700339.romtoProbe.jonortega77 commentedon Nov 6, 2024
but still does not work as it is shown in the video #1211 .
Any suggestions that can help me with this?