You have to import the color sensor class and instantiate a color sensor object. To access its commands, type the color sensor name followed by a dot. A list of commands you can call with that object should show up. An alternative route is to look up the java ftc documentation for the color sensor.
It is a Modern Robotics color sensor. modernroboticsinc.com/color-sensor If you have a REV Expansion hub you could use a REV color sensor www.revrobotics.com/REV-31-1154/
@@deadcloud2450 Yes. Instead of looking for a particular hue, you want to look for a relatively high Value and low Saturation as this indicates white. See ruclips.net/video/iQufRF1HFRc/видео.html
See ruclips.net/video/nSUTOUKN9Js/видео.html for info on using the color sensor with the FTC version of App Inventor. The standard App Inventor 2 does not support FTC robotics.
What is the value of black color to put in the core
what is the public url to run the same tool in my machine
how do i do this in java? (i'm using android studios)
wish i knew...
You have to import the color sensor class and instantiate a color sensor object. To access its commands, type the color sensor name followed by a dot. A list of commands you can call with that object should show up. An alternative route is to look up the java ftc documentation for the color sensor.
is there a way I could do this using white instead of blue ?
what type of color sensor is this?
It is a Modern Robotics color sensor. modernroboticsinc.com/color-sensor If you have a REV Expansion hub you could use a REV color sensor www.revrobotics.com/REV-31-1154/
@@BruceSchaferORTOP
is there a way I could do this using white instead of blue ?
@@deadcloud2450 Yes. Instead of looking for a particular hue, you want to look for a relatively high Value and low Saturation as this indicates white. See ruclips.net/video/iQufRF1HFRc/видео.html
How would I do this using the phones camera
how do I program a color sensor on App inventor 2
And how can I reprogram it so it can push the blue or red one and to pick up one of the brown and gray cubes?
See ruclips.net/video/nSUTOUKN9Js/видео.html for info on using the color sensor with the FTC version of App Inventor. The standard App Inventor 2 does not support FTC robotics.
I made like this code but its working on all colors
madafaka prowshi gidevt es blokebi tooo
First
*you're