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

Resizing of available windows #96

Open
fzoric8 opened this issue Jan 5, 2022 · 3 comments
Open

Resizing of available windows #96

fzoric8 opened this issue Jan 5, 2022 · 3 comments

Comments

@fzoric8
Copy link

fzoric8 commented Jan 5, 2022

Hi, first of all rosboard is awesome.

I'm wondering is it possible to change default window size?

I would like to use only two windows, and currently, one of them is quite small as you can see from the image.

HMI

Thank you for your answer.

@alonfaraj
Copy link

alonfaraj commented Jan 6, 2022

@fzoric8 As a quick and dirty solution, you can try add 2 properties to .card in index.css:

.card {
  resize: both;
  overflow: auto;
}

@dheera
Copy link
Owner

dheera commented Jan 10, 2022

Hi @fzoric8 , just trying to understand your use case, is your main use case (a) to be able to arbitrarily resize any cards, or (b) because you want to make an image topic "full screen"?

@fzoric8
Copy link
Author

fzoric8 commented Jan 10, 2022

Hi guys,

@alonfaraj I've added this code snippet you suggested and I'm able to resize windows. Although, I'm not sure that I wasn't able to resize it before because I was using following AR glasses which have HDMI input and resolution on them is smaller than on my monitor. Today I've tried it on monitor with that snippet, and they're resizable :) Thank you.

@dheera my use-case is to have two camera-streams on rosboard side by side on AR glasses for teleoperation. I've added upper snippet and windows are resizable, however, if I resize them too much, one of them just dissapears. But, everything else works like expected. So, I would like to a) arbitrarily resize any cards which is achieved alonfaraj comment above. But it would be great if it's possible to make image topic full screen for some FPV applications.

I'm wondering if you know what's the latency of the system? How much time passes for rosboard to show image after it was published on topic. I think it's quite small, but It would be cool to know that number for some safety-critical teleoperation for example.

Thank you very much for time :)

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

3 participants