Page 1 of 1

Re: roboclaw 2x15 stalls

Posted: Mon Sep 03, 2018 9:13 am
by Basicmicro Support
Are you using USB or TTL Serial when talking with ROS/Python? Are you talking with a single Roboclaw or multiple units over a single TTL Serial connection?

Please try to determine what command is stalling. All packet serial commands have timeouts so they should never stall by themselves unless something is wrong with the underlying serial port class(eg pyserial). However if a while loop is in the code waiting for something that never comes that could cause your symptom. Add some print statements to the python example to see where exactly it is stalling and let me know. Reproduce the stall and the location of the stall a couple times to see if it always happens in the same place. If you made any other changes to the python example your are testing with please include a copy of it in your reply.