New answers tagged ev3
Data logging is one of the things you are paying extra for when you purchase the Education software. Data logging is turned off in the Home version frimware and there is no means to configure data logging using the Home version software. The firmware is open source, so technically, you could download it, figure out how to build it and turn on the data ...
You may try to use the color sensor in RGB mode using a 3rd party block found here: http://mindcuber.com/mindcub3r/mindcub3r.html#ColorSensorRGBBlock With this block you get a set of three 0-255 values, one for each R G B color. It will still be tricky to correctly classify the color of your objects as the readings are noisy - you can try to set ranges to ...
You Can't EV3 Port view is a simple program 'downloaded as application. It can only use certain original sensors. You would have to make your own program. If you want it in the same section, you can use an option called 'download as application'.
The color sensor works pretty well as long as the object is about 1 1/2- 2 modules from the object. The sensing is best when the object is flat. The object is large enough to be fully contained within the "spotlight" that the sensor emits. As long as this is true, it doesn't really matter what the background color is. Another thing to consider is that ...
A temporary fix I found that works: using the provided "gray blobs", there is one named "PBRStringAtIndex" (or something like that) which will indeed compile (EV3 only). This does not address the similar "write at index" issue, and the output is a "byte" (presumably ASCII), not text. (I will update this answer as I find out more.)
The command that you are looking for is setMotorTarget as shown in the documentation here. Essentially, you need to set the target rotation for the motor in degrees and then wait for the movement to take place: //Sets motorA target to 50 degrees at a speed of 100 setMotorTarget(motorA, 50, 100); // Waits for movement to complete ...
You can do this with parallel programs and a logic variable. You will need 3 loops, one for each sensor and one for the motor. In the sensor loops, wait for the touch sensor to be pressed and then set a logic variable to true. In the motor loop, have a switch block that tests the logic variable. If it is true, reverse and turn around and then set the logic ...
Try this on for size: Here's an exploded view. http://www.brickshelf.com/gallery/ToaofTech/EV3LinearActuator/2015-03-29_11.18.53.jpg This should be compact, robust, let you change gear ratios (so you can get more speed or more torque; the linear actuators are very slow for most applications.), and mount to your system quite well. Cheers!
Top 50 recent answers are included