We could use some advice with an issue getting the camera server to launch with our python code.
The wpilib.cameraserver.CameraServer.launch() function is what is now recommended in the documentation but this always immediately aborts. From the logger we see “Launching CameraServer process” followed quickly by “CameraServer process exited with exitcode -6”.
Directly running cscore will start a stream on any other computer but in a shell to Roborio will immediately fail with the message Aborted. It works fine if we directly call cscore.CameraServer.startAutomaticCapture(), but that’s not recommended.
Any ideas? We’d like to be able to line up with the recommended camera server starting code, assuming that will lead to less potential complications, but ultimately we’re not planning any vision processing on the rio, we just want to get streams directed to the drivestation.