mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-09 19:39:50 +08:00
Updated error message when SBA is done on multicam setup.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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->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->Edit database...). You can do Edit->Download graph to revert the changes afterwards.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|||||||
Reference in New Issue
Block a user