by Joe » Tue Mar 24, 2009 4:47 am
by Joe
Tue Mar 24, 2009 4:47 am
I've found something very odd today.
When I have both the serial cable plugged in, and the ESD200 installed, and try to communicate with my robot over the serial cable, Strange Things happen. It appears that, under some circumstances (which I haven't fully pinned down), data sent out the serial port is being somehow looped back and seen by the RBC as input.
This quickly causes things to go haywire, and the message ERROR appears over and over again (probably reacting to the appearance of the word ERROR), even though no such string is found anywhere in my source code or the terminal app on my Mac.
If I disconnect the serial cable and communicate over BlueTooth instead, then this does not happen. So it's some weird interaction of the two.
EDIT: Yes, actually, sometimes it does. I just connected again, over BT with the serial disconnected, with the bot already in a mode that reports what inputs it sees. And I got "CONNECT 001F5BE0C349" surrounded by CRLF's.
It's late, and I'm tired and confused, but thought I'd mention it anyway — if anyone has any insight, please share. At the moment my hypothesis is that I failed to configure something properly on the ESD200, and I'll be opening my RBC up again (unless Pedro's idea of configuring it onboard works out!).
Best,
— Joe
I've found something very odd today.
When I have both the serial cable plugged in, and the ESD200 installed, and try to communicate with my robot over the serial cable, Strange Things happen. It appears that, under some circumstances (which I haven't fully pinned down), data sent out the serial port is being somehow looped back and seen by the RBC as input.
This quickly causes things to go haywire, and the message ERROR appears over and over again (probably reacting to the appearance of the word ERROR), even though no such string is found anywhere in my source code or the terminal app on my Mac.
If I disconnect the serial cable and communicate over BlueTooth instead, then this does not happen. So it's some weird interaction of the two.
EDIT: Yes, actually, sometimes it does. I just connected again, over BT with the serial disconnected, with the bot already in a mode that reports what inputs it sees. And I got "CONNECT 001F5BE0C349" surrounded by CRLF's.
It's late, and I'm tired and confused, but thought I'd mention it anyway — if anyone has any insight, please share. At the moment my hypothesis is that I failed to configure something properly on the ESD200, and I'll be opening my RBC up again (unless Pedro's idea of configuring it onboard works out!).
Best,
— Joe