: Is anyone using Java in their robots? Any ideas on where to start?
The Rossum Project has a number of robot programs in Java -
formatting link
However this is higher-level code, intended to be running on a back end PC doing planning, mapping, etc. There is also a simulator.
: article in Circuit Cellar really piqued my interest to get back into : robotics. Can anyone recommend a reasonably priced way to get into : robotics control using Java? I've looked at the JStamp from the : article but it's really pricy ($319 - $390 for dev starter kits). I : also looked at Imsys but that's way up there pricewise too. I would : love to use Java because it's what I know, and I can spend a lot less : time learning a new language and a lot more time on getting things : like motion control to work.
Not with Java, but I started this way -- wanting to use an old AT type motherboard because it was what I know. I think it's worth it to learn the correct tool, because in the end it makes life easier.
And, as you've seen, less expensive. A single Jstamp module seems to be at least $100, then you need a dev kit with it. Contrast that with, say an Atmel ATmega 16 for about $7.00. An STK-500 devel board is about $80 at Digikey, and there are cheaper programmers available.
Interesting that you mention that Circuit Cellar article -- I assume you mean the one in the latest issue that has a Java-based PID. Since you say you know Java -- did you find the example code easy to follow ? While I'm not a Java programmer, I do know OO from C++ and Perl, and I found it very difficult to follow what he was doing -- and I've been working on a similar PID method !
If you know C at all, try comparing it to the method Larry Barello uses here:
formatting link
. He has written his own real-time OS for the AVR. I was able to just about drop his Dilbert 2 code into my bot and have it work, just by adjusting the .h file parameters.
My C was quite rusty when I started this project, but I'm getting better.
All this is a round-about way of saying, don't pick the tool just because you know it.