File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
velodyne_pointcloud/src/lib Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ Calibration::Calibration(const std::string & calibration_file)
235
235
std::ifstream fin (calibration_file.c_str ());
236
236
237
237
if (!fin.is_open ()) {
238
- throw std::runtime_error (" Failed to open calibration file" );
238
+ throw std::runtime_error (" Failed to open calibration file " + calibration_file );
239
239
}
240
240
241
241
try {
Original file line number Diff line number Diff line change @@ -329,6 +329,8 @@ void RawData::unpack(
329
329
if (timing_offsets_.size ()) {
330
330
time = timing_offsets_[i][j] + time_diff_start_to_this_packet;
331
331
}
332
+ else
333
+ time = time_diff_start_to_this_packet;
332
334
333
335
if (tmp.uint == 0 ) { // no valid laser beam return
334
336
// call to addPoint is still required since output could be organized
You can’t perform that action at this time.
0 commit comments