-
Notifications
You must be signed in to change notification settings - Fork 631
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
6c5f637
commit a060a63
Showing
10 changed files
with
664 additions
and
676 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
4 changes: 2 additions & 2 deletions
4
planning/autoware_velocity_smoother/config/default_nearest_search.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/**: | ||
ros__parameters: | ||
ros__parameters: | ||
ego_nearest_dist_threshold: 0.3 # threshold to find the nearest point on the trajectory [m] | ||
ego_nearest_yaw_threshold: 1.046 # threshold to find the nearest point on the trajectory [rad] | ||
ego_nearest_yaw_threshold: 1.046 # threshold to find the nearest point on the trajectory [rad] |
270 changes: 138 additions & 132 deletions
270
planning/autoware_velocity_smoother/schema/Analytical.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,140 +1,146 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for analytical", | ||
"type": "object", | ||
"definitions": { | ||
"analytical_params": { | ||
"type": "object", | ||
"properties": { | ||
"resample": { | ||
"type": "object", | ||
"properties": { | ||
"ds_resample": { | ||
"type": "number", | ||
"default": 0.1, | ||
"description": "Enable resampling" | ||
}, | ||
"num_resample": { | ||
"type": "number", | ||
"default": 1, | ||
"description": "Resample interval" | ||
}, | ||
"delta_yaw_threshold": { | ||
"type": "number", | ||
"default": 0.785, | ||
"description": "Threshold for yaw change" | ||
} | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for analytical", | ||
"type": "object", | ||
"definitions": { | ||
"analytical_params": { | ||
"type": "object", | ||
"properties": { | ||
"resample": { | ||
"type": "object", | ||
"properties": { | ||
"ds_resample": { | ||
"type": "number", | ||
"default": 0.1, | ||
"description": "Enable resampling" | ||
}, | ||
"required": ["ds_resample", "num_resample", "delta_yaw_threshold"], | ||
"additionalProperties": false | ||
}, | ||
"latacc": { | ||
"type": "object", | ||
"properties": { | ||
"enable_constant_velocity_while_turning": { | ||
"type": "boolean", | ||
"default": false, | ||
"description": "Enable constant velocity while turning" | ||
}, | ||
"constant_velocity_dist_threshold": { | ||
"type": "number", | ||
"default": 2.0, | ||
"description": "Threshold for constant velocity" | ||
} | ||
"num_resample": { | ||
"type": "number", | ||
"default": 1, | ||
"description": "Resample interval" | ||
}, | ||
"required": [ | ||
"enable_constant_velocity_while_turning", | ||
"constant_velocity_dist_threshold" | ||
], | ||
"additionalProperties": false | ||
"delta_yaw_threshold": { | ||
"type": "number", | ||
"default": 0.785, | ||
"description": "Threshold for yaw change" | ||
} | ||
}, | ||
"forward": { | ||
"type": "object", | ||
"properties": { | ||
"max_acc": { | ||
"type": "number", | ||
"default": 1.0, | ||
"description": "Maximum forward acceleration" | ||
}, | ||
"min_acc": { | ||
"type": "number", | ||
"default": -1.0, | ||
"description": "Minimum forward acceleration" | ||
}, | ||
"max_jerk": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "Maximum forward jerk" | ||
}, | ||
"min_jerk": { | ||
"type": "number", | ||
"default": -0.3, | ||
"description": "Minimum forward jerk" | ||
}, | ||
"kp": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "Proportional gain for forward control" | ||
} | ||
"required": ["ds_resample", "num_resample", "delta_yaw_threshold"], | ||
"additionalProperties": false | ||
}, | ||
"latacc": { | ||
"type": "object", | ||
"properties": { | ||
"enable_constant_velocity_while_turning": { | ||
"type": "boolean", | ||
"default": false, | ||
"description": "Enable constant velocity while turning" | ||
}, | ||
"required": ["max_acc", "min_acc", "max_jerk", "min_jerk", "kp"], | ||
"additionalProperties": false | ||
"constant_velocity_dist_threshold": { | ||
"type": "number", | ||
"default": 2.0, | ||
"description": "Threshold for constant velocity" | ||
} | ||
}, | ||
"backward": { | ||
"type": "object", | ||
"properties": { | ||
"start_jerk": { | ||
"type": "number", | ||
"default": -0.1, | ||
"description": "Jerk at the start of backward motion" | ||
}, | ||
"min_jerk_mild_stop": { | ||
"type": "number", | ||
"default": -0.3, | ||
"description": "Minimum jerk for mild stopping" | ||
}, | ||
"min_jerk": { | ||
"type": "number", | ||
"default": -1.5, | ||
"description": "Minimum backward jerk" | ||
}, | ||
"min_acc_mild_stop": { | ||
"type": "number", | ||
"default": -1.0, | ||
"description": "Minimum acceleration for mild stopping" | ||
}, | ||
"min_acc": { | ||
"type": "number", | ||
"default": -2.5, | ||
"description": "Minimum backward acceleration" | ||
}, | ||
"span_jerk": { | ||
"type": "number", | ||
"default": -0.01, | ||
"description": "Span jerk value for backward motion" | ||
} | ||
}, | ||
"required": ["start_jerk", "min_jerk_mild_stop", "min_jerk", "min_acc_mild_stop", "min_acc", "span_jerk"], | ||
"additionalProperties": false | ||
} | ||
"required": [ | ||
"enable_constant_velocity_while_turning", | ||
"constant_velocity_dist_threshold" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"required": ["resample", "latacc", "forward", "backward"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/analytical_params" | ||
} | ||
"forward": { | ||
"type": "object", | ||
"properties": { | ||
"max_acc": { | ||
"type": "number", | ||
"default": 1.0, | ||
"description": "Maximum forward acceleration" | ||
}, | ||
"min_acc": { | ||
"type": "number", | ||
"default": -1.0, | ||
"description": "Minimum forward acceleration" | ||
}, | ||
"max_jerk": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "Maximum forward jerk" | ||
}, | ||
"min_jerk": { | ||
"type": "number", | ||
"default": -0.3, | ||
"description": "Minimum forward jerk" | ||
}, | ||
"kp": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "Proportional gain for forward control" | ||
} | ||
}, | ||
"required": ["max_acc", "min_acc", "max_jerk", "min_jerk", "kp"], | ||
"additionalProperties": false | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} | ||
|
||
"backward": { | ||
"type": "object", | ||
"properties": { | ||
"start_jerk": { | ||
"type": "number", | ||
"default": -0.1, | ||
"description": "Jerk at the start of backward motion" | ||
}, | ||
"min_jerk_mild_stop": { | ||
"type": "number", | ||
"default": -0.3, | ||
"description": "Minimum jerk for mild stopping" | ||
}, | ||
"min_jerk": { | ||
"type": "number", | ||
"default": -1.5, | ||
"description": "Minimum backward jerk" | ||
}, | ||
"min_acc_mild_stop": { | ||
"type": "number", | ||
"default": -1.0, | ||
"description": "Minimum acceleration for mild stopping" | ||
}, | ||
"min_acc": { | ||
"type": "number", | ||
"default": -2.5, | ||
"description": "Minimum backward acceleration" | ||
}, | ||
"span_jerk": { | ||
"type": "number", | ||
"default": -0.01, | ||
"description": "Span jerk value for backward motion" | ||
} | ||
}, | ||
"required": [ | ||
"start_jerk", | ||
"min_jerk_mild_stop", | ||
"min_jerk", | ||
"min_acc_mild_stop", | ||
"min_acc", | ||
"span_jerk" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["resample", "latacc", "forward", "backward"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/analytical_params" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} |
Oops, something went wrong.