Skip to content

Commit f032571

Browse files
style(pre-commit): autofix
1 parent 5a0a7f4 commit f032571

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

dummy/dummy_gear_cmd_publisher/src/dummy_gear_cmd_publisher.cpp

+4-5
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,21 @@ DummyGearCmdPublisher::DummyGearCmdPublisher(const rclcpp::NodeOptions & node_op
2525
// Subscriber
2626

2727
// Publisher
28-
pub_gear_cmd_ = create_publisher<autoware_auto_vehicle_msgs::msg::GearCommand>(
29-
"~/output/gear_cmd", 10);
28+
pub_gear_cmd_ =
29+
create_publisher<autoware_auto_vehicle_msgs::msg::GearCommand>("~/output/gear_cmd", 10);
3030

3131
// Service
3232

3333
// Client
3434

3535
// Timer
3636
using namespace std::literals::chrono_literals;
37-
timer_ = rclcpp::create_timer(
38-
this, get_clock(), 1s, std::bind(&DummyGearCmdPublisher::onTimer, this));
37+
timer_ =
38+
rclcpp::create_timer(this, get_clock(), 1s, std::bind(&DummyGearCmdPublisher::onTimer, this));
3939

4040
// State
4141

4242
// Diagnostics
43-
4443
}
4544

4645
void DummyGearCmdPublisher::onTimer()

dummy/dummy_gear_cmd_publisher/src/dummy_gear_cmd_publisher.hpp

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

15-
#ifndef DUMMY_GEAR_CMD_PUBLISHER__DUMMY_GEAR_CMD_PUBLISHER_HPP_
16-
#define DUMMY_GEAR_CMD_PUBLISHER__DUMMY_GEAR_CMD_PUBLISHER_HPP_
15+
#ifndef DUMMY_GEAR_CMD_PUBLISHER_HPP_
16+
#define DUMMY_GEAR_CMD_PUBLISHER_HPP_
1717

1818
// include
19-
#include <autoware_auto_vehicle_msgs/msg/gear_command.hpp>
2019
#include <rclcpp/rclcpp.hpp>
2120

21+
#include <autoware_auto_vehicle_msgs/msg/gear_command.hpp>
22+
2223
namespace dummy_gear_cmd_publisher
2324
{
2425

@@ -48,8 +49,7 @@ class DummyGearCmdPublisher : public rclcpp::Node
4849
// State
4950

5051
// Diagnostics
51-
5252
};
5353
} // namespace dummy_gear_cmd_publisher
5454

55-
#endif // DUMMY_GEAR_CMD_PUBLISHER__DUMMY_GEAR_CMD_PUBLISHER_HPP_
55+
#endif // DUMMY_GEAR_CMD_PUBLISHER_HPP_

0 commit comments

Comments
 (0)