mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-12 12:59:51 +08:00
Realsense2 error as error (not warning)
This commit is contained in:
@@ -561,10 +561,10 @@ bool CameraRealSense2::init(const std::string & calibrationFolder, const std::st
|
|||||||
catch(const rs2::error & error)
|
catch(const rs2::error & error)
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
UWARN("%s. Is the camera already used with another app? On macOS, accessing a "
|
UERROR("%s. Is the camera already used with another app? On macOS, accessing a "
|
||||||
"RealSense camera requires root privileges, so try running with sudo.", error.what());
|
"RealSense camera requires root privileges, so try running with sudo.", error.what());
|
||||||
#else
|
#else
|
||||||
UWARN("%s. Is the camera already used with another app?", error.what());
|
UERROR("%s. Is the camera already used with another app?", error.what());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user