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 / 26934
26933  |  26935
Subject: 
Re: NXT on Linux.
Newsgroups: 
lugnet.robotics
Date: 
Tue, 6 Mar 2007 15:39:54 GMT
Reply-To: 
DANNY@ORIONROBOTS.spamcakeCO.UK
Viewed: 
4035 times
  
On 06/03/07, GiP <lego-robotics@crynwr.com> wrote:
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

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 gear
together (and this goes for all and *any* Lego people needing to host
Robotics or Technic content, like images blogs and articles) register
on orionrobots.co.uk, let me know and I will sort it out. I only ask
that any "hotlinking" to images or downloads also have an
accreditation link back to orionrobots.

Cheers,
Danny
--
Danny Staple MBCS
OrionRobots
http://orionrobots.co.uk/blogs/dannystaple
(Full contact details available through website)



Message is in Reply To:
  NXT on Linux.
 
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 (...) (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