Skip to content

Commit e129bb7

Browse files
ci(pre-commit): autofix
1 parent c2ad08f commit e129bb7

File tree

5 files changed

+63
-49
lines changed

5 files changed

+63
-49
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

docs/point_types.md

+42-42
Original file line numberDiff line numberDiff line change
@@ -7,54 +7,54 @@ These definitions can be found in the `nebula_common/include/point_types.hpp`.
77

88
## PointXYZIR
99

10-
| Field | Type | Units | Description |
11-
| ----------- | -------- | ----- | ---------------------------------------------------------------------------- |
12-
| `x` | `float` | `m` | Cartesian x coordinate. |
13-
| `y` | `float` | `m` | Cartesian y coordinate. |
14-
| `z` | `float` | `m` | Cartesian z coordinate. |
15-
| padding | 4 bytes | | |
16-
| `intensity` | `float` | | Intensity of the return as reported by the sensor. |
17-
| `ring` | `uint16` | | Ring ID - only defined for rotational LiDARs. |
10+
| Field | Type | Units | Description |
11+
| ----------- | -------- | ----- | -------------------------------------------------- |
12+
| `x` | `float` | `m` | Cartesian x coordinate. |
13+
| `y` | `float` | `m` | Cartesian y coordinate. |
14+
| `z` | `float` | `m` | Cartesian z coordinate. |
15+
| padding | 4 bytes | | |
16+
| `intensity` | `float` | | Intensity of the return as reported by the sensor. |
17+
| `ring` | `uint16` | | Ring ID - only defined for rotational LiDARs. |
1818

1919
## PointXYZICATR
2020

21-
| Field | Type | Units | Description |
22-
| ------------- | -------- | --------- | --------------------------------------------------------------------------- |
23-
| `x` | `float` | `m` | Cartesian x coordinate. |
24-
| `y` | `float` | `m` | The point's cartesian y coordinate. |
25-
| `z` | `float` | `m` | Cartesian z coordinate. |
26-
| padding | 4 bytes | | |
27-
| `intensity` | `uint8` | | Intensity of the return as reported by the sensor. |
28-
| `channel` | `uint16` | | The ID of the laser channel that produced the point. |
29-
| `azimuth` | `float` | `degrees` | Azimuth in polar coordinates. |
30-
| `timestamp` | `uint32` | `ns` | Time of detection relative to the pointcloud timestamp. |
31-
| `return type` | `uint8` | | Return (echo) type. |
21+
| Field | Type | Units | Description |
22+
| ------------- | -------- | --------- | ------------------------------------------------------- |
23+
| `x` | `float` | `m` | Cartesian x coordinate. |
24+
| `y` | `float` | `m` | The point's cartesian y coordinate. |
25+
| `z` | `float` | `m` | Cartesian z coordinate. |
26+
| padding | 4 bytes | | |
27+
| `intensity` | `uint8` | | Intensity of the return as reported by the sensor. |
28+
| `channel` | `uint16` | | The ID of the laser channel that produced the point. |
29+
| `azimuth` | `float` | `degrees` | Azimuth in polar coordinates. |
30+
| `timestamp` | `uint32` | `ns` | Time of detection relative to the pointcloud timestamp. |
31+
| `return type` | `uint8` | | Return (echo) type. |
3232

3333
## PointXYZIRADT
3434

35-
| Field | Type | Units | Description |
36-
| ------------- | -------- | --------- | --------------------------------------------------------------------------- |
37-
| `x` | `float` | `m` | Cartesian x coordinate. |
38-
| `y` | `float` | `m` | Cartesian y coordinate. |
39-
| `z` | `float` | `m` | Cartesian z coordinate. |
40-
| padding | 4 bytes | | |
41-
| `intensity` | `float` | | Intensity of the return as reported by the sensor. |
42-
| `return type` | `uint8` | | Return (echo) type. |
43-
| `azimuth` | `float` | `degrees` | Azimuth in polar coordinates. |
44-
| `distance` | `float` | `m` | Distance from the sensor origin. |
45-
| `timestamp` | `double` | `ns` | Time of detection relative to the pointcloud timestamp. |
35+
| Field | Type | Units | Description |
36+
| ------------- | -------- | --------- | ------------------------------------------------------- |
37+
| `x` | `float` | `m` | Cartesian x coordinate. |
38+
| `y` | `float` | `m` | Cartesian y coordinate. |
39+
| `z` | `float` | `m` | Cartesian z coordinate. |
40+
| padding | 4 bytes | | |
41+
| `intensity` | `float` | | Intensity of the return as reported by the sensor. |
42+
| `return type` | `uint8` | | Return (echo) type. |
43+
| `azimuth` | `float` | `degrees` | Azimuth in polar coordinates. |
44+
| `distance` | `float` | `m` | Distance from the sensor origin. |
45+
| `timestamp` | `double` | `ns` | Time of detection relative to the pointcloud timestamp. |
4646

4747
## NebulaPoint = PointXYZIRCAEDT
4848

49-
| Field | Type | Units | Description |
50-
| ------------- | -------- | ----- | --------------------------------------------------------------------------- |
51-
| `x` | `float` | `m` | Cartesian x coordinate. |
52-
| `y` | `float` | `m` | Cartesian y coordinate. |
53-
| `z` | `float` | `m` | Cartesian z coordinate. |
54-
| `intensity` | `uint8` | | Intensity of the return as reported by the sensor. |
55-
| `return type` | `uint8` | | Return (echo) type. |
56-
| `channel` | `uint16` | | Laser channel ID. |
57-
| `azimuth` | `float` | `rad` | Azimuth in polar coordinates. |
58-
| `elevation` | `float` | `rad` | Eevation in polar coordinates. |
59-
| `distance` | `float` | `m` | Distance from the sensor origin. |
60-
| `timestamp` | `uint32` | `ns` | Time of detection relative to the pointcloud timestamp. |
49+
| Field | Type | Units | Description |
50+
| ------------- | -------- | ----- | ------------------------------------------------------- |
51+
| `x` | `float` | `m` | Cartesian x coordinate. |
52+
| `y` | `float` | `m` | Cartesian y coordinate. |
53+
| `z` | `float` | `m` | Cartesian z coordinate. |
54+
| `intensity` | `uint8` | | Intensity of the return as reported by the sensor. |
55+
| `return type` | `uint8` | | Return (echo) type. |
56+
| `channel` | `uint16` | | Laser channel ID. |
57+
| `azimuth` | `float` | `rad` | Azimuth in polar coordinates. |
58+
| `elevation` | `float` | `rad` | Eevation in polar coordinates. |
59+
| `distance` | `float` | `m` | Distance from the sensor origin. |
60+
| `timestamp` | `uint32` | `ns` | Time of detection relative to the pointcloud timestamp. |

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)