Repeat calls for data return from the robot fail
Opened this issue · 0 comments
CraigBryan commented
When you ask the robot for temperature or distance reading, it works the first time, but you get a timeout error the second time (nothing is sent back to the python program, confirmed with wireshark). After the timeout, if another request is sent, it works fine.
Movement commands after data retrieval commands work fine, but the second data retrieval still fails with a timeout. For example:
read_temperature() #Successful, returns temperature
move_forward(5) #robot moves and returns success
read_temperature() #robot does not send response, timeout occurs