Skip to content

Commit

Permalink
Fix param declaration (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
giafranchini authored Aug 2, 2023
1 parent b79fc87 commit acfd813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros/ros2/OdometryServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ OdometryServer::OdometryServer(const rclcpp::NodeOptions &options)
child_frame_ = declare_parameter<std::string>("child_frame", child_frame_);
odom_frame_ = declare_parameter<std::string>("odom_frame", odom_frame_);
publish_alias_tf_ = declare_parameter<bool>("publish_alias_tf", publish_alias_tf_);
publish_odom_tf_ = declare_parameter<bool>("publish_odom_tf", publish_alias_tf_);
publish_odom_tf_ = declare_parameter<bool>("publish_odom_tf", publish_odom_tf_);
config_.max_range = declare_parameter<double>("max_range", config_.max_range);
config_.min_range = declare_parameter<double>("min_range", config_.min_range);
config_.deskew = declare_parameter<bool>("deskew", config_.deskew);
Expand Down

0 comments on commit acfd813

Please sign in to comment.