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

ROS 1 Node: Add visualization of TSDF Volume and results #14

Merged

Conversation

mpowelson
Copy link
Contributor

Adds a visualizer that publishes the TSDF volume as a bounding box. The results mesh is published when generateMesh is called and is cleared when reset is called. Each of the markers is published on a timer at 1 second intervals.

Here is an example visualization.
Screenshot from 2019-12-02 14-54-54

@@ -116,6 +119,11 @@ class OnlineFusionServer
Eigen::Affine3d tsdf_frame_to_camera_prev_;
/** @brief TF frame associated with the TSDF volume. */
std::string tsdf_frame_;
/** @brief Queue that stores images until their transforms are available. This allows for the mismatch in timing
* between images being published and TFs */
std::queue<sensor_msgs::ImageConstPtr> image_queue_;
Copy link
Member

Choose a reason for hiding this comment

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

Would this be something tf2_ros::MessageFilter could be used for?

Copy link
Contributor

Choose a reason for hiding this comment

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

The answer is "probably yes", though I think it can be handled through a new PR rather than a modification to this one.

I added #15 to track this.

@schornakj schornakj merged commit 8042ec8 into ros-industrial-attic:master Dec 7, 2019
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

Successfully merging this pull request may close these issues.

3 participants