Command: |
RV.COLORINPUT.GRAY |
---|---|
Command Syntax: |
RV.COLORINPUT.GRAY |
Code |
Send("READ RV.COLORINPUT.GRAY") Get(G) |
Range: |
0 - 255 |
Describe: |
Detect grayness of surface. The result will be in 0-255 range.
|
Result: |
Returns an interpolated "grayscale" value based on 0.3*red + 0.59*green + 0.11*blue 0-black, 255 - white. |
Type or |
Sensor Note: This Rover sensor command is executed immediately. |