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
I know this has been discussed before, but I think it's worth revisiting.
WPILib is planning to switch to struct publishing for Field2d (see wpilibsuite/allwpilib#6453), so we've agreed to deprecate the double array formats in AdvantageScope this year. It will display a warning when they are used, and you need to manually select the data type and units. The lack of type and unit safety on the double array means that it's very easy for users to use incorrectly, and we continue to see a significant number of support requests for AdvantageScope related to those problems (despite a modern alternative existing).
Adding struct support for these widgets in Elastic doesn't even have to mean full struct decoding (or support for struct descriptors at all). Since the data types are known ahead of time, you just need to read a raw value from NT and pulling out the components at a known offset.
The text was updated successfully, but these errors were encountered:
I know this has been discussed before, but I think it's worth revisiting.
WPILib is planning to switch to struct publishing for Field2d (see wpilibsuite/allwpilib#6453), so we've agreed to deprecate the double array formats in AdvantageScope this year. It will display a warning when they are used, and you need to manually select the data type and units. The lack of type and unit safety on the double array means that it's very easy for users to use incorrectly, and we continue to see a significant number of support requests for AdvantageScope related to those problems (despite a modern alternative existing).
Adding struct support for these widgets in Elastic doesn't even have to mean full struct decoding (or support for struct descriptors at all). Since the data types are known ahead of time, you just need to read a raw value from NT and pulling out the components at a known offset.
The text was updated successfully, but these errors were encountered: