jaiarobotics / jaiabot

Jaiabot source code
Other
20 stars 3 forks source link

bug/race-condition-fleet2-radio-jaia-497 #895

Closed ferrom-jaia closed 2 months ago

ferrom-jaia commented 4 months ago

Description

The xbee 250 radios require a bypass command to be entered before getting into command mode. Sometimes the radio would not send the correct menu back. This caused the xbee driver to hang. This implementation will retry until the xbee driver sends the correct menu or it times out. The timeout is for the 900 xbee radio which does not require a bypass menu.

Testing

  1. Deployed to fleet 0 bot 1 and hub 1
  2. Ensure the radios are able to talk