//
you're reading...
How-to's

HTTYR: The EV3Control Motors tab

ev3control

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:

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.

 

Advertisements

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

About leJOS News

leJOS News keeps you up-to-date with leJOS. It features latest news, explains cool features, shows advanced techniques and highlights amazing projects. Be sure to subscribe to leJOS News and never miss an article again. Best of all, subscription is free!
Follow leJOS News on WordPress.com
%d bloggers like this: