Closed AndrewEdmonds11 closed 10 years ago
It's stripped out in the SetCoarseTimeOffset function, not the getter. I didn't experience this issue because I just left it as a default value instead of actually putting no_time_shift=false into the config file.
So you can either strip it:
return fCoarseTimeOffset.at(IDs::source(StrupFunction(src.str())));
or remove it from the modules file. Either of these are temporary fixes.
remove it from the modules file
I was just about to say that this works.
One other problem is that there is no coarse time offset in the calibration DB for muSc which is also causing a crash. What should I do?
Put in zeros. For now just have a branch in the getter like if is muSc, then return 0, else return ...
. I'll put in the zeros later.
Cheers, John. That worked.
When I set the no_time_offset option to false in production.cfg, there is a map::at std::out_of_range exception thrown. I don't understand why because it looks like the no_time_offset option is stripped out of the source.
Here's the backtrace:
and this is frame 3:
Any ideas?