-
Notifications
You must be signed in to change notification settings - Fork 835
refactor(autoware_pointcloud_preprocessor): rework pointcloud accumulator parameters #8487
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
Merged
vividf
merged 6 commits into
autowarefoundation:main
from
vividf:refactor/rework_pointcloud_accumulator_parameter
Sep 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4c5486e
feat: rework pointcloud accumulator parameters
vividf 4bf5620
Merge branch 'main' into refactor/rework_pointcloud_accumulator_param…
vividf e125de7
chore: add explicit cast
vividf 3d9c7d8
chore: add boundary
vividf a50b3ff
Merge branch 'main' into refactor/rework_pointcloud_accumulator_param…
vividf 3b2d5cd
Merge branch 'main' into refactor/rework_pointcloud_accumulator_param…
vividf 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
4 changes: 4 additions & 0 deletions
4
sensing/autoware_pointcloud_preprocessor/config/pointcloud_accumulator_node.param.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,4 @@ | ||
| /**: | ||
| ros__parameters: | ||
| accumulation_time_sec: 2.0 | ||
| pointcloud_buffer_size: 50 |
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
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
16 changes: 16 additions & 0 deletions
16
sensing/autoware_pointcloud_preprocessor/launch/pointcloud_accumulator_node.launch.xml
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,16 @@ | ||
| <launch> | ||
| <arg name="input_topic_name" default="/sensing/lidar/top/pointcloud"/> | ||
| <arg name="output_topic_name" default="/sensing/lidar/top/pointcloud_accumulated"/> | ||
| <arg name="input_frame" default="base_link"/> | ||
| <arg name="output_frame" default="base_link"/> | ||
| <arg name="pointcloud_accumulator_param_file" default="$(find-pkg-share autoware_pointcloud_preprocessor)/config/pointcloud_accumulator_node.param.yaml"/> | ||
| <arg name="filter_param_file" default="$(find-pkg-share autoware_pointcloud_preprocessor)/config/filter.param.yaml"/> | ||
| <node pkg="autoware_pointcloud_preprocessor" exec="pointcloud_accumulator_node" name="pointcloud_accumulator_node"> | ||
| <param from="$(var pointcloud_accumulator_param_file)"/> | ||
| <param from="$(var filter_param_file)"/> | ||
| <remap from="input" to="$(var input_topic_name)"/> | ||
| <remap from="output" to="$(var output_topic_name)"/> | ||
| <param name="input_frame" value="$(var input_frame)"/> | ||
| <param name="output_frame" value="$(var output_frame)"/> | ||
| </node> | ||
| </launch> |
38 changes: 38 additions & 0 deletions
38
sensing/autoware_pointcloud_preprocessor/schema/pointcloud_accumulator_node.schema.json
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,38 @@ | ||
| { | ||
| "$schema": "http://json-schema.org/draft-07/schema#", | ||
| "title": "Parameters for Pointcloud Accumulator Node", | ||
| "type": "object", | ||
| "definitions": { | ||
| "pointcloud_accumulator": { | ||
| "type": "object", | ||
| "properties": { | ||
| "accumulation_time_sec": { | ||
| "type": "number", | ||
| "description": "accumulation period [s]", | ||
| "default": "2.0" | ||
| }, | ||
| "pointcloud_buffer_size": { | ||
| "type": "integer", | ||
| "description": "buffer size", | ||
| "default": "50" | ||
| } | ||
| }, | ||
| "required": ["accumulation_time_sec", "pointcloud_buffer_size"], | ||
| "additionalProperties": false | ||
| } | ||
| }, | ||
| "properties": { | ||
| "/**": { | ||
| "type": "object", | ||
| "properties": { | ||
| "ros__parameters": { | ||
| "$ref": "#/definitions/pointcloud_accumulator" | ||
| } | ||
| }, | ||
| "required": ["ros__parameters"], | ||
| "additionalProperties": false | ||
| } | ||
| }, | ||
| "required": ["/**"], | ||
| "additionalProperties": false | ||
| } |
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
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.