Skip to content

Commit 71e38af

Browse files
ci(pre-commit): autofix
1 parent 4a3f3c9 commit 71e38af

File tree

4 files changed

+21
-7
lines changed

4 files changed

+21
-7
lines changed

build_depends.repos

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ repositories:
88
ros2_socketcan:
99
type: git
1010
url: https://github.com/knzo25/ros2_socketcan
11-
version: feat/continental_fd
11+
version: feat/continental_fd

nebula_ros/launch/continental_launch_all_hw.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<remap from="steering_angle_input" to="$(var steering_angle_topic)"/>
1818
</node>
1919
</group>
20-
20+
2121
<group if="$(eval &quot;'$(var sensor_model)' == 'SRR520' &quot;)" >
2222

2323
<node pkg="nebula_ros" exec="continental_srr520_ros_wrapper_node" name="nebula_continental_srr520" output="screen">

nebula_ros/schema/SRR520.schema.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,14 @@
6060
"$ref": "#/definitions/SRR520"
6161
}
6262
},
63-
"required": ["ros__parameters"],
63+
"required": [
64+
"ros__parameters"
65+
],
6466
"additionalProperties": false
6567
}
6668
},
67-
"required": ["/**"],
69+
"required": [
70+
"/**"
71+
],
6872
"additionalProperties": false
6973
}

nebula_ros/schema/sub/communication.json

+13-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@
7272
"ptp_profile": {
7373
"type": "string",
7474
"default": "1588v2",
75-
"enum": ["1588v2", "802.1as", "automotive"],
75+
"enum": [
76+
"1588v2",
77+
"802.1as",
78+
"automotive"
79+
],
7680
"description": "PTP profile."
7781
},
7882
"ptp_domain": {
@@ -85,13 +89,19 @@
8589
"ptp_transport_type": {
8690
"type": "string",
8791
"default": "UDP",
88-
"enum": ["UDP", "L2"],
92+
"enum": [
93+
"UDP",
94+
"L2"
95+
],
8996
"description": "1588v2 supports 'UDP' or 'L2', other profiles only L2 (HW)."
9097
},
9198
"ptp_switch_type": {
9299
"type": "string",
93100
"default": "TSN",
94-
"enum": ["TSN", "NON_TSN"],
101+
"enum": [
102+
"TSN",
103+
"NON_TSN"
104+
],
95105
"description": "For automotive profile,'TSN' or 'NON_TSN'."
96106
},
97107
"receiver_timeout_sec": {

0 commit comments

Comments
 (0)