surround your processing code with a try-catch block, and log the error to the console, like
try:
(your code)
catch Exception ex:
ex.printStackTrace(); //print it out so we see it in the logs, but keep running code
|
Calib3d.solvePnP(CameraConstants.getObjectPoints(), CameraConstants.getImgPoint(VisionTargets), CameraConstants.getCameraMatrix(), CameraConstants.getDistCoeffs(), rvec, tvec, true); |
surround your processing code with a try-catch block, and log the error to the console, like
try:
(your code)
catch Exception ex:
ex.printStackTrace(); //print it out so we see it in the logs, but keep running code
Vision2019/src/main/java/frc/robot/GripPipeline.java
Line 96 in 54105f4