Hey all!
I am currently working on a LED control library, and I noticed that in other applications, the hue value runs from 0 to 360 to represent the whole cylinder. Meanwhile in WPILib, the hue value runs from [0, 180). Is there a technical reason for this? How does this translate to real HSV?
If you use a 0-180 scale where each DN is 2 degrees, you can fit the value in a uint8. If you wanted to go up to 360, you’d need a uint16. And, if you used a 0-255 scale to fully use the dynamic range of the uint8, you’d lose the easy conversion to angle.