Search found 12 matches

by hawesie
Thu Feb 14, 2013 10:30 am
Forum: NXJ Software
Topic: Bug in String class compareTo
Replies: 1
Views: 623

Bug in String class compareTo

In the String class compareTo method, lines 211 and 212:

Code: Select all

char c1 = this.characters[i];
char c2 = this.characters[i];


should be


Code: Select all

char c1 = this.characters[i];
char c2 = str.characters[i];


cheers,

Nick
by hawesie
Wed Mar 16, 2011 9:06 pm
Forum: NXJ Software
Topic: UltraSonic Sensor issue
Replies: 10
Views: 8610

Re: UltraSonic Sensor issue

Seems to be working well. It also fixes the error that calling ping() wouldn't switch modes on the sensor.

cheers,

Nick
by hawesie
Tue Mar 15, 2011 8:02 pm
Forum: NXJ Software
Topic: UltraSonic Sensor issue
Replies: 10
Views: 8610

Re: UltraSonic Sensor issue

Thanks for the replies guys. I'll try it out first thing tomorrow and let you know how it goes.

cheers,

Nick
by hawesie
Tue Mar 15, 2011 1:10 pm
Forum: NXJ Software
Topic: UltraSonic Sensor issue
Replies: 10
Views: 8610

Re: UltraSonic Sensor issue

Hi Andy, Thanks for the info. I provide the students with the jar file (via a networked drive) which they then compile against. I've been using the jars that are packaged with 0.8.5. As the students are currently right in the middle of a major exercise, I don't want to change too much of the leJOS c...
by hawesie
Tue Mar 15, 2011 10:02 am
Forum: NXJ Software
Topic: UltraSonic Sensor issue
Replies: 10
Views: 8610

Re: UltraSonic Sensor issue

Hi Andy,

Please could you post a link to the source (or svn revision) for the updated UltrasonicSenor code? I have an install of 0.85 which I'm currently using for teaching and I'd like to fix this bug without altering the rest of the source.

thanks,

Nick
by hawesie
Wed Nov 25, 2009 8:30 am
Forum: NXJ Software
Topic: Assertions (keyword and class)
Replies: 5
Views: 1164

Awesome, thanks!

Given this, it might we worth deleting the potentially confusing lejos.util.Assertion class unless it is used for some different purpose.

thanks,

Nick
by hawesie
Tue Nov 24, 2009 9:56 am
Forum: NXJ Software
Topic: Assertions (keyword and class)
Replies: 5
Views: 1164

Assertions (keyword and class)

Hi again, Can anyone tell me whether or not I can use the assert keyword in my code? If I use it everything appears to compile and link fine, but assertions are never thrown. Am I missing a flag to enable them (like the -ea one for the standard vm)? Also, there is the lejos.util.Assertion class whic...
by hawesie
Mon Nov 16, 2009 8:53 am
Forum: NXJ Software
Topic: bluetooth and mac
Replies: 9
Views: 2315

Hey,

I get the above "just leaking" output on Snow Leopard too. It doesn't appear to effect performance though.
by hawesie
Fri Nov 13, 2009 10:03 am
Forum: NXJ Software
Topic: Feature Request: getLines() in LineMap
Replies: 0
Views: 994

Feature Request: getLines() in LineMap

I'm not sure of the right place to send this, so I'll post it here and wait to be redirected, It would be useful to be able to get Lines back out of a LineMap once you've constructed it (i.e. for rendering it or checking for updates). Please could I request this for the next release? thanks, Nick
by hawesie
Thu Nov 05, 2009 4:45 pm
Forum: NXJ Software
Topic: TachoPilot/SimpleNavigator strange behaviour over bluetooth
Replies: 4
Views: 1642

TachoPilot/SimpleNavigator strange behaviour over bluetooth

Hi, I'm still playing around with the various capabilities of leJOS and in particular looking at how much to do onboard or offboard the brick. This has led me to trying to run the same simple navigation code both on the NXT and on my PC (linux, CentOS 5.4) via bluetooth. The code in question is: Tac...
by hawesie
Thu Nov 05, 2009 8:56 am
Forum: NXJ Software
Topic: leJOS 0.7 bluetooth issue: Native Library bluecove not avail
Replies: 10
Views: 3819

Just to add a bit more info. We found that bluez-libs-devel is definitely needed to get a the bluetooth connection running. This was on CentOS 5.4. We compiled leJOS on one machine then deployed it on a couple of others which didn't have the -devel package installed this resulted in errors like: cca...
by hawesie
Thu Sep 10, 2009 8:15 am
Forum: NXJ Hardware
Topic: maximum number of bluetooth connections in a room?
Replies: 1
Views: 2165

maximum number of bluetooth connections in a room?

Hi, I'm currently setting up a university course to teach AI programming using LeJOS on NXTs (under Linux). We will be doing practical sessions in which we should have about 15 robots running at once in the same room. I had planned to only use USB connections to the robots (i.e. no real feedback fro...

Go to advanced search