mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
CameraRealSense2: added support for device id like D435, t265, L515, d435i, d415 for convenience (if we have multiple D435, we still need to use on of the serials shown in log info when starting the driver)
This commit is contained in:
@@ -5979,7 +5979,7 @@ Camera * PreferencesDialog::createCamera(
|
||||
else
|
||||
{
|
||||
camera = new CameraRealSense2(
|
||||
device.toStdString(),
|
||||
device.isEmpty()&&driver == kSrcStereoRealSense2?"T265":device.toStdString(),
|
||||
this->getGeneralInputRate(),
|
||||
this->getSourceLocalTransform());
|
||||
((CameraRealSense2*)camera)->publishInterIMU(_ui->checkbox_publishInterIMU->isChecked());
|
||||
|
||||
Reference in New Issue
Block a user