Skip to content

Commit

Permalink
Fix timer frequency to 20 Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
szepilot committed Aug 30, 2024
1 parent 72b7b48 commit 64dde7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcl_merger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace merger
initPointCloudPtrList();

// subscriber and publisher declarations
timer_pub = this->create_wall_timer(50ms, std::bind(&OusterPCLMerger::mergedPCLPubCallback, this));
timer_pub = this->create_wall_timer(50ms, std::bind(&OusterPCLMerger::mergedPCLPubCallback, this)); // TODO: this is fix 20 hz, make it param https://github.com/jkk-research/lexus_bringup/issues/15
initSubscribers();
this->merged_pcl_pub = this->create_publisher<sensor_msgs::msg::PointCloud2>(pub_topic_name, 1);
}
Expand Down

0 comments on commit 64dde7e

Please sign in to comment.