From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Direct control of NXT mindstorms Followup-To: comp.lang.ada Date: Fri, 08 Jan 2010 12:22:33 +0100 Message-ID: <7qoirqFcnkU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: individual.net aea1C8LaK/MA5s1Nwz+WNAOTnmY1va88XhtbwD/5QkxR9SFCQ= Cancel-Lock: sha1:hlGiaRTyxC28XwRjaql0xmTBvF0= User-Agent: KNode/4.4 pre Xref: g2news1.google.com comp.lang.ada:8669 Date: 2010-01-08T12:22:33+01:00 List-Id: 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.