Skip to content

Commit 699ee5b

Browse files
committed
More linting changes.
1 parent 5abd6dc commit 699ee5b

File tree

5 files changed

+32
-29
lines changed

5 files changed

+32
-29
lines changed

wireless_watcher/CMakeLists.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ install(FILES package.xml
4848
if(BUILD_TESTING)
4949
find_package(ament_lint_auto REQUIRED)
5050
list(APPEND AMENT_LINT_AUTO_EXCLUDE
51-
ament_cmake_copyright
52-
ament_cmake_cpplint
53-
ament_cmake_uncrustify
54-
)
51+
ament_cmake_copyright
52+
ament_cmake_cpplint
53+
ament_cmake_uncrustify
54+
)
5555
ament_lint_auto_find_test_dependencies()
5656
endif()
5757

wireless_watcher/include/wireless_watcher/wireless_watcher.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
*
3434
*/
3535

36-
#ifndef WIRELESS_WATCHER_HPP
37-
#define WIRELESS_WATCHER_HPP
36+
#ifndef WIRELESS_WATCHER__WIRELESS_WATCHER_HPP_
37+
#define WIRELESS_WATCHER__WIRELESS_WATCHER_HPP_
3838

3939
#include <string>
4040
#include <vector>
@@ -76,4 +76,4 @@ class WirelessWatcher : public rclcpp::Node
7676
void ip_address_diag(std::string dev, diagnostic_updater::DiagnosticStatusWrapper & stat);
7777
};
7878

79-
#endif // WIRELESS_WATCHER_HPP
79+
#endif // WIRELESS_WATCHER__WIRELESS_WATCHER_HPP_

wireless_watcher/launch/watcher.launch.py

+20-17
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
1-
# Copyright 2022 Clearpath Robotics, Inc.
2-
#
31
# Software License Agreement (BSD)
42
#
53
# @author Roni Kreinin <rkreinin@clearpathrobotics.com>
64
# @copyright (c) 2022, Clearpath Robotics, Inc., All rights reserved.
75
#
8-
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that
9-
# the following conditions are met:
10-
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the
11-
# following disclaimer.
12-
# * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
13-
# following disclaimer in the documentation and/or other materials provided with the distribution.
14-
# * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or
15-
# promote products derived from this software without specific prior written permission.
6+
# Redistribution and use in source and binary forms, with or without
7+
# modification, are permitted provided that the following conditions are met:
8+
# * Redistributions of source code must retain the above copyright notice,
9+
# this list of conditions and the following disclaimer.
10+
# * Redistributions in binary form must reproduce the above copyright notice,
11+
# this list of conditions and the following disclaimer in the documentation
12+
# and/or other materials provided with the distribution.
13+
# * Neither the name of Clearpath Robotics nor the names of its contributors
14+
# may be used to endorse or promote products derived from this software
15+
# without specific prior written permission.
1616
#
17-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED
18-
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
19-
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
20-
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21-
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22-
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
23-
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
17+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18+
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20+
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
21+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25+
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26+
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2427
# POSSIBILITY OF SUCH DAMAGE.
2528

2629

wireless_watcher/package.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<version>1.1.3</version>
66
<description>A node which publishes connection information about a linux wireless interface.</description>
77

8-
<author>Mike Purvis</author>
9-
10-
<maintainer email="rkreinin@clearpathrobotics.com">rkreinin</maintainer>
8+
<author email="mpurvis@clearpathrobotics.com">Mike Purvis</author>
9+
10+
<maintainer email="rkreinin@clearpathrobotics.com">Roni Kreinin</maintainer>
1111
<maintainer email="tbaltovski@clearpathrobotics.com">Tony Baltovski</maintainer>
1212

1313
<license>BSD</license>

wireless_watcher/src/wireless_watcher.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
*
3434
*/
3535

36+
#include "wireless_watcher/wireless_watcher.hpp"
37+
3638
#include <iostream>
3739
#include <fstream>
3840
#include <string>
@@ -50,8 +52,6 @@
5052

5153
#include "diagnostic_updater/diagnostic_updater.hpp"
5254

53-
#include "wireless_watcher/wireless_watcher.hpp"
54-
5555
using namespace std::chrono_literals;
5656

5757

0 commit comments

Comments
 (0)