Fixing boundary condition for -O .bag
This commit is contained in:
parent
1c6be6a6ad
commit
3782b8552d
|
@ -298,7 +298,7 @@ void Recorder::updateFilenames() {
|
|||
ind = prefix.rfind(".bag");
|
||||
}
|
||||
|
||||
if (prefix.length() > 0)
|
||||
if (prefix.length() >= 0)
|
||||
parts.push_back(prefix);
|
||||
if (options_.append_date)
|
||||
parts.push_back(timeToStr(ros::WallTime::now()));
|
||||
|
|
Loading…
Reference in New Issue