Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jul 4, 2024
1 parent e13529c commit 24770f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ DummyOperationModePublisher::DummyOperationModePublisher(const rclcpp::NodeOptio

// Timer
using namespace std::literals::chrono_literals;
timer_ = rclcpp::create_timer(this, get_clock(), 1s, std::bind(&DummyOperationModePublisher::onTimer, this));
timer_ = rclcpp::create_timer(
this, get_clock(), 1s, std::bind(&DummyOperationModePublisher::onTimer, this));

// State

// Diagnostics

}

void DummyOperationModePublisher::onTimer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef DUMMY_OPERATION_MODE_PUBLISHER__DUMMY_OPERATION_MODE_PUBLISHER_HPP_
#define DUMMY_OPERATION_MODE_PUBLISHER__DUMMY_OPERATION_MODE_PUBLISHER_HPP_
#ifndef DUMMY_OPERATION_MODE_PUBLISHER_HPP_
#define DUMMY_OPERATION_MODE_PUBLISHER_HPP_

// include
#include <rclcpp/rclcpp.hpp>

#include <autoware_adapi_v1_msgs/msg/operation_mode_state.hpp>


namespace dummy_operation_mode_publisher
{

Expand All @@ -36,7 +35,8 @@ class DummyOperationModePublisher : public rclcpp::Node
// Subscriber

// Publisher
rclcpp::Publisher<autoware_adapi_v1_msgs::msg::OperationModeState>::SharedPtr pub_operation_mode_state_;
rclcpp::Publisher<autoware_adapi_v1_msgs::msg::OperationModeState>::SharedPtr
pub_operation_mode_state_;

// Service

Expand All @@ -50,8 +50,7 @@ class DummyOperationModePublisher : public rclcpp::Node
// State

// Diagnostics

};
} // namespace dummy_operation_mode_publisher

#endif // DUMMY_OPERATION_MODE_PUBLISHER__DUMMY_OPERATION_MODE_PUBLISHER_HPP_
#endif // DUMMY_OPERATION_MODE_PUBLISHER_HPP_

0 comments on commit 24770f9

Please sign in to comment.