Skip to content

Conversation

@Pana1v
Copy link
Contributor

@Pana1v Pana1v commented Dec 14, 2025

Screenshot from 2025-12-14 22-50-36

Modified the CSV parser's ParseNumber function to recognize and parse hexadecimal values.

Test File
image

@facontidavide
Copy link
Owner

I will try to merge this soon. thanks

Pana1v pushed a commit to Pana1v/PlotJuggler that referenced this pull request Dec 25, 2025
Support hexadecimal timestamps in CSV files but only when the 0x prefix
is explicitly present. This avoids ambiguity with string labels like
'A' or 'B' that could be misinterpreted as hex values.

Addresses review feedback on facontidavide#1227 from @facontidavide
Pana1v pushed a commit to Pana1v/PlotJuggler that referenced this pull request Dec 25, 2025
Support hexadecimal values in CSV files when explicitly prefixed with 0x.
This avoids ambiguity with string labels like 'A' or 'B' which could
otherwise be misinterpreted as hex values.

- Add HEX type to ColumnType enum
- Detect 0x-prefixed values in DetectColumnType
- Parse hex values in ParseWithType

Addresses feedback from @facontidavide on facontidavide#1227
Support hexadecimal values in CSV files when explicitly prefixed with 0x.
This avoids ambiguity with string labels like 'A' or 'B' which could
otherwise be misinterpreted as hex values.

Addresses feedback from @facontidavide on facontidavide#1227
@Pana1v Pana1v force-pushed the panav/fix/timestamps branch from e3cfb5e to fb95b49 Compare December 25, 2025 07:33
@facontidavide
Copy link
Owner

merged, with some fix in formatting. thanks

jlab13 pushed a commit to jlab13/PlotJuggler that referenced this pull request Dec 30, 2025
Support hexadecimal values in CSV files when explicitly prefixed with 0x.
This avoids ambiguity with string labels like 'A' or 'B' which could
otherwise be misinterpreted as hex values.

Addresses feedback from @facontidavide on facontidavide#1227
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