🐛 Docs incorrectly state optical sensor methods aren't available #6
Labels
easy first contribution
recommended task for potential contributors wanting to dip their toes in
ready
this issue is ready to be worked on
Referring to purduesigbots/pros#624
Describe the bug
Certain methods on the optical sensor (such as
optical_get_hue
,optical_get_saturation
,optical_get_brightness
,optical_get_proximity
) claim that the methods are "not available" while gesture detection mode is enabled (interestingly, they never describe what's returned by these functions if the methods are called in this state).optical_get_saturation
:This is not available if gestures are being detected. Saturation has a range of 0 to 1.0
However, from testing on physical hardware, this claim seems to be incorrect. All RGBC-related functions work fine, even when gestures are being detected. My test procedure is outlined here.
To Reproduce
Expected behavior
Docs should not claim that these methods are inaccessible, and elaborate further on gesture detection mode.
Screenshots

Desktop (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: