Displaying all 5 Articles

EV3 Programming

1. Open the EV3 programming environment and create a new program called MoveEV3. This simple EV3 program will do nothing but use a single  MOVE STEERING   block  to propel the robot forward one rotation.                                                                                                     Example EV3 Program Using a Move Block 2. In the simulator, click on the View menu and select "EV3" to access Intelligent Brick.                                                                               Opening the EV3 Intelligent Digital Brick                                                                                                                                                   Program running on digital EV3 block                                                                   Turn on the EV3 digital block by pressing the middle button. 3. In the LEGO EV3 programming environment, note that now on the wifi connections tab , our digital block is displayed. Click the download button to download our program to   the simulator.                                                                                                                                                 Connecting to EV3 simulator 4. In the simulation, digital Intelligent Brick should now have our EV3 program loaded. We can see it by visiting the Bricks File Browsing tab.                                                                                 Loading a program into EV3 block 5. Press the Play button to start the simulator, and then press the middle button on the EV3 block to run our program.                                                                         Starting the simulator, and then run the program out of brick digital EV3   6. The robot must advance one rotation. 7. When you are finished working with the project, disconnect the block from the EV3 programming environment .                                                                                                                          Disconnecting the EV3 Programming Environment Simulator

Command line switches

The following is a table of available switches that can be used, should you prefer to install the software from the Windows command line. Switch -q, quiet, -s, -silent silent install -passive progress bar only install -norestart suppress any restart -forcerestart restart no matter what -promptrestart prompt if a restart is required (default) -layout create a local image of the bootstrapper (i.e. download files so that  they can be burned to DVD) -l, log log to a specific file -uninstall uninstall -repair repare (or install if not installed) -package, -update install (default if no -uninstall or -repair)


If you happen to run into problems with getting your code to execute in the simulator, it could be because of one of the following reasons: 1. The simulator is not turned on, i.e. the Play button is not pressed. 2. There is a mismatch between the ports that are being specified in your code, and the ports that your simulated robot is using. To remedy this issue, follow these steps below:  Select the robot in the simulator  Open it’s Object Properties (a) Expand the (NXT) or (EV3) label (b) Observe the ports on the digital brick that are being used. (c) Open the LEGO programming environment, and check that what is being specified in your move and sensor blocks match with the simulated robot’s object properties.          Saving added attachments to the sample robot