|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Need help with lego NXT lejos xbox controlling
Hopefully the last time i need help. everything runs fine but when it connects this is the error i get
Code:
Loading: net.java.games.input.OSXEnvironmentPlugin Using joystick: Xbox One Controller Found NXT: Tim fork 0016530A7EAE Connected to NXT: Tim fork@0016530A7EAE Connection to NXT timed out. Any clue as to what is going on ? |
|
#2
|
|||
|
|||
|
Re: Need help with lego NXT lejos xbox controlling
Quote:
You have to start the program on the robot before starting the program on the computer. I might add the ability to cleanly connect, disconnect and reconnect (like the FRC system), but it doesn't have that capability at the moment. |
|
#3
|
||||
|
||||
|
Quote:
Code:
Loading: net.java.games.input.OSXEnvironmentPlugin Using joystick: Xbox One Controller dyld: lazy symbol binding failed: Symbol not found: _IOBluetoothLocalDeviceReadSupportedFeatures Referenced from: /private/var/folders/_2/xj9xgcd50xd820c_rjmpltwc0000gn/T/bluecove_BradenShepard_0/libbluecove.jnilib Expected in: /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth dyld: Symbol not found: _IOBluetoothLocalDeviceReadSupportedFeatures Referenced from: /private/var/folders/_2/xj9xgcd50xd820c_rjmpltwc0000gn/T/bluecove_BradenShepard_0/libbluecove.jnilib Expected in: /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth |
|
#4
|
|||
|
|||
|
Re: Need help with lego NXT lejos xbox controlling
Quote:
It looks like this is a bug in BlueCove (the bluetooth library) caused by some changes in Mac OS 10.8 and newer. What are your OS and BlueCove versions? I don't much experience with Mac OS, so Googling might help more than I can. |
|
#5
|
||||
|
||||
|
Re: Need help with lego NXT lejos xbox controlling
Quote:
and im using lejos version: leJOS_NXJ_0.9.1beta-3 2 i can't find the versoin of bluecove. Solved it, the usb that is i needed to switch this little line of code Code:
public Robot() {
// RConsole.open();
// pilot.steer(90, false);
// pilot.steer(140, false);
// pilot.steer(180, false);
// pilot.steer(0, false);
final NXTConnection connection = Bluetooth.waitForConnection();
communication = new CommunicationSlave(connection.openInputStream(), connection.openOutputStream(), new CommunicationHandler() {
Code:
public Robot() {
// RConsole.open();
// pilot.steer(90, false);
// pilot.steer(140, false);
// pilot.steer(180, false);
// pilot.steer(0, false);
final NXTConnection connection = USB.waitForConnection();
communication = new CommunicationSlave(connection.openInputStream(), connection.openOutputStream(), new CommunicationHandler() {
Last edited by TheModMaster8 : 29-05-2015 at 17:14. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|