Hello All,

Sorry to ask another basic question, but has anyone had success using the
ultrasonic sensor in icommand on a Macintosh?  I can remote control the NXT
bot and use touch sensors just fine.  But I always get errors when I try to
use the ultrasonic sensor.  Using icommand 0.5 on OSX 1.4.6, when I run
distancetest (either from the command line or in Eclipse) from the sample
folder I get


Looking for 'icommand.properties' in working dir:
/Users/myles/Documents/workspace/DistanceTest
Looking for 'icommand.properties' in home dir: /Users/myles
NXTCOMM = /dev/tty.NXT_1
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
NXTCommand.LSGetStatus() error: Specified channel connection not configured
or busy
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
NXTCommand.LSGetStatus() error: Communications Bus Error
No bytes to be read in I2CSensor.getData(). Returning 0.
Version: 
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
Product ID: LEGO
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
Sensor Type: Sonar
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
Measurement Interval: 1
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
No bytes to be read in I2CSensor.getData(). Returning 0.
Distance: 0
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
Factory scale factor: 1
NXTCommand.LSGetStatus() error: Pending communication transaction in
progress
Factory scale divisor: 14
Experimental:  JNI_OnLoad called.


I believe I have followed the install instructions correctly (actually about
five times!).  And I do have the sensor plugged into the correct sensor
connection.   Any thoughts?

- Myles

-- 

Myles McNally
Professor of Computer Science
Alma College
Alma, MI 48801
989-463-7163


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to