-
Notifications
You must be signed in to change notification settings - Fork 616
Open
Labels
APIv2.5Features/Changes for near term API changeFeatures/Changes for near term API changeenhancementNew feature or requestNew feature or request
Description
At the moment there is no way for a sensor to fail gracefully. But in the presence of noisy lines it would be useful to check the CRC data returned by many sensors, and return no angle value if it was not received correctly.
A possible solution:
- sensors can return NaN when they can't receive the angle
- the sensor base class checks for NaN and doesn't update its internal state in this case
As a bonus, it would be good to track the number of CRC errors so user code can check on the performance of the sensor.
Metadata
Metadata
Assignees
Labels
APIv2.5Features/Changes for near term API changeFeatures/Changes for near term API changeenhancementNew feature or requestNew feature or request