RC pilot / RC pilot tester PROBLEM

Post your NXJ projects, project ideas, etc here!

Moderators: imaqine, 99jonathan, roger

New User
Posts: 1
Joined: Tue May 31, 2011 4:54 pm

RC pilot / RC pilot tester PROBLEM

Postby drugis » Tue May 31, 2011 5:42 pm

Hello, i have tried several times to control my nxt from my computer using both bluetooth and usb.
and i have tried several different codes from this forum, but i cant get the RC Pilot and the RC pilot tester to work, yes the code example who comes with the lejos installation.
I have testet the BT Send and BT receive and it works fine.
someone that can help me?

error message:
connecting to NXJ
BlueCove version 2.1.0 on winsock
connect result false
Exception in thread "main" java.lang.NullPointerException
at RemotePilotControl.send(RemotePilotControl.java:390)
at RemotePilotControl.setTurnSpeed(RemotePilotControl.java:349)
at RemotPilotTester.main(RemotPilotTester.java:14)
BlueCove stack shutdown completed

leJOS Team Member
Posts: 965
Joined: Mon Feb 05, 2007 1:27 pm

Re: RC pilot / RC pilot tester PROBLEM

Postby lawrie » Sat Jun 04, 2011 4:44 pm

Change "NXJ" in line 13 in RemotePilotTester to the name of your NXT.

The error checking in this sample is not good.

Return to “NXJ Projects”

Who is online

Users browsing this forum: No registered users and 0 guests