Closed rohitdasari0424 closed 4 years ago
Can you provide more details? What phone are you using? What SDK version? Have you modified the activity XML layout in any way?
I'm using the latest version of the FTC SDK with a motorola g5 as the robot controller and a samsung J327A as the driver controller. The specific error was: The view port container that the user specified does not exist. I did : int cameraMonitorViewId = hardwareMap.getAppContext.getResources().getIdentifier("cameraMonitorViewId","id",hardwareMap.AppContext.getPackageName()); and passed that as a parameter to the viewport id in the opencvinternalcamera. I have not modified the activity XML layout in any way.
Does the SDK's vuforia sample work?
Also if you could dump the main activity layout using the Layout Inspector that would be helpful too.
Are you still having this issue?
On Thu, Mar 5, 2020 at 9:26 AM FROGbots-4634 notifications@github.com wrote:
Are you still having this issue?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenFTC/EasyOpenCV/issues/11?email_source=notifications&email_token=AOS36KR7B237ZYZSOWMIFWLRF6ZB3A5CNFSM4KZVQFMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN5OHKI#issuecomment-595256233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOS36KRRHD5NEQS45K4I4A3RF6ZB3ANCNFSM4KZVQFMA .
No I fixed it by downloading doge cv and it somehow ended up fixing the problem
DogeCV is based off of EasyOpenCV so that doesn't entirely make sense, but ok...
On Thu, Mar 5, 2020 at 2:45 PM FROGbots-4634 notifications@github.com wrote:
DogeCV is based off of EasyOpenCV so that doesn't entirely make sense, but ok...
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenFTC/EasyOpenCV/issues/11?email_source=notifications&email_token=AOS36KQPCIHGNYWEI363WKTRF76PJA5CNFSM4KZVQFMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6UPWY#issuecomment-595412955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOS36KVSVIPAWI3EJ7VJPHLRF76PJANCNFSM4KZVQFMA .
Yeah, it really doesn’t make sense, but ig it worked and easyopencv is awesome btw👌
Hey, I tried your sample code and it's showing an error when I init saying that the viewport container that the user specified does not exist... How do I fix this problem?