Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
DCO 1.1 Signed-off-by: Tatsuya Ishihara <[email protected]>
  • Loading branch information
tatsuya-ishihara committed Nov 18, 2024
1 parent 5adfc96 commit 1545f4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cabot_navigation2/src/clip_ground_filter_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ void ClipGroundFilterNode::filterGround(
if (publish_debug_ground_) {
visualization_msgs::msg::Marker plane_marker;
plane_marker.header.frame_id = target_frame_;
plane_marker.header.stamp = time;
plane_marker.ns = "clip_plane";
plane_marker.id = 0;
plane_marker.type = visualization_msgs::msg::Marker::CUBE;
Expand Down
2 changes: 2 additions & 0 deletions cabot_navigation2/src/grid_map_ground_filter_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,11 @@ void GridMapGroundFilterNode::filterGround(
sensor_msgs::msg::PointCloud2 outlier_points_msg;
pcl::toROSMsg(*outlier_points, outlier_points_msg);
outlier_points_msg.header.frame_id = "odom";
outlier_points_msg.header.stamp = time;
debug_outlier_pointcloud_pub_->publish(outlier_points_msg);

auto grid_map_msg = grid_map::GridMapRosConverter::toMessage(*grid_map_ptr_);
grid_map_msg->header.stamp = time;
debug_grid_map_pub_->publish(std::move(grid_map_msg));
}
}
Expand Down
1 change: 1 addition & 0 deletions cabot_navigation2/src/ransac_ground_filter_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void RansacGroundFilterNode::filterGround(
if (publish_debug_ground_) {
visualization_msgs::msg::Marker plane_marker;
plane_marker.header.frame_id = target_frame_;
plane_marker.header.stamp = time;
plane_marker.ns = "ransac_plane";
plane_marker.id = 0;
plane_marker.type = visualization_msgs::msg::Marker::CUBE;
Expand Down

0 comments on commit 1545f4c

Please sign in to comment.