Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

fix bad cloud parsing (and crash) #506

Closed
wants to merge 1 commit into from

Conversation

vrabaud
Copy link
Contributor

@vrabaud vrabaud commented Oct 20, 2014

No description provided.

iter_x += row*cloud_msg->row_step;
iter_y += row*cloud_msg->row_step;
iter_z += row*cloud_msg->row_step;
sensor_msgs::PointCloud2Iterator<float> iter_x(*cloud_msg, "x");
Copy link
Member

Choose a reason for hiding this comment

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

Must be const: PointCloud2ConstIterator

@davetcoleman
Copy link
Member

This runs when I add the const but does not seem to do any self-filtering

@vrabaud
Copy link
Contributor Author

vrabaud commented Oct 20, 2014

#504 is better (CMake and fixes another crash if the topix is not defined). It has a bug that is being fixed though.

@vrabaud vrabaud closed this Oct 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants