Skip to content

Commit 335b0a7

Browse files
committed
Merge branch 'o3r/dev' into 'master'
Release 1.0.1 See merge request syntron/support/csr/ifm3d/ifm3d-ros!25
2 parents 50f4aea + 21d081b commit 335b0a7

File tree

7 files changed

+212
-107
lines changed

7 files changed

+212
-107
lines changed

CHANGELOG.rst

+12-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@ Changelog for package ifm3d-ros
55
1.0
66
===
77

8+
1.0.1
9+
-----
10+
11+
* Removed dependency to OpenCV and PCL.
12+
* The RGB jpeg image is published in a compressed format.
13+
* Removed the god_bad pixel publisher and the XYZ publisher (use `cloud`` instead).
14+
* The `/cloud` topic is published as `sensor_msgs::PointCloud2` instead of `pcl::PointCloud<ifm3d::PointT>`
15+
816
1.0.0
917
------
1018

11-
Braking changes:
12-
+ Restructure the ifm3d-ros package into independent subpackages. Please check your path declarations again, especially for the launch files and messages and services.
19+
Breaking changes:
20+
* Restructure the ifm3d-ros package into independent subpackages. Please check your path declarations again, especially for the launch files and messages and services.
1321

1422
Changes between ifm3d_ros 0.6.x and 1.0.0:
1523
+ Order of axis changed in 3D (cloud topic and extrinsic calibration parameters): This wrapper keeps the axis orientation as defined by the underlying API, ifm3d. Therefore, you may see a different axis order for the cloud message compared to older versions of the ifm3d and ifm cameras.
@@ -23,10 +31,10 @@ Changes between ifm3d_ros 0.6.x and 1.0.0:
2331
+ Changed service dump: coverts from json to str for displaying the message
2432

2533
added:
26-
+ Added pcic_port to the list of framegrabber arguments
34+
* Added pcic_port to the list of framegrabber arguments
2735

2836
known limitations:
29-
+ This version of the ifm3d-ros package only works with the O3R camera platform.
37+
* This version of the ifm3d-ros package only works with the O3R camera platform.
3038

3139

3240
0.6

ifm3d-ros/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package format="2">
33

44
<name>ifm3d-ros</name>
5-
<version>1.0.0</version>
5+
<version>1.0.1</version>
66
<description>metapackage for the ifm3d-ros package group which interacts with the ifm 3D ToF Camera ROS package</description>
77
<maintainer email="[email protected]">ifm CSR group</maintainer>
88
<license>Apache 2</license>

ifm3d_ros_driver/CMakeLists.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ project(ifm3d_ros_driver)
44
find_package(ifm3d REQUIRED COMPONENTS
55
camera
66
framegrabber
7-
image
7+
stlimage
88
)
99

1010
find_package(catkin REQUIRED COMPONENTS
1111
rospy
1212
image_transport
13-
pcl_ros
14-
cv_bridge
1513
nodelet
1614
roscpp
1715
sensor_msgs
@@ -51,7 +49,7 @@ target_link_libraries(ifm3d_ros
5149
${catkin_LIBRARIES}
5250
ifm3d::camera
5351
ifm3d::framegrabber
54-
ifm3d::image
52+
ifm3d::stlimage
5553
)
5654

5755
#############

ifm3d_ros_driver/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ For further information about the internal ROS nodelet infrastructure and how to
3737
| cloud | sensor_msgs/PointCloud2 | The point cloud data, i.e. X-, Y-, Z-coordinates. |
3838
| distance | sensor_msgs/Image | The radial distance image. |
3939
| raw_amplitude | sensor_msgs/Image | The raw (non normalized) amplitude image. |
40-
| good_bad_pixels | sensor_msgs/Image | The binary image representation of the confidence image. |
41-
| xyz_imaege | sensor_msgs/Image | A 3-channel image encoding of the point cloud. Each of the three image channels represents a spatial data plane encoding the x, y, z Cartesian values respectively. |
4240
| unit_vectors | sensor_msgs/Image | The rotated unit vectors. |
4341
| extrinsics | ifm3d/Extrinsics | The extrinsic calibration of the camera with respect to the camera optical frame. This 3D pose is encoded in mm and rad. |
44-
42+
| rgb_image/compressed | sensor_msgs::CompressedImage | The RGB image in compressed format. |
4543
>Note: Some topics may have empty data fields. We are working on publishing data on all available topics, but have kept all previous topics active for the moment for legacy reasons.
4644
4745
### Nodelet - subscribed Topics

ifm3d_ros_driver/include/ifm3d_ros_driver/camera_nodelet.h

+5-7
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <ifm3d/camera/camera_base.h>
1919
#include <ifm3d/fg.h>
20-
#include <ifm3d/image.h>
20+
#include <ifm3d/stlimage.h>
2121
#include <ifm3d_ros_msgs/Config.h>
2222
#include <ifm3d_ros_msgs/Dump.h>
2323
#include <ifm3d_ros_msgs/Extrinsics.h>
@@ -39,7 +39,7 @@ class CameraNodelet : public nodelet::Nodelet
3939
//
4040
// Nodelet lifecycle functions
4141
//
42-
virtual void onInit() override;
42+
void onInit() override;
4343

4444
//
4545
// ROS services
@@ -79,7 +79,7 @@ class CameraNodelet : public nodelet::Nodelet
7979

8080
ifm3d::CameraBase::Ptr cam_;
8181
ifm3d::FrameGrabber::Ptr fg_;
82-
ifm3d::ImageBuffer::Ptr im_;
82+
ifm3d::StlImageBuffer::Ptr im_;
8383
std::mutex mutex_;
8484

8585
ros::NodeHandle np_;
@@ -92,14 +92,12 @@ class CameraNodelet : public nodelet::Nodelet
9292
ros::Publisher uvec_pub_;
9393
ros::Publisher extrinsics_pub_;
9494
image_transport::Publisher distance_pub_;
95-
// image_transport::Publisher distance_noise_pub_;
95+
image_transport::Publisher distance_noise_pub_;
9696
image_transport::Publisher amplitude_pub_;
9797
image_transport::Publisher raw_amplitude_pub_;
9898
image_transport::Publisher conf_pub_;
99-
image_transport::Publisher good_bad_pub_;
100-
image_transport::Publisher xyz_image_pub_;
10199
image_transport::Publisher gray_image_pub_;
102-
image_transport::Publisher rgb_image_pub_;
100+
ros::Publisher rgb_image_pub_;
103101

104102
//
105103
// Services we advertise

ifm3d_ros_driver/package.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package format="2">
33

44
<name>ifm3d_ros_driver</name>
5-
<version>0.7.0</version>
5+
<version>1.0.1</version>
66
<description>ifm 3D ToF Camera ROS main driver package</description>
77
<maintainer email="[email protected]">ifm CSR group</maintainer>
88
<license>Apache 2</license>
@@ -15,14 +15,13 @@
1515

1616
<depend>rospy</depend>
1717
<depend>image_transport</depend>
18-
<depend>pcl_ros</depend>
19-
<depend>cv_bridge</depend>
2018
<depend>nodelet</depend>
2119
<depend>roscpp</depend>
2220
<depend>sensor_msgs</depend>
2321
<depend>std_msgs</depend>
2422
<depend>ifm3d_ros_msgs</depend>
25-
23+
24+
<test_depend>cv_bridge</test_depend>
2625

2726
<export>
2827
<nodelet plugin="${prefix}/nodelets.xml"/>

0 commit comments

Comments
 (0)