Skip to content

Commit

Permalink
refactor(object_range_splitter): rework parameters (autowarefoundatio…
Browse files Browse the repository at this point in the history
…n#6705)

* rework parameters

Signed-off-by: oguzkaganozt <oguzkaganozt@gmail.com>

* .

Signed-off-by: oguzkaganozt <oguzkaganozt@gmail.com>

* .

Signed-off-by: oguzkaganozt <oguzkaganozt@gmail.com>

* style(pre-commit): autofix

---------

Signed-off-by: oguzkaganozt <oguzkaganozt@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and anhnv3991 committed Apr 5, 2024
1 parent 45f77be commit 21c4eb0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
4 changes: 1 addition & 3 deletions perception/object_range_splitter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ Example:

## Parameters

| Name | Type | Description |
| ------------- | ----- | ---------------------------------------------------- |
| `split_range` | float | the distance boundary to divide detected objects [m] |
{{ json_to_markdown("perception/object_range_splitter/schema/object_range_splitter.schema.json") }}

## Assumptions / Known limits

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for object_range_splitter",
"type": "object",
"definitions": {
"object_range_splitter": {
"type": "object",
"properties": {
"split_range": {
"type": "number",
"description": "object_range_splitter is a package to divide detected objects into two messages by the distance from the origin",
"default": "30.0"
}
},
"required": ["split_range"],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/object_range_splitter"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}

0 comments on commit 21c4eb0

Please sign in to comment.