Skip to content

Commit

Permalink
removed const in point_cloud_fusion and point_cloud_fusion_nodes/include
Browse files Browse the repository at this point in the history
  • Loading branch information
JonSmet committed Mar 28, 2024
1 parent e6f9697 commit 1405150
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class POINT_CLOUD_FUSION_PUBLIC PointCloudFusion
/// \param[out] cloud_concatenated fused msgs.
/// \return Size of the concatenated pointcloud.
uint32_t fuse_pc_msgs(
const std::array<PointCloudMsgT::ConstSharedPtr, 8> & msgs,
const std::array<PointCloudMsgT::SharedPtr, 8> & msgs,
PointCloudMsgT & cloud_concatenated);

private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PointCloudFusion::PointCloudFusion(
}

uint32_t PointCloudFusion::fuse_pc_msgs(
const std::array<PointCloudMsgT::ConstSharedPtr, 8> & msgs,
const std::array<PointCloudMsgT::SharedPtr, 8> & msgs,
PointCloudMsgT & cloud_concatenated)
{
uint32_t pc_concat_idx = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ class POINT_CLOUD_FUSION_NODES_PUBLIC PointCloudFusionNode : public rclcpp::Node
std::chrono::nanoseconds convert_msg_time(builtin_interfaces::msg::Time stamp);

void pointcloud_callback(
const PointCloudMsgT::ConstSharedPtr & msg1, const PointCloudMsgT::ConstSharedPtr & msg2,
const PointCloudMsgT::ConstSharedPtr & msg3, const PointCloudMsgT::ConstSharedPtr & msg4,
const PointCloudMsgT::ConstSharedPtr & msg5, const PointCloudMsgT::ConstSharedPtr & msg6,
const PointCloudMsgT::ConstSharedPtr & msg7, const PointCloudMsgT::ConstSharedPtr & msg8);
const PointCloudMsgT::SharedPtr & msg1, const PointCloudMsgT::SharedPtr & msg2,
const PointCloudMsgT::SharedPtr & msg3, const PointCloudMsgT::SharedPtr & msg4,
const PointCloudMsgT::SharedPtr & msg5, const PointCloudMsgT::SharedPtr & msg6,
const PointCloudMsgT::SharedPtr & msg7, const PointCloudMsgT::SharedPtr & msg8);

std::unique_ptr<point_cloud_fusion::PointCloudFusion> m_core;
PointCloudT m_cloud_concatenated;
Expand Down

0 comments on commit 1405150

Please sign in to comment.