Skip to content

Commit ff04ad2

Browse files
style(pre-commit): autofix
1 parent e6eaff9 commit ff04ad2

5 files changed

+16
-17
lines changed

localization/ndt_scan_matcher/test/stub_initialpose_client.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NDT_SCAN_MATCHER__TEST__STUB_INITIALPOSE_CLIENT_HPP_
16-
#define NDT_SCAN_MATCHER__TEST__STUB_INITIALPOSE_CLIENT_HPP_
15+
#ifndef STUB_INITIALPOSE_CLIENT_HPP_
16+
#define STUB_INITIALPOSE_CLIENT_HPP_
1717

1818
#include <rclcpp/rclcpp.hpp>
1919

@@ -62,4 +62,4 @@ class StubInitialposeClient : public rclcpp::Node
6262
rclcpp::Client<AlignSrv>::SharedPtr align_service_client_;
6363
};
6464

65-
#endif // NDT_SCAN_MATCHER__TEST__STUB_INITIALPOSE_CLIENT_HPP_
65+
#endif // STUB_INITIALPOSE_CLIENT_HPP_

localization/ndt_scan_matcher/test/stub_pcd_loader.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NDT_SCAN_MATCHER__TEST__STUB_PCD_LOADER_HPP_
16-
#define NDT_SCAN_MATCHER__TEST__STUB_PCD_LOADER_HPP_
15+
#ifndef STUB_PCD_LOADER_HPP_
16+
#define STUB_PCD_LOADER_HPP_
1717

1818
#include "test_util.hpp"
1919

@@ -59,4 +59,4 @@ class StubPcdLoader : public rclcpp::Node
5959
}
6060
};
6161

62-
#endif // NDT_SCAN_MATCHER__TEST__STUB_PCD_LOADER_HPP_
62+
#endif // STUB_PCD_LOADER_HPP_

localization/ndt_scan_matcher/test/stub_sensor_pcd_publisher.hpp

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NDT_SCAN_MATCHER__TEST__STUB_SENSOR_PCD_PUBLISHER_HPP_
16-
#define NDT_SCAN_MATCHER__TEST__STUB_SENSOR_PCD_PUBLISHER_HPP_
15+
#ifndef STUB_SENSOR_PCD_PUBLISHER_HPP_
16+
#define STUB_SENSOR_PCD_PUBLISHER_HPP_
1717

1818
#include <rclcpp/rclcpp.hpp>
1919

@@ -24,8 +24,7 @@ class StubSensorPcdPublisher : public rclcpp::Node
2424
public:
2525
StubSensorPcdPublisher() : Node("stub_sensor_pcd_publisher")
2626
{
27-
pcd_publisher_ =
28-
this->create_publisher<sensor_msgs::msg::PointCloud2>("/points_raw", 10);
27+
pcd_publisher_ = this->create_publisher<sensor_msgs::msg::PointCloud2>("/points_raw", 10);
2928
}
3029

3130
void publish_pcd(const sensor_msgs::msg::PointCloud2 & pcd) { pcd_publisher_->publish(pcd); }
@@ -34,4 +33,4 @@ class StubSensorPcdPublisher : public rclcpp::Node
3433
rclcpp::Publisher<sensor_msgs::msg::PointCloud2>::SharedPtr pcd_publisher_;
3534
};
3635

37-
#endif // NDT_SCAN_MATCHER__TEST__STUB_SENSOR_PCD_PUBLISHER_HPP_
36+
#endif // STUB_SENSOR_PCD_PUBLISHER_HPP_

localization/ndt_scan_matcher/test/stub_trigger_node_client.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NDT_SCAN_MATCHER__TEST__STUB_TRIGGER_NODE_CLIENT_HPP_
16-
#define NDT_SCAN_MATCHER__TEST__STUB_TRIGGER_NODE_CLIENT_HPP_
15+
#ifndef STUB_TRIGGER_NODE_CLIENT_HPP_
16+
#define STUB_TRIGGER_NODE_CLIENT_HPP_
1717

1818
#include <rclcpp/rclcpp.hpp>
1919

@@ -61,4 +61,4 @@ class StubTriggerNodeClient : public rclcpp::Node
6161
rclcpp::Client<SetBool>::SharedPtr align_service_client_;
6262
};
6363

64-
#endif // NDT_SCAN_MATCHER__TEST__STUB_TRIGGER_NODE_CLIENT_HPP_
64+
#endif // STUB_TRIGGER_NODE_CLIENT_HPP_

localization/ndt_scan_matcher/test/test_util.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NDT_SCAN_MATCHER__TEST__TEST_UTIL_HPP_
16-
#define NDT_SCAN_MATCHER__TEST__TEST_UTIL_HPP_
15+
#ifndef TEST_UTIL_HPP_
16+
#define TEST_UTIL_HPP_
1717

1818
#include <pcl/point_types.h>
1919

@@ -40,4 +40,4 @@ pcl::PointCloud<pcl::PointXYZ> make_sample_pcd(
4040
return cloud;
4141
}
4242

43-
#endif // NDT_SCAN_MATCHER__TEST__TEST_UTIL_HPP_
43+
#endif // TEST_UTIL_HPP_

0 commit comments

Comments
 (0)