add CameraSeerSense to guilib

This commit is contained in:
Borong Yuan
2024-05-30 16:55:37 +08:00
parent ce0c806d75
commit 0ad1d0ad69
9 changed files with 146 additions and 77 deletions
+10
View File
@@ -65,6 +65,7 @@ void showUsage()
" 13=MYNT EYE S\n"
" 14=ZED Open Capture\n"
" 15=depthai-core\n"
" 16=XVSDK (SeerSense)\n"
" Options:\n"
" -rate #.# Input rate Hz (default 0=inf)\n"
" -device # Device ID (number or string)\n"
@@ -334,6 +335,15 @@ int main(int argc, char * argv[])
}
camera = new rtabmap::CameraDepthAI(deviceId);
}
else if (driver == 16)
{
if (!rtabmap::CameraSeerSense::available())
{
UERROR("Not built with XVisio SDK support...");
exit(-1);
}
camera = new rtabmap::CameraSeerSense();
}
else
{
UFATAL("");