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 Jan 23, 2025
1 parent 1f18bf2 commit c1a7760
Show file tree
Hide file tree
Showing 26 changed files with 71 additions and 72 deletions.
2 changes: 1 addition & 1 deletion launch/tier4_system_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<exec_depend>component_state_monitor</exec_depend>
<exec_depend>autoware_system_monitor</exec_depend>
<exec_depend>component_state_monitor</exec_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief ARM CPU monitor class
*/

#ifndef SYSTEM_MONITOR__CPU_MONITOR__ARM_CPU_MONITOR_HPP_
#define SYSTEM_MONITOR__CPU_MONITOR__ARM_CPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__ARM_CPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__ARM_CPU_MONITOR_HPP_

#include "autoware/system_monitor/cpu_monitor/cpu_monitor_base.hpp"

Expand Down Expand Up @@ -55,4 +55,4 @@ class CPUMonitor : public CPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__CPU_MONITOR__ARM_CPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__ARM_CPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief CPU monitor base class
*/

#ifndef SYSTEM_MONITOR__CPU_MONITOR__CPU_MONITOR_BASE_HPP_
#define SYSTEM_MONITOR__CPU_MONITOR__CPU_MONITOR_BASE_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__CPU_MONITOR_BASE_HPP_
#define AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__CPU_MONITOR_BASE_HPP_

#include <diagnostic_updater/diagnostic_updater.hpp>

Expand Down Expand Up @@ -178,4 +178,4 @@ class CPUMonitorBase : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__CPU_MONITOR__CPU_MONITOR_BASE_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__CPU_MONITOR_BASE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief CPU monitor class
*/

#ifndef SYSTEM_MONITOR__CPU_MONITOR__INTEL_CPU_MONITOR_HPP_
#define SYSTEM_MONITOR__CPU_MONITOR__INTEL_CPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__INTEL_CPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__INTEL_CPU_MONITOR_HPP_

#include "autoware/system_monitor/cpu_monitor/cpu_monitor_base.hpp"

Expand Down Expand Up @@ -61,4 +61,4 @@ class CPUMonitor : public CPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__CPU_MONITOR__INTEL_CPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__INTEL_CPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief Raspberry Pi CPU monitor class
*/

#ifndef SYSTEM_MONITOR__CPU_MONITOR__RASPI_CPU_MONITOR_HPP_
#define SYSTEM_MONITOR__CPU_MONITOR__RASPI_CPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__RASPI_CPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__RASPI_CPU_MONITOR_HPP_

#include "autoware/system_monitor/cpu_monitor/cpu_monitor_base.hpp"

Expand Down Expand Up @@ -77,4 +77,4 @@ class CPUMonitor : public CPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__CPU_MONITOR__RASPI_CPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__RASPI_CPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief TEGRA CPU monitor class
*/

#ifndef SYSTEM_MONITOR__CPU_MONITOR__TEGRA_CPU_MONITOR_HPP_
#define SYSTEM_MONITOR__CPU_MONITOR__TEGRA_CPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__TEGRA_CPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__TEGRA_CPU_MONITOR_HPP_

#include "autoware/system_monitor/cpu_monitor/cpu_monitor_base.hpp"

Expand Down Expand Up @@ -55,4 +55,4 @@ class CPUMonitor : public CPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__CPU_MONITOR__TEGRA_CPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__TEGRA_CPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief Unknown CPU monitor class
*/

#ifndef SYSTEM_MONITOR__CPU_MONITOR__UNKNOWN_CPU_MONITOR_HPP_
#define SYSTEM_MONITOR__CPU_MONITOR__UNKNOWN_CPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__UNKNOWN_CPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__UNKNOWN_CPU_MONITOR_HPP_

#include "autoware/system_monitor/cpu_monitor/cpu_monitor_base.hpp"

Expand All @@ -40,4 +40,4 @@ class CPUMonitor : public CPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__CPU_MONITOR__UNKNOWN_CPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__CPU_MONITOR__UNKNOWN_CPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief GPU monitor class
*/

#ifndef SYSTEM_MONITOR__GPU_MONITOR__GPU_MONITOR_BASE_HPP_
#define SYSTEM_MONITOR__GPU_MONITOR__GPU_MONITOR_BASE_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__GPU_MONITOR_BASE_HPP_
#define AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__GPU_MONITOR_BASE_HPP_

#include <diagnostic_updater/diagnostic_updater.hpp>

Expand Down Expand Up @@ -131,4 +131,4 @@ class GPUMonitorBase : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__GPU_MONITOR__GPU_MONITOR_BASE_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__GPU_MONITOR_BASE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief NVML GPU monitor class
*/

#ifndef SYSTEM_MONITOR__GPU_MONITOR__NVML_GPU_MONITOR_HPP_
#define SYSTEM_MONITOR__GPU_MONITOR__NVML_GPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__NVML_GPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__NVML_GPU_MONITOR_HPP_

#include "autoware/system_monitor/gpu_monitor/gpu_monitor_base.hpp"

Expand Down Expand Up @@ -162,4 +162,4 @@ class GPUMonitor : public GPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__GPU_MONITOR__NVML_GPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__NVML_GPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @brief Tegra GPU monitor class
*/

#ifndef SYSTEM_MONITOR__GPU_MONITOR__TEGRA_GPU_MONITOR_HPP_
#define SYSTEM_MONITOR__GPU_MONITOR__TEGRA_GPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__TEGRA_GPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__TEGRA_GPU_MONITOR_HPP_

#include "autoware/system_monitor/gpu_monitor/gpu_monitor_base.hpp"

Expand Down Expand Up @@ -105,4 +105,4 @@ class GPUMonitor : public GPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__GPU_MONITOR__TEGRA_GPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__TEGRA_GPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief Unknown GPU monitor class
*/

#ifndef SYSTEM_MONITOR__GPU_MONITOR__UNKNOWN_GPU_MONITOR_HPP_
#define SYSTEM_MONITOR__GPU_MONITOR__UNKNOWN_GPU_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__UNKNOWN_GPU_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__UNKNOWN_GPU_MONITOR_HPP_

#include "autoware/system_monitor/gpu_monitor/gpu_monitor_base.hpp"

Expand All @@ -39,4 +39,4 @@ class GPUMonitor : public GPUMonitorBase

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__GPU_MONITOR__UNKNOWN_GPU_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__GPU_MONITOR__UNKNOWN_GPU_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief HDD monitor class
*/

#ifndef SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_
#define SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_

#include "autoware/system_monitor/hdd_reader/hdd_reader.hpp"

Expand Down Expand Up @@ -396,4 +396,4 @@ class HddMonitor : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__HDD_MONITOR__HDD_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief HDD reader definitions
*/

#ifndef SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_
#define SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_
#define AUTOWARE__SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_

#include <boost/serialization/map.hpp>
#include <boost/serialization/serialization.hpp>
Expand Down Expand Up @@ -140,4 +140,4 @@ typedef std::map<std::string, HddInfo> HddInfoList;

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__HDD_READER__HDD_READER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief Memory monitor class
*/

#ifndef SYSTEM_MONITOR__MEM_MONITOR__MEM_MONITOR_HPP_
#define SYSTEM_MONITOR__MEM_MONITOR__MEM_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__MEM_MONITOR__MEM_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__MEM_MONITOR__MEM_MONITOR_HPP_

#include <diagnostic_updater/diagnostic_updater.hpp>

Expand Down Expand Up @@ -83,4 +83,4 @@ class MemMonitor : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__MEM_MONITOR__MEM_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__MEM_MONITOR__MEM_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief MSR reader definitions
*/

#ifndef SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_
#define SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_
#define AUTOWARE__SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_

#include <boost/serialization/serialization.hpp>
#include <boost/serialization/vector.hpp>
Expand Down Expand Up @@ -53,4 +53,4 @@ struct MSRInfo

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__MSR_READER__MSR_READER_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief Net monitor class
*/

#ifndef SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_
#define SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_

#include "autoware/system_monitor/net_monitor/nl80211.hpp"
#include "autoware/system_monitor/traffic_reader/traffic_reader_common.hpp"
Expand Down Expand Up @@ -415,4 +415,4 @@ class NetMonitor : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__NET_MONITOR__NET_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief 802.11 netlink-based interface class
*/

#ifndef SYSTEM_MONITOR__NET_MONITOR__NL80211_HPP_
#define SYSTEM_MONITOR__NET_MONITOR__NL80211_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__NET_MONITOR__NL80211_HPP_
#define AUTOWARE__SYSTEM_MONITOR__NET_MONITOR__NL80211_HPP_

namespace autoware::system_monitor
{
Expand Down Expand Up @@ -62,4 +62,4 @@ class NL80211

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__NET_MONITOR__NL80211_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__NET_MONITOR__NL80211_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief NTP monitor class
*/

#ifndef SYSTEM_MONITOR__NTP_MONITOR__NTP_MONITOR_HPP_
#define SYSTEM_MONITOR__NTP_MONITOR__NTP_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__NTP_MONITOR__NTP_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__NTP_MONITOR__NTP_MONITOR_HPP_

#include <diagnostic_updater/diagnostic_updater.hpp>

Expand Down Expand Up @@ -107,4 +107,4 @@ class NTPMonitor : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__NTP_MONITOR__NTP_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__NTP_MONITOR__NTP_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief diagnostics task for high load/memory procs
*/

#ifndef SYSTEM_MONITOR__PROCESS_MONITOR__DIAG_TASK_HPP_
#define SYSTEM_MONITOR__PROCESS_MONITOR__DIAG_TASK_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__PROCESS_MONITOR__DIAG_TASK_HPP_
#define AUTOWARE__SYSTEM_MONITOR__PROCESS_MONITOR__DIAG_TASK_HPP_

#include <diagnostic_updater/diagnostic_updater.hpp>

Expand Down Expand Up @@ -120,4 +120,4 @@ class DiagTask : public diagnostic_updater::DiagnosticTask

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__PROCESS_MONITOR__DIAG_TASK_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__PROCESS_MONITOR__DIAG_TASK_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief Process monitor class
*/

#ifndef SYSTEM_MONITOR__PROCESS_MONITOR__PROCESS_MONITOR_HPP_
#define SYSTEM_MONITOR__PROCESS_MONITOR__PROCESS_MONITOR_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__PROCESS_MONITOR__PROCESS_MONITOR_HPP_
#define AUTOWARE__SYSTEM_MONITOR__PROCESS_MONITOR__PROCESS_MONITOR_HPP_

#include "autoware/system_monitor/process_monitor/diag_task.hpp"

Expand Down Expand Up @@ -142,4 +142,4 @@ class ProcessMonitor : public rclcpp::Node

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__PROCESS_MONITOR__PROCESS_MONITOR_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__PROCESS_MONITOR__PROCESS_MONITOR_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief System Monitor Utility class
*/

#ifndef SYSTEM_MONITOR__SYSTEM_MONITOR_UTILITY_HPP_
#define SYSTEM_MONITOR__SYSTEM_MONITOR_UTILITY_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__SYSTEM_MONITOR_UTILITY_HPP_
#define AUTOWARE__SYSTEM_MONITOR__SYSTEM_MONITOR_UTILITY_HPP_

#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
Expand Down Expand Up @@ -126,4 +126,4 @@ class SystemMonitorUtility

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__SYSTEM_MONITOR_UTILITY_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__SYSTEM_MONITOR_UTILITY_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @brief traffic reader definitions
*/

#ifndef SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_
#define SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_
#define AUTOWARE__SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_

#include <boost/serialization/serialization.hpp>
#include <boost/serialization/string.hpp>
Expand Down Expand Up @@ -65,4 +65,4 @@ struct Result

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_COMMON_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 SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_
#define SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_
#ifndef AUTOWARE__SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_
#define AUTOWARE__SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_

#include "autoware/system_monitor/traffic_reader/traffic_reader_common.hpp"

Expand Down Expand Up @@ -112,4 +112,4 @@ class TrafficReaderService

} // namespace autoware::system_monitor

#endif // SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_
#endif // AUTOWARE__SYSTEM_MONITOR__TRAFFIC_READER__TRAFFIC_READER_SERVICE_HPP_
Loading

0 comments on commit c1a7760

Please sign in to comment.