You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above line of code is used to convert the typestring of a NT entry into that of a DataLog entry. It converts the "int" typestring to "int64", but not "int[]" to "int64[]". This means that NT's auto-datalogging will log to a given path with a type "int[]", while an IntegerArrayLogEntry will log with "int64[]". This is a type mismatch and leads to the logging being ignored if it does not match the typestring used when first logging to the path.
The text was updated successfully, but these errors were encountered:
https://github.com/wpilibsuite/allwpilib/blob/ba9c21cf3889014655d2baee61340449cb1fff05/ntcore/src/main/native/cpp/LocalStorage.cpp#L51C25-L51C25
The above line of code is used to convert the typestring of a NT entry into that of a DataLog entry. It converts the "int" typestring to "int64", but not "int[]" to "int64[]". This means that NT's auto-datalogging will log to a given path with a type "int[]", while an IntegerArrayLogEntry will log with "int64[]". This is a type mismatch and leads to the logging being ignored if it does not match the typestring used when first logging to the path.
The text was updated successfully, but these errors were encountered: