Skip to content

Commit 5355c7b

Browse files
style(pre-commit): autofix
1 parent 5fb8433 commit 5355c7b

File tree

69 files changed

+6672
-5824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+6672
-5824
lines changed

.github/workflows/build-and-test-differential.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
agnocast_enabled: [0, 1]
1616
exclude:
1717
- rosdistro: jazzy
18-
agnocast_enabled: 1 # Agnocast does not yet support Jazzy
18+
agnocast_enabled: 1 # Agnocast does not yet support Jazzy
1919
env:
2020
CCACHE_DIR: /root/.ccache
2121
CC: /usr/lib/ccache/gcc
@@ -178,7 +178,7 @@ jobs:
178178
rosdistro: ${{ matrix.rosdistro }}
179179
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
180180
build-depends-repos: build_depends-${{ matrix.rosdistro }}.repos
181-
cmake-build-type: Debug # Faster compilation than Release
181+
cmake-build-type: Debug # Faster compilation than Release
182182

183183
- name: Show ccache stats after build
184184
if: steps.cache-analysis.outputs.cache-hit != 'true'

.github/workflows/build-and-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
agnocast_enabled: [0, 1]
1919
exclude:
2020
- rosdistro: jazzy
21-
agnocast_enabled: 1 # Agnocast does not yet support Jazzy
21+
agnocast_enabled: 1 # Agnocast does not yet support Jazzy
2222
env:
2323
CCACHE_DIR: /root/.ccache
24-
CCACHE_SIZE: 1G # The GitHub cache action allows for 10G but the runners' disk space is limited
24+
CCACHE_SIZE: 1G # The GitHub cache action allows for 10G but the runners' disk space is limited
2525
CC: /usr/lib/ccache/gcc
2626
CXX: /usr/lib/ccache/g++
2727
AGNOCAST_ENABLED: ${{ matrix.agnocast_enabled }}

docs/parameters/vendors/hesai/sensor_angle_examples.svg

Lines changed: 588 additions & 1 deletion
Loading

docs/parameters/vendors/hesai/sensor_angles.svg

Lines changed: 469 additions & 1 deletion
Loading

src/nebula_continental/nebula_continental/schema/ARS548.schema.json

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@
5656
},
5757
"sensor_model": {
5858
"$ref": "radar_continental.json#/definitions/sensor_model",
59-
"enum": [
60-
"ARS548"
61-
]
59+
"enum": ["ARS548"]
6260
},
6361
"diagnostics": {
6462
"type": "object",
@@ -87,10 +85,7 @@
8785
"description": "Maximum blockage status level considered as Warning (0: Blind, 1: High, 2: Mid, 3: Low, 4: None). Can not be greater than `ok`. If `ok` is equal to `warn`, the status will be set to `ERROR` if the blockage status is greater than `ok`."
8886
}
8987
},
90-
"required": [
91-
"ok",
92-
"warn"
93-
]
88+
"required": ["ok", "warn"]
9489
},
9590
"test_level": {
9691
"type": "object",
@@ -110,10 +105,7 @@
110105
"description": "Maximum blockage test level considered as Warning (0: Self test failed, 1: Self test passed, 2: Self test ongoing). Can not be greater than `ok`. If `ok` is equal to `warn`, the status will be set to `ERROR` if the blockage test is greater than `ok`."
111106
}
112107
},
113-
"required": [
114-
"ok",
115-
"warn"
116-
]
108+
"required": ["ok", "warn"]
117109
},
118110
"num_frame_transition": {
119111
"type": "integer",
@@ -165,14 +157,10 @@
165157
"$ref": "#/definitions/ARS548"
166158
}
167159
},
168-
"required": [
169-
"ros__parameters"
170-
],
160+
"required": ["ros__parameters"],
171161
"additionalProperties": false
172162
}
173163
},
174-
"required": [
175-
"/**"
176-
],
164+
"required": ["/**"],
177165
"additionalProperties": false
178166
}

src/nebula_continental/nebula_continental/schema/SRR520.schema.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
},
3939
"sensor_model": {
4040
"$ref": "radar_continental.json#/definitions/sensor_model",
41-
"enum": [
42-
"SRR520"
43-
]
41+
"enum": ["SRR520"]
4442
}
4543
},
4644
"required": [
@@ -63,14 +61,10 @@
6361
"$ref": "#/definitions/SRR520"
6462
}
6563
},
66-
"required": [
67-
"ros__parameters"
68-
],
64+
"required": ["ros__parameters"],
6965
"additionalProperties": false
7066
}
7167
},
72-
"required": [
73-
"/**"
74-
],
68+
"required": ["/**"],
7569
"additionalProperties": false
7670
}

src/nebula_continental/nebula_continental/schema/radar_continental.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
"definitions": {
66
"sensor_model": {
77
"$ref": "../../../nebula_core/nebula_core_ros/schema/hardware.json#/definitions/sensor_model",
8-
"enum": [
9-
"ARS548",
10-
"SRR520"
11-
]
8+
"enum": ["ARS548", "SRR520"]
129
}
1310
},
1411
"$id": "nebula_continental/schema/radar_continental.json"

src/nebula_continental/nebula_continental/tests/continental_ros_decoder_test_ars548.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NEBULA_ContinentalRosDecoderTestArs548_H
16-
#define NEBULA_ContinentalRosDecoderTestArs548_H
15+
#ifndef NEBULA_CONTINENTAL__NEBULA_CONTINENTAL__TESTS__CONTINENTAL_ROS_DECODER_TEST_ARS548_HPP_
16+
#define NEBULA_CONTINENTAL__NEBULA_CONTINENTAL__TESTS__CONTINENTAL_ROS_DECODER_TEST_ARS548_HPP_
1717

1818
#include <diagnostic_updater/diagnostic_updater.hpp>
1919
#include <nebula_continental_decoders/decoders/continental_ars548_decoder.hpp>
@@ -81,4 +81,4 @@ class ContinentalRosDecoderTest final : public rclcpp::Node //, testing::Test
8181

8282
} // namespace nebula::ros
8383

84-
#endif // NEBULA_ContinentalRosDecoderTestArs548_H
84+
#endif // NEBULA_CONTINENTAL__NEBULA_CONTINENTAL__TESTS__CONTINENTAL_ROS_DECODER_TEST_ARS548_HPP_

src/nebula_continental/nebula_continental/tests/continental_ros_decoder_test_srr520.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NEBULA_ContinentalRosDecoderTestsrr520_H
16-
#define NEBULA_ContinentalRosDecoderTestsrr520_H
15+
#ifndef NEBULA_CONTINENTAL__NEBULA_CONTINENTAL__TESTS__CONTINENTAL_ROS_DECODER_TEST_SRR520_HPP_
16+
#define NEBULA_CONTINENTAL__NEBULA_CONTINENTAL__TESTS__CONTINENTAL_ROS_DECODER_TEST_SRR520_HPP_
1717

1818
#include <diagnostic_updater/diagnostic_updater.hpp>
1919
#include <nebula_continental_decoders/decoders/continental_srr520_decoder.hpp>
@@ -91,4 +91,4 @@ class ContinentalRosDecoderTest final : public rclcpp::Node //, testing::Test
9191

9292
} // namespace nebula::ros
9393

94-
#endif // NEBULA_ContinentalRosDecoderTestsrr520_H
94+
#endif // NEBULA_CONTINENTAL__NEBULA_CONTINENTAL__TESTS__CONTINENTAL_ROS_DECODER_TEST_SRR520_HPP_

src/nebula_continental/nebula_continental_decoders/include/nebula_continental_decoders/decoders/continental_packets_decoder.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef NEBULA_WS_CONTINENTAL_PACKETS_DECODER_HPP
16-
#define NEBULA_WS_CONTINENTAL_PACKETS_DECODER_HPP
15+
#ifndef NEBULA_CONTINENTAL_DECODERS__DECODERS__CONTINENTAL_PACKETS_DECODER_HPP_
16+
#define NEBULA_CONTINENTAL_DECODERS__DECODERS__CONTINENTAL_PACKETS_DECODER_HPP_
1717

1818
#include <nebula_core_common/nebula_status.hpp>
1919
#include <nebula_core_common/point_types.hpp>
@@ -47,4 +47,4 @@ class ContinentalPacketsDecoder
4747
virtual bool process_packet(std::unique_ptr<nebula_msgs::msg::NebulaPacket> packet_msg) = 0;
4848
};
4949
} // namespace nebula::drivers
50-
#endif // NEBULA_WS_CONTINENTAL_PACKETS_DECODER_HPP
50+
#endif // NEBULA_CONTINENTAL_DECODERS__DECODERS__CONTINENTAL_PACKETS_DECODER_HPP_

0 commit comments

Comments
 (0)