Updated error message when SBA is done on multicam setup.

This commit is contained in:
matlabbe
2020-05-26 11:04:23 -04:00
parent 208f1e5b7c
commit 0902ccc340
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -489,6 +489,13 @@ std::map<int, Transform> Optimizer::optimizeBA(
model.localTransform(), model.localTransform(),
-signatures.at(iter->first).sensorData().stereoCameraModel().baseline()*model.fx()); -signatures.at(iter->first).sensorData().stereoCameraModel().baseline()*model.fx());
} }
else if(signatures.at(iter->first).sensorData().cameraModels().size() > 1)
{
UERROR("Multi-cameras (%d) is not supported (id=%d).",
signatures.at(iter->first).sensorData().cameraModels().size(),
iter->first);
return std::map<int, Transform>();
}
else else
{ {
UERROR("Missing calibration for node %d", iter->first); UERROR("Missing calibration for node %d", iter->first);
+1 -1
View File
@@ -337,7 +337,7 @@
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="text"> <property name="text">
<string>Note: Post-processing only affects visualization in the GUI and the export actions. To actually push those optimizations to the database, use Database Viewer tool (Tools-&gt;Edit database...).</string> <string>Note: Post-processing only affects visualization in the GUI and the export actions. To actually push those optimizations to the database, use Database Viewer tool (Tools-&gt;Edit database...). You can do Edit-&gt;Download graph to revert the changes afterwards.</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>