Andy is currently busy working on putting the motor regulation code into the linux kernel to make it work more reliably, and that will be in the next release.
This is an interim release with a lot of new features.
The way this release is installed is a lot different from the previous releases.
I have not started updating the Wiki yet. I thought I would put most of the instructions in this forum post first and then start updating the Wiki.
This release should work on Windows, Linux and Mac and anything else that can run a full Java system and Eclipse.
The only release file is sd.zip which contains one file, sd.img. It can be downloaded from http://sourceforge.net/projects/lejos/files/lejos-EV3/.
This file needs to be written to a 1Gb or larger micro SD card. On linux, you can do this with dd. On Windows, a good free utility is http://sourceforge.net/projects/win32diskimager/.
Using Win32DiskImager, you insert the micro SD card and make a note of the drive letter. You then select the drive and the image file in the GUI and press the Write button. Make very sure you select the correct drive.
Once the SD card has been written you need to copy the Oracle Java VM to it. This is downloaded from the usual place - http://www.oracle.com/technetwork/java/ ... 82511.html.
Just copy the .gz file to the SD card. The drive should be called LMS2012. The only other file on the drive is uImage. The rest of the files are in a linux filesystem, LMS2012_EXT, which is not visible on Windows.
When you have copied the Oracle file, safely remove the SD card and put it in the EV3, and start the EV3.
It will take two or three minutes to start the first time, as it copies and optimizes the Oracle VM. (Its not that much quicker on subsequent starts).
You should then see a menu on the screen that shows a passing resemblance to the NXT leJOS menu. You navigate between the menu screens using the left and right arrows and go back using the escape key. You select entries using the central enter key. The up and down keys are only used on keyboard screens. The menu is in need of various cosmetic improvements.
The menu should show the brick name (EV3 by default), the battery level and the IP addresses. The only current IP address should be 10.0.1.1. You can connect to this using USB or Bluetooth PAN.
If you have a Wifi dongle, the first thing you will need to do is configure Wifi. Make sure your dongle is inserted and navigate to the Wifi menu screen by pressing the right arrow multiple times.
When you press ENTER on the Wifi screen it should think for a while and then show you a list of access points. Select the SSID for your access point. You navigate through the list using he left and right arrows (not up and down). When you press ENTER with your SSID select you get a keyboard screen that lets you enter your password. Navigate to the keys using the up, down, left and right arrows and select a letter, number or punctuation using ENTER. The bottom line of the screen shows your password as you type it. The line above has some special characters: U select upper case letters, and l, lower case. x is used to delete the last character, and D means Done.
When you have entered your password, press D. You should see some messages on the screen as the wireless Lan is restarted. If all goes well, you will connect to your access point and you will see a second IP address on your screen. I am doing this as I type and it has just worked for me.
Programming the device is done from Eclipse, the same as for previous releases. There are some ant build files in the latest projects that use the ant scp task. If this is not already installed in your Eclipse system, you can get it it from the jsch project in sourceforge and install it in Windows>Preferences>Ant>RunTime>Ant Home Entries.
Currently you can use the HEAD versions of projects from Eclipse, but it will soon be better to use the 0.5.0-alpha tag as incompatible changes to projects may be made.
Let me know if this release works for you.
The leJOS API has changed a lot for this release. The package names are nearly all changed, so you may have to remove the import statements from your programs and get Eclipse to find he new ones.
There is a change in the driver classes for all the sensors. They now all support new SensorMode and SampleProvider interfaces for reading and processing sensor data in a consistent way. Until a new tutorial is written, you will need to look at the sample projects to see how these interfaces are used.
There are lots of new features in this release that are only partially tested:
- Bluetooth Serial comms
- Remote NXT comms
- Remote EV3 comms using Java RMI
- An ev3tools PC project
- Eclipse remote debugging
The menu includes the following features:
- Setting and running a default program
- Listing and running or debugging programs
- Listing and running sample programs
- Configuring Bluetooth
- Configuring Wifi
- Setting the sound volume and button sounds
- Various other system settings
- Showing the version
One of the system settings is changing the name of the EV3. This takes a while as it needs to reconfigure networking.
The menu also acts as a Java RMI server, a server to support remote console access and remote commands, and it sets the time from a configurable NTP server.
The PC tools are all currently run from Eclipse. They incllude:
- EV3Control which acts as an extended remote menu
- EV3Console and EV3ConsoleViewer which views System.out and System.err output from programs
If you run a program fro the menu or from the tools, you can abort it bty pressing ENTER +DOWN keys.
If you want to start programs from the command line, you can suspend the menu from the System menu and restart it by ENTER+DOWN.
If you don't want the menu at all you can remove it from /root/lejos/bin/startup.