dheera / rosboard

ROS node that turns your robot into a web server to visualize ROS topics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resizing of available windows

fzoric8 opened this issue · comments

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.

commented

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

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

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"?

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 :)