Using limelight in Simulation

I was attempting to test some code while I don’t have the robot using the limelight in simulation, but I cannot find any docs anywhere on how to do this. Does anyone know how?

What we’ve done in the past is to use PhotonVision’s simulation and use its outputs to write to NetworkTables to emulate what the LL would produce.

One hacky way to do it is to set the LL IP to static and set the IP address of your computer to be the same as the Rio address (10.TE.AM.2). You’ll need to disable firewalls of course so the LL can connect to the simulation’s NT server.