Fixing prior and gravity constraints support for SBA with orbslam dep… (#1683)

* Fixing prior and gravity constraints support for SBA with orbslam dependency

* Updated an error log msg
This commit is contained in:
matlabbe
2026-04-05 12:36:54 -07:00
committed by GitHub
parent 1ea8fa2e06
commit 8fd701aabe
7 changed files with 188 additions and 124 deletions
+8 -1
View File
@@ -430,7 +430,14 @@ Transform OdometryORBSLAM3::computeTransform(
(data.stereoCameraModels().size() == 1 &&
data.stereoCameraModels()[0].isValidForProjection())))
{
UERROR("Invalid camera model!");
if(data.cameraModels().size() > 1 || data.stereoCameraModels().size() > 1)
{
UERROR("Multi-camera not supported with ORB_SLAM integration!");
}
else
{
UERROR("Invalid camera model!");
}
return t;
}