def test_roundtrip(self):
points_arr = self.makeArray(100)
cloud_msg = ros_numpy.msgify(PointCloud2, points_arr)
new_points_arr = ros_numpy.numpify(cloud_msg)
np.testing.assert_equal(points_arr, new_points_arr)
评论列表
文章目录