Skip to content

Commit

Permalink
fix(probabilistic_occupancy_grid_map): fix knownConditionTrueFalse wa…
Browse files Browse the repository at this point in the history
…rning (autowarefoundation#8138)

Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc authored Jul 22, 2024
1 parent 093c20c commit 905b74a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ GridMapFusionNode::GridMapFusionNode(const rclcpp::NodeOptions & node_options)
throw std::runtime_error("The number of input topics must larger than 0.");
}
num_input_topics_ = input_topics_.size();
if (num_input_topics_ < 1) {
RCLCPP_WARN(
this->get_logger(), "minimum num_input_topics_ is 1. current num_input_topics_ is %zu",
num_input_topics_);
num_input_topics_ = 1;
}
if (num_input_topics_ > 12) {
RCLCPP_WARN(
this->get_logger(), "maximum num_input_topics_ is 12. current num_input_topics_ is %zu",
Expand Down

0 comments on commit 905b74a

Please sign in to comment.