Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splitting viewport seems to not work... #64

Closed
alan412 opened this issue Jan 30, 2023 · 3 comments
Closed

Splitting viewport seems to not work... #64

alan412 opened this issue Jan 30, 2023 · 3 comments

Comments

@alan412
Copy link

alan412 commented Jan 30, 2023

Our code is here: https://github.com/ftc16072/PowerPlay22-23/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/ftc16072/OpModes/VisionAutoBase.java

It seems to be the same as the example, but only one of the cameras is seen when we do "show camera stream" on the Driver Station.

Any idea what we are doing wrong?

Thanks in advance,

Alan

@Windwoes
Copy link
Member

Splitting the viewport is only for the preview in the RC activity.
It's only possible to show one stream on the DS at a time; this is an SDK limitation. Feel free to open an issue on the SDK repo.

@Windwoes
Copy link
Member

You can however use scrcpy or an external HDMI monitor to see the local view.

@alan412
Copy link
Author

alan412 commented Jan 30, 2023

Funny - what I sent to the students: I checked with OpenCV about why we couldn’t see both cameras, and they said we should be able to see them on the RC (We could use scrcpy to see it) but can’t on the driver station due to a limitation in the driver station

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants