FRCDashboard/FRCDashboard

Not connecting to robot

Closed this issue ยท 13 comments

After downloading the project, without changing anything and installing npm, I run it with npm start and it starts successfully. However, when I put my team number in the connect prompt, it says in the console trying to connect to roborio-5986.local and Sending status, and it does not connect. I am connected to the robots network, and it appears connected in the drive station

Is it literally saying (number)?

Check your console to see if there are any errors logged.

No, it has the team number 5986. There are no errors logged

Is your roboRIO's hostname really roborio-5986.local? AFAIK that format hasn't been the default hostname since 2015. Try roborio-5986-frc.local or your roboRIO's static IP address (if you've set one).

Oh, yup, that'll be the issue. I didn't notice there was no -frc there.

address.value = 'roborio-xxxx.local';

Bit misleading in the code there which I'm guessing was the root of this problem, should probably be roborio-XXXX-frc.local.

Fixed.

Ok, thank you. I will try it as soon as possible

Sorry, I have not been keeping up with the latest name changes

@rakusan2 No problem man.

It still says sending status and not doing anything after updating it

๐Ÿค” Can you ping roborio-5986-frc.local from the computer you're running the dashboard from and check to see if you get a response? If you can, it should give you an IP for the RIO. You might want to try using that IP and seeing if that works.