Success!  I have completed step 1 of my robotic world domination plan!

I now have a laptop with Eclipse and leJOS installed, which can control my newly-flashed Lego Mindstorms NXT brick!

The tutorial is actually really easy to follow.  I used Linux, which required me to manually set the control brick into 'firmware updating mode', but that was a piece of cake.

Setting up Eclipse was also fairly straightforward, following the instructions here.

The only gotchas I encountered were:
- Setting up udev rules to allow me to access the control brick via USB.  Solution: After creating the rules file, remember to add yourself to the 'lego' group and restart the PC!

- Connection to control brick kept failing in 'PC' mode.  I could upload a program and run it from a 'leJOS NXT project', but not have the PC run an application that remote controls the brick.  Solution: Needed to install it onto a 32bit OS (thankfully I had a laptop which fit the bill).  My 64bit OS didn't seem to like playing ball, even when I tried running it in a 32bit JVM.

I got a fair way correcting the second issue, but I stumbled at rebuilding the leJOS native libraries as 32bit.  There's probably an ant switch somewhere that would have fixed it, but I ran out of patience.

So now, I can proceed to step 2 of the plan: figuring out what step 3 should be...

Comments

Popular posts from this blog

Micro:Bit and SPI display

DCS World with TrackIR under Ubuntu

Cardboard Mock-up of USB Joystick