To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 26933
26932  |  26934
Subject: 
NXT on Linux.
Newsgroups: 
lugnet.robotics
Date: 
Tue, 6 Mar 2007 14:38:30 GMT
Original-From: 
GiP <gianpiero.puccioni@isc.cnr[AvoidSpam].it>
Viewed: 
3877 times
  
Hi,

I just discovered this forum and I found a lot of interesting things....

I work on linux and I found that there is very little around on how to use
NXT with BlueTooth on Linux, so I started writing my own set of tools. I
have finished a first version of a Program to interact with NXT and a
library of functions to do various tasks.

The program is called (with not much creativity) NXT and the Help that tells
you what it can do is this:
-----------------------------------------------------------
Usage: NXT [-s | -a ADDR command] [-v]
        -a  ADDR     Connect with NXT at ADDR
                       required unless -s is used
                       or ADDR is in BTADDR Env Var
        -v           Be verbose
      and one command
        -i           Get info on NXT brick
        -l           List files on NXT brick
        -b           Get Battery Level
        -n  NAME     Set NXT name to NAME
        -w  FILE     Write FILE on NXT
        -W  FILE     Same as -w overwriting FILE if exists
        -r  FILE     Read FILE frome NXT and save it
        -d  FILE     Delete FILE frome NXT
        -p  FILE     Run Program FILE on NXT
        -k           Stop a program running on NXT
        -m  FILE     Play Sound File once
        -M  FILE     Play Sound File indefinitely
        -z           Stop Sound Playback

      or  -s         Scan for BT devices

    if more than one command is given only
    the last one is performed.
-------------------------------------------------------------

With this and the excellent NXC compiler by John Hansen I am having a lot of
fun with Linux and the NXT

If anyone is interested I can send it or put it somewhere here to be
downloaded (we are starting our own Web site about Lego but it's really in
the early stage).

Ciao,
GiP

--
View this message in context: http://www.nabble.com/NXT-on-Linux.-tf3355747.html#a9332636
Sent from the LEGO Robotics mailing list archive at Nabble.com.



Message has 2 Replies:
  Re: NXT on Linux.
 
(...) I really like this, and may give it a go. Please make it available somewhere... I take it the -s lists the BT devices in terms of addresses that can be used with the -a command? If you need somewhere to host the download while you get your (...) (18 years ago, 6-Mar-07, to lugnet.robotics)
  Re: NXT on Linux.
 
(...) Hello GiP, (...) I am very interested by your tool. if you can send it to me or put it somewhere on internet, it would be cool. thanks, JLB (18 years ago, 6-Mar-07, to lugnet.robotics)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR