Quote:
Originally Posted by lopsided98
That's an OSX problem, not my code, but I'll try to help anyway.
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.
|
OSX: 10.10.2 Yosemite
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() {
to
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() {
in the robot class, $@#$@#$@# well at the tri controller class