Society of Robots - Robot Forum

Software => Software => Topic started by: jld0002 on September 10, 2009, 07:19:34 PM

Title: Communication Problems with Irobot Create
Post by: jld0002 on September 10, 2009, 07:19:34 PM
I am having trouble with the Create not responding to commands. If I send the commands with LONG (~1sec) delays between them, the commands work. I know that I am not over running the receive buffer because I have implemented 200us delays before all byte transmissions and another  18ms delay between sensor request as a whole. I know that the serial communication is set up correctly because I used the example program drive.c to establish the code I have developed so far. I am operating at 57.6k baud. 

HELP?!?!?!!?!?
Title: Re: Communication Problems with Irobot Create
Post by: Kohanbash on September 22, 2009, 08:53:03 PM
Hi
I have not used the Create's, but one thing to try is flushing  (fflush or similiar) the serial port.