-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d346f4
commit 11bebcd
Showing
7 changed files
with
652 additions
and
646 deletions.
There are no files selected for viewing
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
110 changes: 57 additions & 53 deletions
110
perception/probabilistic_occupancy_grid_map/schema/binary_bayes_filter_updater.schema.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,61 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Binary Bayes Filter Updater", | ||
"type": "object", | ||
"definitions": { | ||
"binary_bayes_filter_updater": { | ||
"type": "object", | ||
"properties": { | ||
"probability_matrix": { | ||
"type": "object", | ||
"properties": { | ||
"occupied_to_occupied": { | ||
"type": "number", | ||
"description": "Probability of transitioning from occupied to occupied state.", | ||
"default": 0.95 | ||
}, | ||
"occupied_to_free": { | ||
"type": "number", | ||
"description": "Probability of transitioning from occupied to free state.", | ||
"default": 0.05 | ||
}, | ||
"free_to_occupied": { | ||
"type": "number", | ||
"description": "Probability of transitioning from free to occupied state.", | ||
"default": 0.2 | ||
}, | ||
"free_to_free": { | ||
"type": "number", | ||
"description": "Probability of transitioning from free to free state.", | ||
"default": 0.8 | ||
} | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Binary Bayes Filter Updater", | ||
"type": "object", | ||
"definitions": { | ||
"binary_bayes_filter_updater": { | ||
"type": "object", | ||
"properties": { | ||
"probability_matrix": { | ||
"type": "object", | ||
"properties": { | ||
"occupied_to_occupied": { | ||
"type": "number", | ||
"description": "Probability of transitioning from occupied to occupied state.", | ||
"default": 0.95 | ||
}, | ||
"required": ["occupied_to_occupied", "occupied_to_free", "free_to_occupied", "free_to_free"] | ||
"occupied_to_free": { | ||
"type": "number", | ||
"description": "Probability of transitioning from occupied to free state.", | ||
"default": 0.05 | ||
}, | ||
"free_to_occupied": { | ||
"type": "number", | ||
"description": "Probability of transitioning from free to occupied state.", | ||
"default": 0.2 | ||
}, | ||
"free_to_free": { | ||
"type": "number", | ||
"description": "Probability of transitioning from free to free state.", | ||
"default": 0.8 | ||
} | ||
}, | ||
"v_ratio": { | ||
"type": "number", | ||
"description": "Ratio of the variance used in the filter.", | ||
"default": 0.1 | ||
} | ||
}, | ||
"required": ["probability_matrix", "v_ratio"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/binary_bayes_filter_updater" | ||
} | ||
"required": [ | ||
"occupied_to_occupied", | ||
"occupied_to_free", | ||
"free_to_occupied", | ||
"free_to_free" | ||
] | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} | ||
|
||
"v_ratio": { | ||
"type": "number", | ||
"description": "Ratio of the variance used in the filter.", | ||
"default": 0.1 | ||
} | ||
}, | ||
"required": ["probability_matrix", "v_ratio"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/binary_bayes_filter_updater" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |
143 changes: 71 additions & 72 deletions
143
perception/probabilistic_occupancy_grid_map/schema/grid_map.schema.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,76 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Grid Map", | ||
"type": "object", | ||
"definitions": { | ||
"visualization_params": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"description": "The type of grid map visualization.", | ||
"default": "occupancy_grid" | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Grid Map", | ||
"type": "object", | ||
"definitions": { | ||
"visualization_params": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"description": "The type of grid map visualization.", | ||
"default": "occupancy_grid" | ||
}, | ||
"params": { | ||
"type": "object", | ||
"properties": { | ||
"layer": { | ||
"type": "string", | ||
"description": "The layer of the grid map visualization.", | ||
"default": "filled_free_to_farthest" | ||
}, | ||
"data_min": { | ||
"type": "number", | ||
"description": "The minimum data value for the visualization.", | ||
"default": 0.0 | ||
}, | ||
"data_max": { | ||
"type": "number", | ||
"description": "The maximum data value for the visualization.", | ||
"default": 100.0 | ||
} | ||
}, | ||
"params": { | ||
"type": "object", | ||
"properties": { | ||
"layer": { | ||
"type": "string", | ||
"description": "The layer of the grid map visualization.", | ||
"default": "filled_free_to_farthest" | ||
}, | ||
"data_min": { | ||
"type": "number", | ||
"description": "The minimum data value for the visualization.", | ||
"default": 0.0 | ||
}, | ||
"data_max": { | ||
"type": "number", | ||
"description": "The maximum data value for the visualization.", | ||
"default": 100.0 | ||
} | ||
"required": ["layer", "data_min", "data_max"] | ||
} | ||
}, | ||
"required": ["type", "params"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"type": "object", | ||
"properties": { | ||
"grid_map_topic": { | ||
"type": "string", | ||
"description": "The topic name for the grid map.", | ||
"default": "/perception/occupancy_grid_map/occupancy_grid_map_node/debug/grid_map" | ||
}, | ||
"required": ["layer", "data_min", "data_max"] | ||
} | ||
}, | ||
"required": ["type", "params"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"type": "object", | ||
"properties": { | ||
"grid_map_topic": { | ||
"type": "string", | ||
"description": "The topic name for the grid map.", | ||
"default": "/perception/occupancy_grid_map/occupancy_grid_map_node/debug/grid_map" | ||
}, | ||
"grid_map_visualizations": { | ||
"type": "array", | ||
"description": "List of grid map visualizations.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"default": ["grid_1st_step", "grid_2nd_step", "grid_3rd_step"] | ||
"grid_map_visualizations": { | ||
"type": "array", | ||
"description": "List of grid map visualizations.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"grid_1st_step": { "$ref": "#/definitions/visualization_params" }, | ||
"grid_2nd_step": { "$ref": "#/definitions/visualization_params" }, | ||
"grid_3rd_step": { "$ref": "#/definitions/visualization_params" } | ||
"default": ["grid_1st_step", "grid_2nd_step", "grid_3rd_step"] | ||
}, | ||
"required": [ | ||
"grid_map_topic", | ||
"grid_map_visualizations", | ||
"grid_1st_step", | ||
"grid_2nd_step", | ||
"grid_3rd_step" | ||
] | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} | ||
|
||
"grid_1st_step": { "$ref": "#/definitions/visualization_params" }, | ||
"grid_2nd_step": { "$ref": "#/definitions/visualization_params" }, | ||
"grid_3rd_step": { "$ref": "#/definitions/visualization_params" } | ||
}, | ||
"required": [ | ||
"grid_map_topic", | ||
"grid_map_visualizations", | ||
"grid_1st_step", | ||
"grid_2nd_step", | ||
"grid_3rd_step" | ||
] | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |
Oops, something went wrong.