-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(autoware_behavior_velocity_planner_common,autoware_behavior_…
…velocity_planner): separate param files (#9470) * refactor(autoware_behavior_velocity_planner_common,autoware_behavior_velocity_planner): separate param files Signed-off-by: Y.Hisaki <[email protected]> * Update planning/autoware_static_centerline_generator/test/test_static_centerline_generator.test.py Co-authored-by: Kyoichi Sugahara <[email protected]> * fix Signed-off-by: Y.Hisaki <[email protected]> --------- Signed-off-by: Y.Hisaki <[email protected]> Co-authored-by: Kyoichi Sugahara <[email protected]>
- Loading branch information
1 parent
64e5a69
commit ddff5c2
Showing
9 changed files
with
97 additions
and
60 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
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
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
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
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
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 |
---|---|---|
|
@@ -26,4 +26,6 @@ if(BUILD_TESTING) | |
) | ||
endif() | ||
|
||
ament_auto_package() | ||
ament_auto_package(INSTALL_TO_SHARE | ||
config | ||
) |
7 changes: 7 additions & 0 deletions
7
...oware_behavior_velocity_planner_common/config/behavior_velocity_planner_common.param.yaml
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/**: | ||
ros__parameters: | ||
max_accel: -2.8 | ||
max_jerk: -5.0 | ||
system_delay: 0.5 | ||
delay_response_time: 0.5 | ||
is_publish_debug_path: false # publish all debug path with lane id in each module |
59 changes: 59 additions & 0 deletions
59
...ware_behavior_velocity_planner_common/schema/behavior_velocity_planner_common.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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Behavior Velocity Planner Common", | ||
"type": "object", | ||
"definitions": { | ||
"behavior_velocity_planner_common": { | ||
"type": "object", | ||
"properties": { | ||
"max_accel": { | ||
"type": "number", | ||
"default": "-2.8", | ||
"description": "(to be a global parameter) max acceleration of the vehicle" | ||
}, | ||
"system_delay": { | ||
"type": "number", | ||
"default": "0.5", | ||
"description": "(to be a global parameter) delay time until output control command" | ||
}, | ||
"delay_response_time": { | ||
"type": "number", | ||
"default": "0.5", | ||
"description": "(to be a global parameter) delay time of the vehicle's response to control commands" | ||
}, | ||
"max_jerk": { | ||
"type": "number", | ||
"default": "-5.0", | ||
"description": "max jerk of the vehicle" | ||
}, | ||
"is_publish_debug_path": { | ||
"type": "boolean", | ||
"default": "false", | ||
"description": "is publish debug path?" | ||
} | ||
}, | ||
"required": [ | ||
"max_accel", | ||
"system_delay", | ||
"delay_response_time", | ||
"max_jerk", | ||
"is_publish_debug_path" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/behavior_velocity_planner_common" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} |
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