CTRE Phoenix C++ 5.36.0-beta-1
Loading...
Searching...
No Matches
ctre::phoenix::HsvToRgb Class Reference

Class to convert Hue, Saturation, Value to Red, Green, Blue. More...

#include <ctre/phoenix/HsvToRgb.h>

Static Public Member Functions

static void Convert (double hDegrees, double S, double V, float *r, float *g, float *b)
 Converts HSV to RGB.
 

Detailed Description

Class to convert Hue, Saturation, Value to Red, Green, Blue.

Member Function Documentation

◆ Convert()

static void ctre::phoenix::HsvToRgb::Convert ( double hDegrees,
double S,
double V,
float * r,
float * g,
float * b )
static

Converts HSV to RGB.

Parameters
hDegreeshue value
Ssaturation value
Vvalue Lightness value
rpointer to red value
gpointer to green value
bpointer to blue value
Deprecated
The CANdle Phoenix 5 API is deprecated for removal in the 2027 season. Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API. A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.

The documentation for this class was generated from the following file: