generated from tier4/ros2-project-template
-
Notifications
You must be signed in to change notification settings - Fork 88
feat: implement autoware system designer #403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
technolojin
wants to merge
25
commits into
main
Choose a base branch
from
autoware-system-designer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
00aa698
ci: add GitHub Actions workflow for linting Autoware system design fo…
technolojin 5759cec
feat: add NebulaArs548 and NebulaHesaiPandar128E4X node configurations
technolojin a2d4bdd
feat: update NebulaHesaiPandar128E4X and add NebulaVelodyneVLS128 nod…
technolojin f866cf0
feat: add NebulaVelodyneVLP16 node configuration and decoder
technolojin e9f4b45
fix: update launch package for NebulaArs548 node configuration
technolojin e993dc4
fix: update message type for VelodyneScan in NebulaVelodyneVLS128 dec…
technolojin 550db8c
fix: update calibration file path for NebulaVelodyneVLS128 configuration
technolojin 2928694
refactor: update inheritance to base in node configurations
technolojin 7587750
fix: update message type for VelodyneScan in NebulaVelodyneVLP16 deco…
technolojin 3c1b09c
chore: update node configurations for NebulaArs548 and NebulaHesaiPan…
technolojin 38c3c98
ci(pre-commit): autofix
pre-commit-ci[bot] 99c87f7
chore: standardize autoware_system_design_format versioning
technolojin bd86f9a
chore: fix yaml formats
technolojin 9484b3c
chore: update autoware_system_design_format to 0.3.0 and standardize …
technolojin 1000f89
replace input field
isamu-takagi ab38762
replace output filed
isamu-takagi 80d81fb
refactor: remove param_values included in config files
technolojin 9867b82
feat: add rotation_speed parameter and update trigger conditions in N…
technolojin 7d2930c
fix: correct indentation in trigger conditions for NebulaHesaiPandar1…
technolojin 67edbe0
chore: remove blockage_mask publisher from NebulaVelodyneVLP16 and Ne…
technolojin 378afa9
chore: remove container_name from multiple node configuration files
technolojin cc9cc10
chore: remove use_container from multiple node configuration files
technolojin 471843c
chore: remove use_container option from NebulaArs548 node configuration
technolojin 048e14a
Merge branch 'awsd-container-setting' into autoware-system-designer
technolojin d9ab3b2
chore: remove rotation_speed parameter and adjust hw_interface trigge…
technolojin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Lint Autoware System Design Format | ||
|
|
||
| on: | ||
| pull_request: | ||
| paths: | ||
| - "**/*.node.yaml" | ||
| - "**/*.module.yaml" | ||
| - "**/*.system.yaml" | ||
| - "**/*.parameter_set.yaml" | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - "**/*.node.yaml" | ||
| - "**/*.module.yaml" | ||
| - "**/*.system.yaml" | ||
| - "**/*.parameter_set.yaml" | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Lint system design format files | ||
| uses: autowarefoundation/autoware_system_designer@v0.3.0 | ||
| with: | ||
| design_files_path: . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
src/nebula_continental/nebula_continental/design/NebulaArs548.node.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| autoware_system_design_format: 0.3.0 | ||
|
|
||
| name: NebulaArs548.node | ||
|
|
||
| package: | ||
| name: nebula_continental | ||
| provider: nebula | ||
|
|
||
| launch: | ||
| plugin: nebula::ros::ContinentalARS548RosWrapper | ||
| executable: continental_ars548_ros_wrapper_node | ||
| node_output: screen | ||
|
|
||
| # interfaces | ||
| subscribers: | ||
| - name: odometry_input | ||
| message_type: geometry_msgs/msg/TwistWithCovarianceStamped | ||
| remap_target: odometry_input | ||
| - name: acceleration_input | ||
| message_type: geometry_msgs/msg/AccelWithCovarianceStamped | ||
| remap_target: acceleration_input | ||
| - name: steering_angle_input | ||
| message_type: std_msgs/msg/Float32 | ||
| remap_target: steering_angle_input | ||
| publishers: | ||
| - name: nebula_packets | ||
| message_type: nebula_msgs/msg/NebulaPackets | ||
| remap_target: nebula_packets | ||
| - name: continental_detections | ||
| message_type: continental_msgs/msg/ContinentalArs548DetectionList | ||
| remap_target: continental_detections | ||
| - name: continental_objects | ||
| message_type: continental_msgs/msg/ContinentalArs548ObjectList | ||
| remap_target: continental_objects | ||
| - name: detection_points | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: detection_points | ||
| - name: object_points | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: object_points | ||
| - name: scan_raw | ||
| message_type: radar_msgs/msg/RadarScan | ||
| remap_target: scan_raw | ||
| - name: objects_raw | ||
| message_type: radar_msgs/msg/RadarTracks | ||
| remap_target: objects_raw | ||
| - name: marker_array | ||
| message_type: visualization_msgs/msg/MarkerArray | ||
| remap_target: marker_array | ||
| - name: radar_objects | ||
| message_type: autoware_sensing_msgs/msg/RadarObjects | ||
| remap_target: radar_objects | ||
| - name: radar_info | ||
| message_type: autoware_sensing_msgs/msg/RadarInfo | ||
| remap_target: radar_info | ||
|
|
||
| # parameters | ||
| param_files: | ||
| - name: config_file | ||
| default: config/ARS548.param.yaml | ||
| schema: schema/ARS548.schema.json | ||
| allow_substs: true | ||
|
|
||
| param_values: | ||
| - name: launch_hw | ||
| type: bool | ||
| default: true | ||
|
|
||
| # processes | ||
| processes: | ||
| - name: hw_interface | ||
| trigger_conditions: | ||
| - periodic: 100 # Hz | ||
| outcomes: | ||
| - to_output: nebula_packets | ||
| - name: decoder | ||
| trigger_conditions: | ||
| - periodic: 10 # Hz | ||
| outcomes: | ||
| - to_output: continental_objects | ||
| - to_output: continental_detections | ||
| - to_output: detection_points | ||
| - to_output: object_points | ||
| - to_output: radar_objects | ||
| - to_output: scan_raw | ||
| - to_output: objects_raw | ||
| - to_output: marker_array | ||
| - to_output: diagnostics | ||
| - to_output: radar_info |
40 changes: 40 additions & 0 deletions
40
src/nebula_continental/nebula_continental/design/NebulaArs548_decode.node.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| autoware_system_design_format: 0.3.0 | ||
|
|
||
| name: NebulaArs548_decode.node | ||
|
|
||
| base: NebulaArs548.node | ||
|
|
||
| override: | ||
| subscribers: | ||
| - name: nebula_packets | ||
| message_type: nebula_msgs/msg/NebulaPackets | ||
| remap_target: nebula_packets | ||
| processes: | ||
| - name: decoder | ||
| trigger_conditions: | ||
| - from_input: nebula_packets | ||
| outcomes: | ||
| - to_output: continental_objects | ||
| - to_output: continental_detections | ||
| - to_output: detection_points | ||
| - to_output: object_points | ||
| - to_output: radar_objects | ||
| - to_output: scan_raw | ||
| - to_output: objects_raw | ||
| - to_output: marker_array | ||
| - to_output: diagnostics | ||
| - to_output: radar_info | ||
| param_values: | ||
| - name: launch_hw | ||
| type: bool | ||
| default: false | ||
|
|
||
| remove: | ||
| subscribers: | ||
| - name: odometry_input | ||
| - name: acceleration_input | ||
| - name: steering_angle_input | ||
| publishers: | ||
| - name: nebula_packets | ||
| processes: | ||
| - name: hw_interface | ||
74 changes: 74 additions & 0 deletions
74
src/nebula_hesai/nebula_hesai/design/NebulaHesaiPandar128E4X.node.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| autoware_system_design_format: 0.3.0 | ||
|
|
||
| name: NebulaHesaiPandar128E4X.node | ||
|
|
||
| package: | ||
| name: nebula_hesai | ||
| provider: nebula | ||
|
|
||
| launch: | ||
| plugin: HesaiRosWrapper | ||
| executable: hesai_ros_wrapper_node | ||
| node_output: screen | ||
|
|
||
| # interfaces | ||
| subscribers: [] | ||
|
|
||
| publishers: | ||
| - name: pandar_packets | ||
| message_type: pandar_msgs/msg/PandarScan | ||
| remap_target: pandar_packets | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: pandar_points | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: pandar_points | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: aw_points | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: aw_points | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: aw_points_ex | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: aw_points_ex | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: blockage_mask | ||
| message_type: sensor_msgs/msg/Image | ||
| remap_target: blockage_mask | ||
|
|
||
| # parameters | ||
| param_files: | ||
| - name: config_file | ||
| default: config/Pandar128E4X.param.yaml | ||
| schema: schema/Pandar128E4X.schema.json | ||
| allow_substs: true | ||
|
|
||
| param_values: | ||
| - name: launch_hw | ||
| type: boolean | ||
| default: true | ||
| - name: point_filters.downsample_mask.path | ||
| type: string | ||
| default: "" | ||
mojomex marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| # processes | ||
| processes: | ||
| - name: hw_interface | ||
| trigger_conditions: | ||
| - periodic: 10.0 # Hz | ||
| outcomes: | ||
| - to_output: pandar_packets | ||
| - name: decoder | ||
| trigger_conditions: | ||
| - and: | ||
| - on_trigger: hw_interface | ||
| - periodic: 10 # Hz | ||
| outcomes: | ||
| - to_output: pandar_points | ||
27 changes: 27 additions & 0 deletions
27
src/nebula_hesai/nebula_hesai/design/NebulaHesaiPandar128E4X_decode.node.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| autoware_system_design_format: 0.3.0 | ||
|
|
||
| name: NebulaHesaiPandar128E4X_decode.node | ||
|
|
||
| base: NebulaHesaiPandar128E4X.node | ||
|
|
||
| override: | ||
| subscribers: | ||
| - name: pandar_packets | ||
| message_type: pandar_msgs/msg/PandarScan | ||
| remap_target: pandar_packets | ||
| processes: | ||
| - name: decoder | ||
| trigger_conditions: | ||
| - from_input: pandar_packets | ||
| outcomes: | ||
| - to_output: pandar_points | ||
| param_values: | ||
| - name: launch_hw | ||
| type: bool | ||
| default: false | ||
|
|
||
| remove: | ||
| publishers: | ||
| - name: pandar_packets | ||
| processes: | ||
| - name: hw_interface |
66 changes: 66 additions & 0 deletions
66
src/nebula_velodyne/nebula_velodyne/design/NebulaVelodyneVLP16.node.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| autoware_system_design_format: 0.3.0 | ||
|
|
||
| name: NebulaVelodyneVLP16.node | ||
|
|
||
| package: | ||
| name: nebula_velodyne | ||
| provider: nebula | ||
|
|
||
| launch: | ||
| plugin: VelodyneRosWrapper | ||
| executable: velodyne_ros_wrapper_node | ||
| node_output: screen | ||
|
|
||
| # interfaces | ||
| subscribers: [] | ||
|
|
||
| publishers: | ||
| - name: velodyne_packets | ||
| message_type: velodyne_msgs/msg/VelodyneScan | ||
| remap_target: velodyne_packets | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: velodyne_points | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: velodyne_points | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: aw_points | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: aw_points | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
| - name: aw_points_ex | ||
| message_type: sensor_msgs/msg/PointCloud2 | ||
| remap_target: aw_points_ex | ||
| qos: | ||
| depth: 10 | ||
| reliability: best_effort | ||
|
|
||
| # parameters | ||
| param_files: | ||
| - name: config_file | ||
| default: config/VLP16.param.yaml | ||
| schema: schema/VLP16.schema.json | ||
| allow_substs: true | ||
|
|
||
| param_values: | ||
| - name: launch_hw | ||
| type: bool | ||
| default: true | ||
|
|
||
| # processes | ||
| processes: | ||
| - name: hw_interface | ||
| trigger_conditions: | ||
| - periodic: 100 # Hz | ||
| outcomes: | ||
| - to_output: velodyne_packets | ||
| - name: decoder | ||
| trigger_conditions: | ||
| - periodic: 10 # Hz | ||
| outcomes: | ||
| - to_output: velodyne_points |
27 changes: 27 additions & 0 deletions
27
src/nebula_velodyne/nebula_velodyne/design/NebulaVelodyneVLP16_decode.node.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| autoware_system_design_format: 0.3.0 | ||
|
|
||
| name: NebulaVelodyneVLP16_decode.node | ||
|
|
||
| base: NebulaVelodyneVLP16.node | ||
|
|
||
| override: | ||
| subscribers: | ||
| - name: velodyne_packets | ||
| message_type: velodyne_msgs/msg/VelodyneScan | ||
| remap_target: velodyne_packets | ||
| processes: | ||
| - name: decoder | ||
| trigger_conditions: | ||
| - from_input: velodyne_packets | ||
| outcomes: | ||
| - to_output: velodyne_points | ||
| param_values: | ||
| - name: launch_hw | ||
| type: bool | ||
| default: false | ||
|
|
||
| remove: | ||
| publishers: | ||
| - name: velodyne_packets | ||
| processes: | ||
| - name: hw_interface |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.