Accessing Limelight Over Network (Robot Simulator)

Hi Everyone,

I’ve been pulling my hair out for the past few hours trying to get this to work!

I’ve been testing some code with the Robot Simulator - mainly playing around with SwevePoseEstimator and tracking where the simulated robot is on the field. All good with that!

Then I wanted to see if I could incorporate the limelight into that (team let me take home the LL). I keep running into the problem:

lljson error: No content to map due to end-of-input
 at [Source: (String)""; line: 1, column: 0]

I’ve tried a few things and this leads me to believe that I can’t access the limelight from robot simulator/shuffleboard. Since the limelight is plugged into my router through Ethernet and I think the robot simulator creates it’s own server, the network tables aren’t picking up the LL.

Is there anyway I can access the LL over the network with simulator? I can access the LL across my network through my browser and see the feed, I just can’t get it to populate into the robot simulators network tables.

Any networky people can help? Thanks!

I actually figured this out a while back. You can access the limelight from simulation you just need to rename your computer so Windows automatically creates a DNS entry for it. Mine is named: RoboRIO-6391-frc. You will want to replace with your team number.

This basically tricks the LL into thinking your computer is a roboRIO.

1 Like

LMAO - that’s hilarious. I’ll give that a try now! Thank you!!!

Unfortunately that didn’t work in my case :confused:

I have my limelight and desktop each connected to my router by Ethernet. Since the limelight is not directly connected to the computer would the robot simulator be able to see it across the network?

It’s not the end of the world, but now I wish knew more about networking.

Are you running Windows 11? Different operating systems do different things.

Yes both are on my network. The limelight is looking for a NT host. It automatically looks for the roboRIO which is either at 10.TE.AM.2 (so you could also create your home network to be on this subnet (but that is a pain) or it uses DNS to look for the roboRIO (at whatever IP it has) which is always roboRIO-TEAM#-frc

Yup, Windows 11.

So for my understanding - when you run robot simulator the server is ran on the local host, correct?

Based on the below picture, network tables are accessed on port 1735 and 5810:

image

So the limelight, if it thinks my computer is a robotRIO will automatically look to host on one of those two ports?

I ran Angry IP Scanner and I noticed that my HostName is:

RoboRIO-2601-frc.myfiosgateway.com.

Could it be that my isp/router is messing this up?

I don’t know which port it uses (I am not sure they say).

Yep that seems likely it is hijacking it. If I run ipconfig /all in the command prompt I get:
image

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.