acmerobotics / ftc-dashboard

React-based web dashboard designed for FTC
https://acmerobotics.github.io/ftc-dashboard
Other
171 stars 129 forks source link

"Event Loop Detached" Error #84

Closed Robocoder9000 closed 2 years ago

Robocoder9000 commented 2 years ago

Hi! I'm pretty new to FTC Dashboard, and have been working through a few issues with FTC Dashboard. We're trying to run some sample calibration code on a Control Hub with an Android driver station. First of all, we can't connect the Android driver station at the same time as Dashboard- I'm unsure if that's normal due to the interfering communication or if that's an issue in of itself. As far as we're aware, we should be able to run op modes through FTC Dashboard so this shouldn't be an issue. However, the OP Mode section on Dashboard is showing the error "op mode detached", and is blank otherwise. Is there a known solution to this? Google isn't helping much here. Thanks for your help!

Cheers,

16544 Stratobots

rbrott commented 2 years ago

First of all, we can't connect the Android driver station at the same time as Dashboard- I'm unsure if that's normal due to the interfering communication or if that's an issue in of itself.

That is unusual. Dash should have little affect on normal Robocol communication aside from additional bandwidth consumption.

However, the OP Mode section on Dashboard is showing the error "op mode detached", and is blank otherwise.

I'm not sure exactly what causes that issue. The RC app can be started in different ways, and I believe they affect the startup lifecycle. The only solution I know is killing and restarting the app. (You may need adb to do that properly on a Control Hub.)

Robocoder9000 commented 2 years ago

Thanks for the tips, we restarted both DS and Rc, updated some dependencies and the problem seems to be gone now.