Skip to content

Commit

Permalink
Revert "chore(dummy_perception_publisher): change raytrace param (aut…
Browse files Browse the repository at this point in the history
…owarefoundation#414)"

This reverts commit d29e0e1.

Signed-off-by: taikitanaka <ttatcoder@outlook.jp>
  • Loading branch information
taikitanaka3 committed Mar 2, 2022
1 parent 405c0ca commit 19369a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions simulator/dummy_perception_publisher/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@ void DummyPerceptionPublisherNode::timerCallback()
new pcl::PointCloud<pcl::PointXYZ>);
pcl::VoxelGridOcclusionEstimation<pcl::PointXYZ> ray_tracing_filter;
ray_tracing_filter.setInputCloud(merged_pointcloud_ptr);
// above this value raytrace won't be as expected
const double leaf_size = 0.02;
ray_tracing_filter.setLeafSize(leaf_size, leaf_size, leaf_size);
ray_tracing_filter.setLeafSize(0.25, 0.25, 0.25);
ray_tracing_filter.initializeVoxelGrid();
for (size_t i = 0; i < v_pointcloud.size(); ++i) {
pcl::PointCloud<pcl::PointXYZ>::Ptr ray_traced_pointcloud_ptr(
Expand Down

0 comments on commit 19369a1

Please sign in to comment.