-
Notifications
You must be signed in to change notification settings - Fork 406
Point cloud integration #19
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
efa22c9
Point cloud integration, removed multiple .launch
nesnes 0ef8e42
Point cloud integration, removed multiple .launch
nesnes 87a55d6
Delete zed_wrapper_node.cpp
nesnes 130d06b
Delete zed_tf.launch
nesnes 407431c
Delete zed.launch
nesnes 95bc464
Delete zed_stereo.launch
nesnes 99d2471
Delete zed_depth.launch
nesnes f463c6e
Point cloud integration, removed multiple .launch
nesnes 1d6ff9c
Point cloud integration, removed multiple .launch
nesnes 3f10d9b
Point cloud integration, removed multiple .launch
nesnes 92f96a4
Point cloud integration, removed multiple .launch
nesnes 745e672
Point cloud integration, removed multiple .launch
nesnes 15a23aa
Point cloud integration, removed multiple .launch
nesnes cfd1014
Point cloud integration, removed multiple .launch
nesnes ce68bf6
Point cloud integration, removed multiple .launch
nesnes 3841ffb
Point cloud integration, removed multiple .launch
nesnes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Point cloud integration, removed multiple .launch
- Loading branch information
commit 3841ffb758fd7e7466f6dcdca10f74fff9a57d5d
There are no files selected for viewing
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
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.
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.
continueis not ok here - you've now left one of the entries inpoint_cloud.pointswith unitialized memory, which is impossible for anything downsteam to detect.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.
Yes, that's what we can think, but when you read the std::vector::resize documentation, you see that if no default object is given to the resize as second arg, the default constructor is use the create the new objects. So the
continueis possible because all the points in the cloud are initialized by the resize.http://www.cplusplus.com/reference/vector/vector/resize/
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.
Presumably the default constructor for this type is zero-filled? Isn't NaN more desirable for a missing data point
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.
This is a logic that should be handled by the PointCloud object itself and it will be a bad idea to try to overwrite it. You can see in rviz that the "missing" points aren't displayed, so the information is already in the message.