Skip to content

Fix multiply_timestamps console tools - #625

Merged
JanuszBedkowski merged 5 commits into
MapsHD:mainfrom
capCafu:fix-multiply-timestamps
Nov 8, 2026
Merged

JanuszBedkowski merged 5 commits into
MapsHD:mainfrom
capCafu:fix-multiply-timestamps

Conversation

@capCafu

@capCafu capCafu commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

multiply_timestamps_session_point_cloud_laz set every timestamp to 0: it read the multiplier from argv[2], which is the output file name.

  • Read the multiplier from argv[3].
  • exportLaz() writes timestamps as seconds × 1e9, but the tool reads raw gps_time, so the output was off by an extra 1e9. It now divides by 1e9 first, so the output is input × multiplier, the same as the trajectory tool.
  • multiply_timestamps_session_trajectory_csv didn't multiply 13-column rows (14- and 17-column rows were fine).
  • Smaller fixes: the save error names the output file, and the LASzip reader is destroyed after loading.

@JanuszBedkowski
JanuszBedkowski merged commit c2b2469 into MapsHD:main Nov 8, 2026
7 checks passed
@capCafu
capCafu deleted the fix-multiply-timestamps branch November 8, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants