Skip to content

Commit 24030cd

Browse files
author
Mehmet Emin BAŞOĞLU
committed
chore: add license and fix cspell
Signed-off-by: Mehmet Emin BAŞOĞLU <memin@leodrive.ai>
1 parent 3337f0c commit 24030cd

File tree

3 files changed

+29
-202
lines changed

3 files changed

+29
-202
lines changed

system/autoware_component_monitor/LICENSE

-202
This file was deleted.

system/autoware_component_monitor/src/component_monitor_node.cpp

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2024 The Autoware Foundation
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
#include "component_monitor_node.hpp"
216

317
namespace autoware::component_monitor
@@ -100,6 +114,7 @@ uint32_t ComponentMonitor::to_uint32(const std::string & str)
100114
return std::strtoul(str.c_str(), nullptr, 10);
101115
}
102116

117+
// cspell: ignore pidstat, leopc
103118
/**
104119
* @brief Get CPU usage of the component.
105120
*

system/autoware_component_monitor/src/component_monitor_node.hpp

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2024 The Autoware Foundation
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
#pragma once
216

317
#include "rclcpp/rclcpp.hpp"

0 commit comments

Comments
 (0)