SPIKE 樂高機器人

我的網頁

2009-05-24

leJOS NXT 0.8新版公布

leJOS有新的版本:leJOS NXT 0.8

同時也發表新的Version 0.8 of the leJOS NXJ Eclipse Plugin,可以直接由Eclipse的Update直接搜尋更新。

新版leJOS NXT 0.8的更新內容如下:

  • iCommand is dead! Long live iCommand. PC control is now included in pccomm.jar and the lejos.nxt.remote package (see pcsamples).
  • RS485 Support in lejos.nxt.comm
  • Faster bootup times
  • Fixed upload reliability problem with some NXT bricks (if it didn't work before it probably works now)
  • Support for RFID, RCX Rotation Sensor, and EOPD sensors.
  • Much larger support for Java 1.6 classes (including ArrayList) thanks to Sven Koehler
  • Support for Generics, Enum classes and foreach loops!
  • A fully working lejos.subsumption package
  • NXJControl utility for quick control of motors and sensors
  • Wider support in the lejos.navigation packages
  • javax.microedition.location for Bluetooth GPS
  • Lots of sample code in the 'samples' directory
比較特殊的有:

1. 不再有iCommand,PC控制NXT的部分已經納入leJOS。

(使用NXT原本的FW還是NXJ呢?)

2. 支援RS485

3. 支援RFID,RCX rotation sensor,EOPD感應器

有興趣的人請試試看!


1 則留言:

  1. 我想請問一下
    因為我用這一版的lejos
    當我要宣告一個地磁的sensor,compile之後他卻出現這樣的錯誤
    Dodge.java:9: cannot find symbol
    symbol  : class CompassSensor
    location: class Dodge
      CompassSensor compassSensor = new CompassSensor(SensorPort.S2);
      ^
    Dodge.java:9: cannot find symbol
    symbol  : class CompassSensor
    location: class Dodge
      CompassSensor compassSensor = new CompassSensor(SensorPort.S2);
                                        ^
    2 errors
     
    麻煩大大解答一下,謝謝
    [版主回覆06/01/2009 11:58:00]你好:

    我沒有用過CompassSesnor

    還是需要看看你的Dodge.java才能判別。

    建議你雖然java的大小寫有分別,但是名稱還是換一下比較容易識別。

    例如:

    CompassSensor comp = new CompassSensor(SensorPort.S2);

    歡迎將程式寄來討論,touch_classroom@yahoo.com.tw

    回覆刪除

探奇歡迎大家留言討論!謝謝分享你的意見。