wpilibsuite/allwpilib
View on GitHubmockdata internal classes reset functions are inconsistently virtual
Open
#4,017 opened on Feb 10, 2022
good first issueos: simulationtype: fix
Repository metrics
- Stars
- (1,281 stars)
- PR merge metrics
- (PR metrics pending)
Description
For example:
- AccelerometerData is virtual
- AddressableLEDDataInternal is not
- Lots of other examples
... I don't think any of the mockdata objects are ever inherited from (nor are they intended to be?), so it's probably best to just remove all the virtual functions? @ThadHouse might be able to provide insight to your original intent for these?
Probably best to wait until 2023 to make this change in any case.