We have the latest version of PhotonVison running on a Raspberry Pi.
Running Java, VS Code, standard set of tools.
Loaded the PhotonVision libraries
Everything is working, we can see the video and target acquisition on the web interface
Using the Code example, Aiming at a Target
Our camera name is “PhotonCamera01”
No NetworkTables server running.
PhotonCamera camera = new PhotonCamera(“PhotonCamera01”);
Outputting to the SmartDashboard “hasTargets”, pitch, & yaw.
Running the drive station we see the following message
Cannot find networktables at /photonvision/PhotonCamera01
hasTargets = True
Pitch = Value jumps around
Yaw = 0, even when we move the ball.
Any ideas?
All help is appreciated
Coach: Mark Tayler
Team # 4361