-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(launch): add new option to select planning preset #680
Conversation
8f7a7d6
to
7a762f4
Compare
default: "[behavior_velocity_planner::CrosswalkModulePlugin, | ||
behavior_velocity_planner::WalkwayModulePlugin, | ||
behavior_velocity_planner::TrafficLightModulePlugin, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to prevent duplicate descriptions and typos in the behavior_velocity_planner plugin, wouldn't it be better to write it in "commented out format" like before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tkimura4 Thanks for your comment. I think so. But it seems that it can't do comment out like this since this parameter is definded as a string.
- arg:
name: behavior_velocity_planner_launch_modules
default: "[behavior_velocity_planner::CrosswalkModulePlugin,
behavior_velocity_planner::WalkwayModulePlugin,
behavior_velocity_planner::TrafficLightModulePlugin,
behavior_velocity_planner::IntersectionModulePlugin,
# behavior_velocity_planner::MergeFromPrivateModulePlugin,
behavior_velocity_planner::BlindSpotModulePlugin,
behavior_velocity_planner::DetectionAreaModulePlugin,
behavior_velocity_planner::NoStoppingAreaModulePlugin,
behavior_velocity_planner::StopLineModulePlugin,
behavior_velocity_planner::OutOfLaneModulePlugin]"
Or do you have any workarounds...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh... 😢 Sorry, I don't know the solution either.
In the current string format, is it easy to understand errors caused by duplicate plugin descriptions or typos?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh... 😢 Sorry, I don't know the solution either.
🙏
In the current string format, is it easy to understand errors caused by duplicate plugin descriptions or typos?
Umm...maybe... It may ouputs error message from node, I guess. 🤔
RCLCPP_ERROR_STREAM(node.get_logger(), "The scene plugin '" << name << "' is not available.");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it has better use std::invalid_argument
instead of RCLCPP_ERROR_STREAM
in order to notice invalid launch config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
64891b6
to
74746d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
ecdddb7
to
bc6694a
Compare
Signed-off-by: badai-nguyen <[email protected]>
link universe pr |
feat(behavior_path_planner): add yaw threshold param (autowarefoundation#1040)
chore: sync awf-latest
Description
Add new option
planning_module_preset
so that it is able to switch launch modules more easily and flexibly.We can select launch modules in preset yaml file as follow. In addition, since we can manage launch modules by only one file, we don't have to create new branch in order to change launch modules.
How to add preset?
<identification_name>_preset.yaml
./autoware_launch/config/planning/preset/<identification_name>_preset.yaml
.planning_module_preset:=<identification_name>
.Tests performed
Effects on system behavior
Nothing.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.