Hi David,

The preliminary I2CSensor support (and Ultrasonic) for 0.4 had some bugs. 
It's fixed up for iCommand 0.5 which isn't released yet.

- Brian

----- Original Message ----- 
From: "David Schlangen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, October 23, 2006 3:02 PM
Subject: [Lejos-discussion] iCommand: sensors don't seem to work?


> Dear iCommand developers,
>
> I've now managed to get communication with the NXT brick to work (on
> my Mac, see previous message). Querying basic information like
> firmware no and brickname and even controlling the motors appears to
> work; however, I don't seem to be able to get to the sensors.
>
> This is what DistanceTest gives me (and any other attempt to use the
> UltraSonicSensor methods):
>
> NXTCOMM = /dev/tty.NXT-DevB-1
> Experimental:  JNI_OnLoad called.
> Stable Library
> =========================================
> Native lib Version = RXTX-2.1-7
> Java lib Version   = RXTX-2.1-7
> NXTCommand.LSGetStatus() Error Number 32
> Version: I2C Bus Error
> NXTCommand.LSGetStatus() Error Number 32
> Product ID:
> NXTCommand.LSGetStatus() Error Number 32
> Sensor Type: I2C Bus Error
> NXTCommand.LSGetStatus() Error Number 32
> Measurement Interval: 114
> NXTCommand.LSGetStatus() Error Number 32
> Error in I2CSensor.getValue(). Returning 0.
> Distance: 0
> NXTCommand.LSGetStatus() Error Number 32
> Factory scale factor: 255
> NXTCommand.LSGetStatus() Error Number 32
> Error in I2CSensor.getValue(). Returning 0.
> Factory scale divisor: 0
>
> Any ideas what this might mean?
>
> Cheers,
> David.
>
> -------------------------------------------------------------------------
> 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
> 


-------------------------------------------------------------------------
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