Skip to content

Commit

Permalink
concat namespaces
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed May 6, 2024
1 parent 6eecf4a commit 3894410
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@

#include <string>

namespace autoware
{
namespace pose_covariance_modifier
namespace autoware::pose_covariance_modifier
{
class PoseCovarianceModifierNode : public rclcpp::Node
{
public:
PoseCovarianceModifierNode(const rclcpp::NodeOptions & node_options);
explicit PoseCovarianceModifierNode(const rclcpp::NodeOptions & node_options);

enum class PoseSource {
GNSS = 0,
Expand Down Expand Up @@ -81,7 +79,6 @@ class PoseCovarianceModifierNode : public rclcpp::Node
void publish_pose_type(const PoseSource & pose_source);
};

} // namespace pose_covariance_modifier
} // namespace autoware
} // namespace autoware::pose_covariance_modifier

#endif // POSE_COVARIANCE_MODIFIER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
#include <interpolation/linear_interpolation.hpp>
#include <rclcpp/rclcpp.hpp>

namespace autoware
{
namespace pose_covariance_modifier
namespace autoware::pose_covariance_modifier
{

using PoseSource = PoseCovarianceModifierNode::PoseSource;
Expand Down Expand Up @@ -230,8 +228,7 @@ void PoseCovarianceModifierNode::publish_pose_type(const PoseSource & pose_sourc
pub_str_pose_source_->publish(selected_pose_type);
}

} // namespace pose_covariance_modifier
} // namespace autoware
} // namespace autoware::pose_covariance_modifier

#include <rclcpp_components/register_node_macro.hpp>
RCLCPP_COMPONENTS_REGISTER_NODE(autoware::pose_covariance_modifier::PoseCovarianceModifierNode)

0 comments on commit 3894410

Please sign in to comment.