REVrobotics / CANBridge

Generic CAN Bridge emulating FRC netcomm CAN driver for connecting a PC to the CAN Bus with WPILib 2020+ and SPARK MAX (FW 1.5.0 or higher) or other drivers, currently only supported in Windows.
Other
11 stars 5 forks source link

Allow multiple messages to be scheduled with the same ID if the interval is set to 0 #30

Closed LandryNorris closed 2 months ago

LandryNorris commented 2 months ago

Our current contract for the interval is as follows:

A caller that provides 0 multiple times can reasonably assume that every message is sent, but this was not the case previously. Only one message could be scheduled at a time with a given ID.

NoahAndrews commented 2 months ago

Nice find!

LandryNorris commented 2 months ago

May fix https://github.com/REVrobotics/REV-Hardware-Client/issues/779.