JM9 XRCU Board 0.1.0
Libraries API Reference
Loading...
Searching...
No Matches
rgbc_t Struct Reference

An RGBC color. More...

#include <Color_sensor.h>

Public Attributes

uint32_t c
 32-bit CLEAR component in RGBC [0 : 65536].
 
uint32_t r
 32-bit RED component in RGBC.
 
uint32_t g
 32-bit GREEN component in RGBC.
 
uint32_t b
 32-bit BLUE component in RGBC.
 

Detailed Description

An RGBC color.

A color represented by the RGBC model.
R - Red channel
G - Green channel
B - Blue channel
C - Clear channel (no color filters applied, i.e. grayscale channel)

Note
DISCLAIMER:
The hardware of this sensor is not provided by Journey Maker 9 Systems.
Performance and stability could not be guaranteed to JM9 competition standards.
Consult hardware distributor before using this sensor in critical competitions.
Author
YH Choi @ JM9
See also
Color_sensor::get_rgbc()

Member Data Documentation

◆ c

uint32_t rgbc_t::c

32-bit CLEAR component in RGBC [0 : 65536].

No color filters are applied when sampling this component. Behaves like a grayscale component.


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