Fix bug in calculating camera FOV#1611
Merged
jspricke merged 1 commit intoPointCloudLibrary:masterfrom Aug 21, 2016
samarth-robo:camera_fovy_fix
Merged
Fix bug in calculating camera FOV#1611jspricke merged 1 commit intoPointCloudLibrary:masterfrom samarth-robo:camera_fovy_fix
jspricke merged 1 commit intoPointCloudLibrary:masterfrom
samarth-robo:camera_fovy_fix
Conversation
See http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a2aec83f16c1c492fe87336a5018ad531 for the correct formula. This calculation also affects the PCLVisualizer window size.
Member
|
Thanks @samarth-robo 👍 . I will test this now and provide feedback |
Member
|
Agreed with the changes and harmless to include for 1.8.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1610 fix
See http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a2aec83f16c1c492fe87336a5018ad531 for the correct formula.
This calculation also affects the PCLVisualizer window size.
Piece of code to test: