Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 24, 2024
1 parent 99ca83e commit c544609
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 323 deletions.
110 changes: 55 additions & 55 deletions sensing/pointcloud_preprocessor/schema/crop_box_filter.schema.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "INSERT_TITLE",
"type": "object",
"definitions": {
"crop_box_filter": {
"type": "object",
"properties": {
"min_x": {
"type": "number",
"description": "x-coordinate minimum value for crop range",
"default": "-1.0"
},
"min_y": {
"type": "number",
"description": "y-coordinate minimum value for crop range",
"default": "-1.0"
},
"min_z": {
"type": "number",
"description": "z-coordinate minimum value for crop range",
"default": "-1.0"
},
"max_x": {
"type": "number",
"description": "x-coordinate maximum value for crop range",
"default": "1.0"
},
"max_y": {
"type": "number",
"description": "y-coordinate maximum value for crop range",
"default": "1.0"
},
"max_z": {
"type": "number",
"description": "z-coordinate maximum value for crop range",
"default": "1.0"
}
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "INSERT_TITLE",
"type": "object",
"definitions": {
"crop_box_filter": {
"type": "object",
"properties": {
"min_x": {
"type": "number",
"description": "x-coordinate minimum value for crop range",
"default": "-1.0"
},
"required": ["min_x", "min_y", "min_z", "max_x", "max_y", "max_z"],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/crop_box_filter"
}
"min_y": {
"type": "number",
"description": "y-coordinate minimum value for crop range",
"default": "-1.0"
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}
"min_z": {
"type": "number",
"description": "z-coordinate minimum value for crop range",
"default": "-1.0"
},
"max_x": {
"type": "number",
"description": "x-coordinate maximum value for crop range",
"default": "1.0"
},
"max_y": {
"type": "number",
"description": "y-coordinate maximum value for crop range",
"default": "1.0"
},
"max_z": {
"type": "number",
"description": "z-coordinate maximum value for crop range",
"default": "1.0"
}
},
"required": ["min_x", "min_y", "min_z", "max_x", "max_y", "max_z"],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/crop_box_filter"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}
107 changes: 56 additions & 51 deletions sensing/pointcloud_preprocessor/schema/passthrough_filter.schema.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,59 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "passthrough_filter",
"type": "object",
"definitions": {
"passthrough_filter": {
"type": "object",
"properties": {
"filter_limit_min": {
"type": "number",
"description": "minimum allowed field value",
"default": "0"
},
"filter_limit_max": {
"type": "number",
"description": "maximum allowed field value",
"default": "127"
},
"filter_field_name": {
"type": "string",
"description": "filtering field name",
"default": "ring"
},
"keep_organized": {
"type": "boolean",
"description": "flag to keep indices structure",
"default": "false"
},
"filter_limit_negative": {
"type": "boolean",
"description": "flag to return whether the data is inside limit or not",
"default": "false"
}
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "passthrough_filter",
"type": "object",
"definitions": {
"passthrough_filter": {
"type": "object",
"properties": {
"filter_limit_min": {
"type": "number",
"description": "minimum allowed field value",
"default": "0"
},
"required": ["filter_limit_min", "filter_limit_max", "filter_field_name",
"keep_organized", "filter_limit_negative"],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/passthrough_filter"
}
"filter_limit_max": {
"type": "number",
"description": "maximum allowed field value",
"default": "127"
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}
"filter_field_name": {
"type": "string",
"description": "filtering field name",
"default": "ring"
},
"keep_organized": {
"type": "boolean",
"description": "flag to keep indices structure",
"default": "false"
},
"filter_limit_negative": {
"type": "boolean",
"description": "flag to return whether the data is inside limit or not",
"default": "false"
}
},
"required": [
"filter_limit_min",
"filter_limit_max",
"filter_field_name",
"keep_organized",
"filter_limit_negative"
],
"additionalProperties": false
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/passthrough_filter"
}
},
"required": ["ros__parameters"],
"additionalProperties": false
}
},
"required": ["/**"],
"additionalProperties": false
}
Loading

0 comments on commit c544609

Please sign in to comment.