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 May 17, 2024
1 parent 8d2db52 commit ed2efdb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions common/autoware_node/include/autoware/node/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_NODE__AUTOWARE_NODE_HPP_
#define AUTOWARE_NODE__AUTOWARE_NODE_HPP_
#ifndef AUTOWARE__NODE__NODE_HPP_
#define AUTOWARE__NODE__NODE_HPP_

#include "autoware/node/visibility_control.hpp"

Expand Down Expand Up @@ -144,4 +144,4 @@ class Node : public rclcpp_lifecycle::LifecycleNode

} // namespace autoware::node

#endif // AUTOWARE_NODE__AUTOWARE_NODE_HPP_
#endif // AUTOWARE__NODE__NODE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef AUTOWARE_NODE__VISIBILITY_CONTROL_HPP_
#define AUTOWARE_NODE__VISIBILITY_CONTROL_HPP_
#ifndef AUTOWARE__NODE__VISIBILITY_CONTROL_HPP_
#define AUTOWARE__NODE__VISIBILITY_CONTROL_HPP_

#include "rcutils/visibility_control_macros.h"
#ifdef AUTOWARE_NODE_BUILDING_DLL
Expand All @@ -23,4 +23,4 @@
#endif // !AUTOWARE_NODE_BUILDING_DLL
#define AUTOWARE_NODE_LOCAL RCUTILS_LOCAL

#endif // AUTOWARE_NODE__VISIBILITY_CONTROL_HPP_
#endif // AUTOWARE__NODE__VISIBILITY_CONTROL_HPP_
5 changes: 2 additions & 3 deletions common/autoware_node/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Node::Node(
"/autoware_control_center/srv/autoware_node_register", rmw_qos_profile_default,
callback_group_mut_ex_);

register_timer_ = this->create_wall_timer(
register_timer_period, std::bind(&Node::register_callback, this));
register_timer_ =
this->create_wall_timer(register_timer_period, std::bind(&Node::register_callback, this));

cli_node_error_ = create_client<autoware_control_center_msgs::srv::ReportState>(
"/autoware_control_center/srv/on_report_error", rmw_qos_profile_default,
Expand Down Expand Up @@ -111,7 +111,6 @@ void Node::heartbeat_callback()
heartbeat_pub_->publish(message);
}


void Node::send_state(
const autoware_control_center_msgs::msg::NodeState & node_state, std::string message)
{
Expand Down
6 changes: 3 additions & 3 deletions common/autoware_node/test/test_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef TEST_AUTOWARE_NODE_HPP_
#define TEST_AUTOWARE_NODE_HPP_
#ifndef TEST_NODE_HPP_
#define TEST_NODE_HPP_

#endif // TEST_AUTOWARE_NODE_HPP_
#endif // TEST_NODE_HPP_

0 comments on commit ed2efdb

Please sign in to comment.