-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Visualizer] Added unit test #4016
Conversation
…ed on visualizer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small and sweet. Nice 😄
Just a note: There was no test failure. Did the test not run? |
I updated to use the generator. According to logs, the test is build(Ubuntu, OSx), but it was not run. I'll have a look after this update and if it is still no run, we'll have to investigate... Windows builds doesn't have VTK so they won't run it. |
MacOS doesn't run the test_visualizer... So the others probably won't do it either... wierd. |
I guess CI does not have pcl/test/visualization/CMakeLists.txt Line 15 in 917c22c
|
Do all visualization tests require a display? If so, we need to use |
Well, all sounds too serious. There is a single file with two test cases. |
I don't know how pcl_vis works (only know how it looks from an bird's eye view) 😅 Just adding a virtual buffer for all seemed the fastest way to get the tests running beyond dividing the vis tests in 2 parts. |
Somebody may give this a try, but I think it's certainly outside of the scope of this PR. |
I've tried this PR, but the test passes (Ubuntu 18.04 + VTK 6.3). |
Maybe its a VTK 8.2 issue only - most users reporting this issue has either been using 8.2 directly or updated to 8.2. |
The test is set as being build in the cmake configuration. but its not build and run in the Run Unit Test. |
It's not the test itself, it's the |
Ahh, yes ofc. |
Where points get removed and updatepointcloud is called on visualizer.
Basically @MaxFleur MCVE from here.