Skip to content

Commit

Permalink
Add ifm3d build (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Jun 9, 2021
1 parent 801dadf commit 02c5a93
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions patch/ros-noetic-ifm3d.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/src/camera_nodelet.cpp b/src/camera_nodelet.cpp
index 1c1a7d8..f650228 100644
--- a/src/camera_nodelet.cpp
+++ b/src/camera_nodelet.cpp
@@ -594,7 +594,9 @@ ifm3d_ros::CameraNodelet::Run()
if ((this->schema_mask_ & ifm3d::IMG_CART) == ifm3d::IMG_CART)
{
cloud->header = pcl_conversions::toPCL(head);
- this->cloud_pub_.publish(cloud);
+ sensor_msgs::PointCloud2 out_cloud;
+ pcl::toROSMsg(*cloud, out_cloud);
+ this->cloud_pub_.publish(out_cloud);

sensor_msgs::ImagePtr xyz_image_msg =
cv_bridge::CvImage(head,
2 changes: 2 additions & 0 deletions robostack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -738,3 +738,5 @@ udev:
robostack: [libusb]
python-inject-pip:
robostack: [inject]
libxmlrpc-c++:
robostack: [xmlrpc-c]
3 changes: 2 additions & 1 deletion vinca_linux_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ packages_select_by_deps:
##
# TODO Linux
##
- rviz
- ifm3d
# - rviz
# - ur_client_library
# - realsense2_camera
# - franka_example_controllers
Expand Down

0 comments on commit 02c5a93

Please sign in to comment.