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

RenderWindow instead of RenderPanel #4

Open
JaehyunShim opened this issue Apr 30, 2021 · 0 comments
Open

RenderWindow instead of RenderPanel #4

JaehyunShim opened this issue Apr 30, 2021 · 0 comments

Comments

@JaehyunShim
Copy link

To use the package in this repository, you should use the getRenderPanel() function which OSRF has not added to Rviz2 yet. I mentioned it and asked them to add it to Rviz2 in the following link.

ros2/rviz#664 (comment)

Even if they do not add it, you can still do a very similar thing by using below instead of (https://github.com/MartiBolet/Custom_Qt5_Rviz2/blob/main/src/myviz.cpp#L48).

main_layout->addWidget(QWidget::createWindowContainer(frame_->getRenderWindow()));

In this case, the app will be viewing the RenderWindow inside the RenderPanel instead.

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

1 participant