mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Windows CI: make vcpkg download compatible with draft release (#1727)
* Windows CI: make vcpkg download compatible with draft release * forcing nvdia driver dll to be ignored in fixup_bundle * disabling opencv cudec and python * disabling rtabmap-console --version on cuda build * Added assert when bad imu data is provided. Added checks when zed sdk is returning nan imu data. * Updated zed sdk5 resolution and quality * Updated zed sdk5 resolution and quality * Fixing parameters reloaded when testing camera. Also fixed app freezing when closing Preferences dialog after using test camera dialog * cleanup and debug logs * Added dialogs when starting/stopping sensors/detection. Fixed nullptr bug on MainWindow::handleEvents * renamed * found a way to expose ZED model downloads * Updated default config path on Windows * Fixed extra endline in file logging (windows) * Fixed camera local transform when used with lidar and odomSensor * CI(macos): build g2o from source with OpenMP (libomp include/link fix) * Mac: added ceres dep, fixed omp not found by cmake * Mac: bundle orbbec extensions * stripping rpath of orbbec's extensions * cleanup * Realsense2 error as error (not warning) * Fixed config ownership changed to root when sarting in sudo. LidarVLP16: fixed crash on Mac by reimplementing our own socket threading * LidarVLP16: own socket implementation only for Mac (linux and windows use original PCL's reader)
This commit is contained in:
@@ -139,10 +139,13 @@ protected:
|
||||
fileToClear.close();
|
||||
}
|
||||
|
||||
// Open in binary mode: the log formatter already emits "\r\n" line endings explicitly.
|
||||
// On Windows, text mode ("a") would translate the "\n" of that "\r\n" into "\r\n" again,
|
||||
// producing "\r\r\n" on disk - i.e. an extra blank line between entries.
|
||||
#ifdef _MSC_VER
|
||||
fopen_s(&fout_, fileName_.c_str(), "a");
|
||||
fopen_s(&fout_, fileName_.c_str(), "ab");
|
||||
#else
|
||||
fout_ = fopen(fileName_.c_str(), "a");
|
||||
fout_ = fopen(fileName_.c_str(), "ab");
|
||||
#endif
|
||||
|
||||
if(!fout_) {
|
||||
|
||||
Reference in New Issue
Block a user