I have tried to get grip working with my axis camera. It is setup at “axis-camera.local” on my roboRIO and the new radio. GRIP works on the computer(I can see the camera and all the functions dont have red triangles) but when I deploy it to the roboRIO i get lots of errors!
/usr/local/frc/JRE//bin/java -Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -jar '/home/lvuser/grip.jar' '/home/lvuser/project.grip'
Loading Dependency Injection Framework
Feb 10, 2016 5:39:55 PM java.util.logging.LogManager$RootLogger log
CONFIG: Configuration done.
Feb 10, 2016 5:39:55 PM java.util.logging.LogManager$RootLogger log
CONFIG: GRIP Version: 1.2.0
platform: /Linux/arm/
Feb 10, 2016 5:40:00 PM edu.wpi.grip.core.Main start
INFO: Loading file /home/lvuser/project.grip
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.operations.composite.PublishVideoOperation lambda$new$33
INFO: Starting camera server
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.Main start
INFO: SUCCESS! The project is running in headless mode!
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.PipelineRunner$1 startUp
INFO: Pipeline Starting
OpenCV Error: Assertion failed (ssize.area() > 0) in resize, file /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/imgproc/src/imgwarp.cpp, line 3208
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.Step runPerformIfPossible
WARNING: The Resize Image operation did not perform correctly.
java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/imgproc/src/imgwarp.cpp:3208: error: (-215) ssize.area() > 0 in function resize
at org.bytedeco.javacpp.opencv_imgproc.resize(Native Method)
at edu.wpi.grip.core.operations.composite.ResizeOperation.perform(ResizeOperation.java:88)
at edu.wpi.grip.core.Operation.perform(Operation.java:61)
at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)
at edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)
at edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)
at edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)
at com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: The Resize Image operation did not perform correctly.
java.lang.RuntimeException: /home/javacpp-presets/opencv/cppbuild/linux-frc/opencv-3.0.0/modules/imgproc/src/imgwarp.cpp:3208: error: (-215) ssize.area() > 0 in function resize
at org.bytedeco.javacpp.opencv_imgproc.resize(Native Method)
at edu.wpi.grip.core.operations.composite.ResizeOperation.perform(ResizeOperation.java:88)
at edu.wpi.grip.core.Operation.perform(Operation.java:61)
at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)
at edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)
at edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)
at edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)
at com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.Step runPerformIfPossible
WARNING: The HSV Threshold operation did not perform correctly.
java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
at edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)
at edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)
at edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)
at edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)
at com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Feb 10, 2016 5:40:02 PM edu.wpi.grip.core.Main onExceptionEvent
SEVERE: The HSV Threshold operation did not perform correctly.
java.lang.IllegalArgumentException: HSV Threshold needs a 3-channel input
at edu.wpi.grip.core.operations.composite.HSVThresholdOperation.perform(HSVThresholdOperation.java:71)
at edu.wpi.grip.core.Step.runPerformIfPossible(Step.java:139)
at edu.wpi.grip.core.PipelineRunner.runPipeline(PipelineRunner.java:196)
at edu.wpi.grip.core.PipelineRunner.access$200(PipelineRunner.java:32)
at edu.wpi.grip.core.PipelineRunner$1.runOneIteration(PipelineRunner.java:76)
at com.google.common.util.concurrent.AbstractScheduledService$ServiceDelegate$Task.run(AbstractScheduledService.java:189)
at com.google.common.util.concurrent.Callables$3.run(Callables.java:100)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Feb 10, 2016 5:40:03 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
Feb 10, 2016 5:40:03 PM edu.wpi.grip.core.operations.networktables.NTManager lambda$new$16
INFO: NetworkTables: Dispatcher.cpp:392 client: CONNECTED to server 172.22.11.2 port 1735
Feb 10, 2016 5:40:03 PM edu.wpi.grip.core.Main onExceptionClearedEvent
INFO: Exception Cleared Event
My common sense would make me think that the camera isn’t displaying frames, but I can clearly see the feed from the camera on my computer when plugged into the roboRIO via usb or the wireless radio! Has anyone else had a similar problem? Any advice on what to try?