team6002 / FRC2023ChargedUp

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

DS intermittently loses connection to robot #2

Open CBN98 opened 1 year ago

CBN98 commented 1 year ago

Intermittently see the driver station loses connection to the robot.

Communications and Robot Code status goes RED, but Robot Radio is still green. Also physically, the radio and roborio seems to still be communicating (LEDs are lighting up)

Seems to happen more often when pushing code. For example, I reproduced (but not consistently) this issue by:

  1. Push new code
  2. Enable teleop and drive the robot around for a few seconds.
  3. Disable robot
  4. Comms are lost
CBN98 commented 1 year ago

Tried the following but did not resolve:

  1. Format and use a new radio
  2. Use a WiFi dongle on driver station laptop (disabled onboard Wifi)

Will try the following:

  1. Use different laptop for driver station
  2. View driver station logs for any errors/warnings
  3. Replace ethernet cables
  4. Review code to see if there could be any run-time crashes
CBN98 commented 1 year ago

Last night at TD field, Lucas worked on Robot 1 (which Justin kept losing connection to) with his laptop. He didn't see any lost robot comms at all (pushed code multiple times and also ran teleop cycles).

Justin worked on Robot 2 with the same old laptop, but also didn't face any comm issue.

Based on the observations, seems like the issue could either be the driver laptop, or ethernet cables.