legoev3 icon indicating copy to clipboard operation
legoev3 copied to clipboard

EV3 moves a little then later commands get lost

Open typemismatch opened this issue 9 years ago • 6 comments

I have firmware 1.07H - I'm running the Desktop code on OS X.

I have the blue tooth pairing working and on the EV3 the iPhone/iPod/iPad is off.

When I send a command it goes through the first time, EV3 moves + plays sound. If I try again I get random behavior. Sometime it will move again, sometimes it moves a different motor (same code). Most times after it has moved around a bit, it ignores all future commands and requires a reboot.

I modified the tester to Disconnect after each run, batch seemed to work a little better.

Any thoughts? thanks

typemismatch avatar Sep 18 '15 01:09 typemismatch

I can't say this has ever been tested on OS X so I'm not sure where to begin with troubleshooting. Are you using network communication or something else?

BrianPeek avatar Sep 26 '15 05:09 BrianPeek

I was trying to get it working over BlueTooth - really odd because it seems to want to work but it seems after the initial packet is sent it doesn't accept anymore. No big deal, it's a far out case :)

typemismatch avatar Sep 27 '15 23:09 typemismatch

A bit of a far out case, yes. :) Maybe mess around with the WriteBufferSize property on SerialPort?

BrianPeek avatar Sep 28 '15 05:09 BrianPeek

@typemismatch I just got my brick (v1.07H) set up on OS X 10.11 (Late 2013 rMBP 15"), Mono 4.0.5, and everything seems to be working ok (well, other than it occasionally doesn't want to connect to the brick, but if it connects, it works).

FabioCZ avatar Nov 17 '15 15:11 FabioCZ

hey @FabioCZ good to know, I'll send you a pm and see what else I might have missed, thanks.

typemismatch avatar Nov 20 '15 16:11 typemismatch

Hey, have you fixed the problem? We´ve ported this sdk to a native swift implementation for iOS but also have problems with the bluetooth connection. It seems, if direct commands are send one by one, the bluetooth stops working or the robot has some strange behavior. Our solution at the moment, is to wait a few milliseconds till we send the next command.

andiikaa avatar Jun 23 '16 12:06 andiikaa