http://libre.adacore.com/libre/tools/mindstorms/
I'm really pleased to see that the work I undertook at AdaCore as intern has
now been made available for everyone! During 4 months in 2008 I worked
porting the GNAT toolchain to the NXT platform thus making Ada available for
the LEGO MINDSTORMS NXT robots :)
I hope you have fun playing with it!
--
Piotr Piwko
http://www.embedded-engineering.pl/
Cool video! ;-)
This thing looks really nice.
Cheers,
Marc
Not normally. Sounds like it got caught in the spam blocker someplace.
My son signed up on Friday I think and had the activation email in a few
minutes.
I was pretty excited to get him going on this but it is still pretty raw
and not quite ready for prime time. Still I think it is good to get it
out there early.
Install process is a bit confusing and I don't quite understand all of
the actual prerequisites. The direct link to on file in nxtOSEK makes
you think that is all you need (perhaps it is) but nxtOSEK itself has a
rather a number of prerequisites that you may or may not also need.
The documentation talks about going to the examples directory and doing
a make but the AdaCore Mindstorms install (while somewhat complete in
that it bundles GPS and the compiler in one installer) does not include
make.
I fear that if you are using Vista you will be out of luck given the
current limitations with the nxtOSEK USB driver...Or maybe not. there
are several options for that OS but it is not really clear if you have
to use the one that requires libUSB with the AdaCore stuff.
I'd really be interested in hearing if anyone gets this going who has
not already spent a lot of time with nxtOSEK. Looks like a good first
effort to build on. Hopefully the effort is not wasted because a new
mindstorms is coming out in the fall. It would be a shame if the new
mindstorms obsoleted all of this before it ever got working in a
semi-turnkey manner.
I agree. Let us know if you do not receive the confirmation mail.
>
> I was pretty excited to get him going on this but it is still pretty raw
> and not quite ready for prime time. Still I think it is good to get it
> out there early.
>
> Install process is a bit confusing and I don't quite understand all of
> the actual prerequisites. The direct link to on file in nxtOSEK makes
> you think that is all you need (perhaps it is) but nxtOSEK itself has a
> rather a number of prerequisites that you may or may not also need.
> The documentation talks about going to the examples directory and doing
> a make but the AdaCore Mindstorms install (while somewhat complete in
> that it bundles GPS and the compiler in one installer) does not include
> make.
I suggest to have a look at the root README file you see in the
download page.
It contains all required information.
> I'd really be interested in hearing if anyone gets this going who has
> not already spent a lot of time with nxtOSEK. Looks like a good first
> effort to build on. Hopefully the effort is not wasted because a new
> mindstorms is coming out in the fall. It would be a shame if the new
> mindstorms obsoleted all of this before it ever got working in a
> semi-turnkey manner.
We tested it with interns (not the one who contributed to the
release ;-) ) and
the installation process, while not completely automated, seemed
reasonable.
I am also investigating on the spec of NXT 2.0.
Cheers Marc
I have to say though, that the README file that Matteo refers to
is slightly parsimonious. It should mention, that you ought to
have cygwin running on your windows machine together with the libusb
library.
You might want to follow
http://lejos-osek.sourceforge.net/installation.htm
this helps also for GNAT.
Headscratcher: I can only compile using MinGW (Cygwin doesn't find the
cross gnatmake during "make" though it has no problems to find it
otherwise)
but I need Cygwin to download the stuff to the brick.
Nothing out of order though.
Now back to the end-of-term-frenzy. I hope to have more time for my
new toy in
a couple of days...
Cheers,
Marc
@Mehdi: to use GNAT for Mindstorms, you should get the basic set from
Lego.
This information is part of the installation of nxtOSEK, as you say
down here.
It is however a good suggestion to improve our documentation.
>
> You might want to followhttp://lejos-osek.sourceforge.net/installation.htm
> this helps also for GNAT.
>
> Headscratcher: I can only compile using MinGW (Cygwin doesn't find the
> cross gnatmake during "make" though it has no problems to find it
> otherwise)
> but I need Cygwin to download the stuff to the brick.
> Nothing out of order though.
Did you follow the instructions at share/doc/mindstorms/README, as
cited in the root README file?
In particular: did you modified tool_gcc.mak and copied it in the
appropriate nxtOSEK folder?
Hi Matteo,
Unless I put in a typo somewhere, I followed the instructions.
My assumption is, that I have some confusion in the PATH variable, so
that cygwin has trouble finding the compiler. I'll sort it out as soon
as I have a little more leisure time ;-)
Regards,
Marc
Yep, it seems some cygwin-driven trouble - which means it would also
be difficult to reproduce,
but will try anyway. Let me know if you sort out the problem.
Thanks for your feedback.