To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 58
     
   
Subject: 
LS Communications? and announcing ruby-nxt
Newsgroups: 
lugnet.robotics.nxt
Date: 
Mon, 7 Aug 2006 03:08:48 GMT
Viewed: 
11213 times
  

On page 10 of the Direct Commands.pdf, it talks about LS
communications on the NXT.  Does anyone know what LS communications
are?

Also, in case anyone is interested, I'm working on a ruby module for
communicating with the NXT via bluetooth.  It's pretty limited, but
you can see what I've done so far here:

http://juju.org/svn/public/ruby-nxt/trunk/

It makes programming the NXT as simple as:

require 'nxt.rb'

NXT.exec("/dev/tty.NXT-B") do |cmd|

  puts "Battery Level: #{cmd.GetBatteryLevel[0]/1000.0} V"

  cmd.PlaySoundFile(true,"Good Job.rso")
  sleep(3)
  cmd.StopSoundPlayback

end

   
         
   
Subject: 
Re: LS Communications? and announcing ruby-nxt
Newsgroups: 
lugnet.robotics.nxt
Date: 
Mon, 7 Aug 2006 08:54:01 GMT
Viewed: 
10486 times
  

In article <b74cdea0608062008n4087c3m5762e62186b73319@mail.gmail.com>,
Tony Buser <tbuser@gmail.com> wrote
On page 10 of the Direct Commands.pdf, it talks about LS
communications on the NXT.  Does anyone know what LS communications
are?

LS is presumably Low Speed, which appears to map to the I2C serial comms
on each sensor port, pp9 & 10 of the Hardware Dev Kit.

Rather than the "High Speed" (HDK p8) balanced line (RS485) comms only
available on port 1, which has no protocol or driver currently
implemented.  (One difficult bit is going to be assigning addresses.)

Also, in case anyone is interested, I'm working on a ruby module for
communicating with the NXT via bluetooth.

Sounds good.  :-)


Ttfn,
Tony N
--
  "If you don't know, invent." - Robert Baden-Powell

   
         
   
Subject: 
Re: LS Communications? and announcing ruby-nxt
Newsgroups: 
lugnet.robotics.nxt
Date: 
Mon, 7 Aug 2006 15:38:35 GMT
Viewed: 
10615 times
  

Oh, ok.  So the LS commands would be used to access things like the
compass from mindsensors?

On 8/7/06, Tony Naggs <tonynaggs@gmail.com> wrote:
Tony Buser <tbuser@gmail.com> wrote
On page 10 of the Direct Commands.pdf, it talks about LS
communications on the NXT.  Does anyone know what LS communications
are?

LS is presumably Low Speed, which appears to map to the I2C serial comms
on each sensor port, pp9 & 10 of the Hardware Dev Kit.

   
         
   
Subject: 
Re: LS Communications? and announcing ruby-nxt
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 8 Aug 2006 00:12:01 GMT
Viewed: 
10871 times
  

In article <b74cdea0608070838g473dab5dv7f8dc76e1c040f0d@mail.gmail.com>,
Tony Buser <tbuser@gmail.com> wrote
Oh, ok.  So the LS commands would be used to access things like the
compass from mindsensors?

Looks logical to me, both the LS commands and I2C bus transfer up to 16
bytes at a time.

I am glad you asked about the LS commands, I had just flipped the page
before and not bothered to read the description.  :-)

There are so many possible programs to start ...


Regards,
Tony N
--
  "If you don't know, invent." - Robert Baden-Powell

   
         
   
Subject: 
Re: LS Communications? and announcing ruby-nxt
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 8 Aug 2006 12:41:27 GMT
Viewed: 
11133 times
  

On 8/7/06, Tony Naggs <tonynaggs@gmail.com> wrote:
I am glad you asked about the LS commands, I had just flipped the page
before and not bothered to read the description.  :-)

The pdf docs are great, but having everything split up and in so many
files is making figuring things out a pain.  It would be nice if we
put it all into a wiki or something to link all the info together in
an easier to read format.  Maybe I'll start entering info into
http://www.nxt-mindstorms.com/wiki/Main_Page when I get the chance...

 

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