OpenFTC / EasyOpenCV

Finally, a straightforward and easy way to use OpenCV on an FTC robot!
213 stars 95 forks source link

onViewportTapped in StageSwitchingPipeline is never called #67

Closed AusreisserSF closed 1 year ago

AusreisserSF commented 1 year ago

We're running under PowerPlay 8.1 using implementation 'org.openftc:easyopencv:1.6.2'. We noticed that our OpMode based on the example PipelineStageSwitchingExample (but using a webcam) never received a callback for onViewportTapped. The default Stage value appears in the viewport but a tap on the viewport produces an audible click but no change to the next Stage value. If we turn the camera and tap the viewport the image changes - as expected. We pulled a fresh copy of the example from the EasyOpenCV repo, changed the internal camera to a webcam, and tried again. But we got the same results - an image in the viewport but no change in Stage when the viewport is tapped.

Windwoes commented 1 year ago

onViewportTapped only works for the local preview on the RC phone. It does not work for the remote preview on the DS.