comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <alejandro@mosteo.com>
Subject: Direct control of NXT mindstorms
Date: Fri, 08 Jan 2010 12:22:33 +0100
Date: 2010-01-08T12:22:33+01:00	[thread overview]
Message-ID: <7qoirqFcnkU1@mid.individual.net> (raw)

Hi people,

I'm studying the options for Ada direct control of a NXT brick from an 
external computer using the USB connection (as opposed to flashing a new 
firmware, which is the way that GNAT for Mindstorms does). After looking for 
what's available out there I've come to the following options:

a) Pure Ada library, would require binding to libusb.
b) Binding to some of the other libraries out there. I couldn't find a C/C++ 
one that has USB implemented, so next good candidate seems Python or OCaml.
c) Completing the libnxtc (the one in C) with the missing USB bits.

Probably the less work is b) or c), and then bind to it from Ada if wanted. 
Anyway, just for the sake of completeness, I'd like to ask the group for any 
related experiences or missing bits. More precisely:

p) I'm missing some approach in the above?
q) Are there any Ada bindings to libusb already? Not according to my 
googling, and only some early efforts in old threads that didn't get 
reported here afterwards.
r) Experiences in binding to Python/OCaml? I guess a C glue layer is the 
way?

Kind regards,

Alex.



             reply	other threads:[~2010-01-08 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 11:22 Alex R. Mosteo [this message]
2010-01-08 12:38 ` Direct control of NXT mindstorms Jeffrey Creem
2010-01-08 17:30   ` Alex R. Mosteo
2010-01-08 17:47     ` Alex R. Mosteo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox