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

Add the possibility to show labels on the headset #11

Merged
merged 22 commits into from
Feb 16, 2022
Merged

Add the possibility to show labels on the headset #11

merged 22 commits into from
Feb 16, 2022

Conversation

S-Dafarra
Copy link
Member

It is possible to add multiple labels to the VR view. For each label it is possible to specify:

  • the width and height dimensions of the enclosing box
  • the position of the box
  • a prefix string, that is prepended to whatever is read on the corresponding port
  • a suffix string
  • the pixel size of the label
  • the color of the label (RGBA)
  • the background color (RGBA)
  • the font
  • the horizontal and vertical alignment
  • whether the box should appear at startup, or only after some data is received on the port
  • the timeout after which the box automatically disappear (negative to have no timeout)

In addition, it is possible to enable/disable the label manually from RPC

This depends on #10

CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@traversaro traversaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment.

@S-Dafarra
Copy link
Member Author

I am going to merge this after #10

@S-Dafarra
Copy link
Member Author

Rebased on top of rpc.

@S-Dafarra
Copy link
Member Author

@kouroshD @traversaro @RiccardoGrieco please let me know if I can proceed!

@traversaro
Copy link
Contributor

Ok for me!

@kouroshD
Copy link

Sounds good to me @S-Dafarra !

@S-Dafarra
Copy link
Member Author

Thanks a lot @kouroshD @traversaro. Merging

@S-Dafarra S-Dafarra merged commit d67ca69 into rpc Feb 16, 2022
@S-Dafarra
Copy link
Member Author

I realized later that I merged in rpc. I manually merged in main.

@S-Dafarra S-Dafarra deleted the labels branch February 16, 2022 17:23
@S-Dafarra S-Dafarra restored the labels branch February 16, 2022 17:23
@S-Dafarra S-Dafarra deleted the labels branch April 8, 2022 17:11
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

Successfully merging this pull request may close these issues.

3 participants