This post is part of a series on how to train your robot.
leJOS EV3 includes the EV3Control tool that allows you to control your EV3, including controlling the motors.
You can start EV3Control from the leJOS EV3 menu in Eclipse, if you have installed the leJOS EV3 plugin. Otherwise, you can start it by typing ev3control in a console or terminal window,
To connect to your EV3, press the Search button and your EV3 should be shown. Select the relevant row of the table and press connect. If you have more than one IP address for your robot (e.g. a Bluetooth and a Wifi one), select the one you want to use.
Select the Motors tab to control the motors:
If you now select the ports that your differential drive motors are connected to, you can now use the Forward, Backward, Turn Left and Turn Right buttons to drive your robot around. Check the reverse box if your robot goes backwards when the corresponding motor goes forward.
Hold the buttons down to drive, and release the to stop.
EV3Control uses Java RMI to send remote method requests to the leJOS EV3 Menu program.