Robot Core Documentation
Classes | Public Member Functions | List of all members
robotCore.ColorSensor Class Reference


class  Color
 Specifies a color as both RGB and HSV. More...

Public Member Functions

 ColorSensor (int max)
Color GetColor ()

Constructor & Destructor Documentation

◆ ColorSensor()

robotCore.ColorSensor.ColorSensor ( int  max)
max- Specifies the max values expected for the RGB values This is used in the conversion to HSV

Member Function Documentation

◆ GetColor()

Color robotCore.ColorSensor.GetColor ( )

Returns the current color

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