generated from tier4/ros2-project-template
-
Notifications
You must be signed in to change notification settings - Fork 58
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
feat(nebula_ros): add json schema #153
Merged
mojomex
merged 135 commits into
tier4:parameter-schema
from
amadeuszsz:single-node-refactor-velodyne-schema
May 22, 2024
Merged
feat(nebula_ros): add json schema #153
mojomex
merged 135 commits into
tier4:parameter-schema
from
amadeuszsz:single-node-refactor-velodyne-schema
May 22, 2024
Conversation
This file contains 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
* check PTC command error codes, throw exception if necessary * perform size checks before parsing responses * emit errors on too-large payload size
This is step one of the single node refactoring of Nebula. In this step, only the three Hesai wrapper nodes were combined into one, and no optimizations have been done that are made possible by this refactoring. The next step is to do those optimizations (e.g. get rid of unnecessary pointcloud copying).
…d decoder, decode in separate thread
…ving /pandar_packets
…type more readable
Signed-off-by: amadeuszsz <[email protected]>
vividf
approved these changes
May 22, 2024
Signed-off-by: amadeuszsz <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Type
Related Links
Description
The PR adds json schema to nebula which is current way of handling param files in Autoware environment. The proposed changes consider schema composition based on few abstractions:
The contains of specific abstraction may still change. The schema for now brings two drawbacks:
additionalProperties=false
. Sub schemas are pushed to the same parent keyros__parameters
, therefore they would block itself in case of not allowing extra parameters. WithadditionalProperties=true
, users can provide extra parameters to '.param.yaml' but at the end they not affect runtime.number
andinteger
. Therefore for floating point number and type ofnumber
, the user can provideinteger
value as well. This will throw exception in node constructor. From schema level, we can't force user to use floating point number. We could provide extra method for declaring floating point number instead ofdeclare_parameter
. The idea would be to load parameter with dynamic typing, check the type, cast it todouble
and set it again.Review Procedure
.vscode/settings.json
, e.g.:Remarks
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.
Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.
Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.
CI Checks