New answers tagged ev3
I slid the Technic frame over an axle instead of a pin to see how far it would go. As shown in the picture below, it appears as if the part is too big to fit all the way because the rim (shown level with the red line) is too thick. LDD runs a basic collision detection to ensure that no parts overlap. In real life, certain combinations of parts are ...
Here is another pattern that watches more than one sensor. Instead of parallel code blocks setting a variable value, this code combines sensor outputs to feed a logic block which feeds a switch. No variable is used. Note that only the touched side of the switch statement is used. Not an important difference, I just find it easier to follow. The other ...
There is a modified Color sensor block available here. As of this writing, this is the most up-to-date direct link to download the block.
The MonoBrick C++ library that you linked if for NXT, not EV3. You can find the MonoBrick C# Library for EV3 here. It works with USB, Bluetooth and Wi-Fi and can manipulate files.
This is from page 87 of a document showing how to run NXT bricks using EV3-G software. It uses the light sensor, not color sensor. You'll want to set the mode of the color sensor. Inside a loop that will stop following a line if the left button on the brick is pressed. Basically, the steering value of the motors is taken from the light sensor reading.
The DIRECT_REPLY is sent when all of the operations in the DIRECT_COMMAND are completed. (Side note: you can have more than one operation in a direct command). So the better question might be "when does the motor rotation operation complete?". It completes immediately and moves to the next operation in the direct command. This is why you get a reply before ...
I have the same observation as you, it seems to be sent as soon as the brick receives the command. A workaround that I have found is to send a "stop motor" command after every movement, this way you know when the motor is stopped for sure. Out of curiosity, what library are you using? EDIT: Have you been capturing the packets that the EV3 sends back to ...
Top 50 recent answers are included