Skip to content

Commit

Permalink
refactor(rtc_auto_mode_manager): rework parameters
Browse files Browse the repository at this point in the history
Signed-off-by: PhoebeWu21 <[email protected]>
  • Loading branch information
PhoebeWu21 committed Oct 2, 2023
1 parent 32c2e67 commit 34a8963
Showing 1 changed file with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for RTC Auto Mode Manager",
"type": "object",
"definitions": {
"rtc_auto_mode_manager": {
"type": "object",
"properties": {
"module_list": {
"type": "array",
"description": "Module names managing in rtc_auto_mode_manager",
"default": "['blind_spot', 'crosswalk', 'detection_area', 'intersection', 'no_stopping_area', 'traffic_light', 'lane_change_left', 'lane_change_right', 'avoidance_left', 'avoidance_right', 'goal_planner', 'start_planner', 'intersection_occlusion']"
},
"default_enable_list": {
"type": "array",
"description": "Module names enabled auto mode at initialization",
"default": "['blind_spot', 'crosswalk', 'detection_area', 'intersection', 'no_stopping_area', 'traffic_light', 'lane_change_left', lane_change_right', 'avoidance_left', 'avoidance_right', 'goal_planner', 'start_planner', 'intersection_occlusion']"
}
},
"required": [
"module_list",
"default_enable_list"
]
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/rtc_auto_mode_manager"
}
},
"required": [
"ros__parameters"
]
}
},
"required": [
"/**"
]
}

0 comments on commit 34a8963

Please sign in to comment.