Skip to content

Commit

Permalink
fix(simple_object_merger): change the default param of timeout_thresh…
Browse files Browse the repository at this point in the history
…old (autowarefoundation#6133)

* fix(simple_object_merger): change the default param of timeout_threshold

Signed-off-by: scepter914 <[email protected]>

* fix conflict

Signed-off-by: scepter914 <[email protected]>

---------

Signed-off-by: scepter914 <[email protected]>
  • Loading branch information
scepter914 authored and karishma1911 committed Jun 3, 2024
1 parent 80a0f14 commit 150504c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Parameter -->
<arg name="update_rate_hz" default="20.0"/>
<arg name="new_frame_id" default="base_link"/>
<arg name="timeout_threshold" default="1.0"/>
<arg name="timeout_threshold" default="0.1"/>
<arg name="input_topics" default="[]"/>

<!-- Node -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ SimpleObjectMergerNode::SimpleObjectMergerNode(const rclcpp::NodeOptions & node_
// Node Parameter
node_param_.update_rate_hz = declare_parameter<double>("update_rate_hz", 20.0);
node_param_.new_frame_id = declare_parameter<std::string>("new_frame_id", "base_link");
node_param_.timeout_threshold = declare_parameter<double>("timeout_threshold", 1.0);
node_param_.timeout_threshold = declare_parameter<double>("timeout_threshold", 0.1);

declare_parameter("input_topics", std::vector<std::string>());
node_param_.topic_names = get_parameter("input_topics").as_string_array();
Expand Down

0 comments on commit 150504c

Please sign in to comment.