Fix a serialization error with point_cloud headers
This commit is contained in:
parent
11d24d0e97
commit
3bc59ab51b
@ -213,8 +213,8 @@ namespace ros
|
|||||||
inline static void read(Stream& stream, pcl::PointCloud<T>& m)
|
inline static void read(Stream& stream, pcl::PointCloud<T>& m)
|
||||||
{
|
{
|
||||||
std_msgs::Header header;
|
std_msgs::Header header;
|
||||||
pcl_conversions::fromPCL(m.header, header);
|
|
||||||
stream.next(header);
|
stream.next(header);
|
||||||
|
pcl_conversions::toPCL(header, m.header);
|
||||||
stream.next(m.height);
|
stream.next(m.height);
|
||||||
stream.next(m.width);
|
stream.next(m.width);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user