-
Notifications
You must be signed in to change notification settings - Fork 639
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(autoware_pointcloud_preprocessor): rework filter parameters #8469
base: main
Are you sure you want to change the base?
refactor(autoware_pointcloud_preprocessor): rework filter parameters #8469
Conversation
Signed-off-by: vividf <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Signed-off-by: vividf <[email protected]>
Signed-off-by: vividf <[email protected]>
Signed-off-by: vividf <[email protected]>
Signed-off-by: vividf <[email protected]>
Signed-off-by: vividf <[email protected]>
Note that this PR needs to be merged together with PR autowarefoundation/sample_sensor_kit_launch#104 in the common_sensor _launch |
tf_output_frame_ = static_cast<std::string>(declare_parameter("output_frame", "")); | ||
tf_input_frame_ = declare_parameter<std::string>("input_frame"); | ||
tf_output_frame_ = declare_parameter<std::string>("output_frame"); | ||
max_queue_size_ = static_cast<size_t>(declare_parameter<int64_t>("max_queue_size")); | ||
has_static_tf_only_ = static_cast<bool>(declare_parameter("has_static_tf_only", false)); |
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.
This seems to be using the old way of declaring parameters
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.
*note: I am referring to has_static_tf_only_
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.
@amadeuszsz will remove the default parameters for has_static_tf_only_
for all of the nodes after schema-related PRs are merged :)
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.
@vividf
Sure, but if that does not happen in the near future, please send a PR. It will look weird otherwise
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 will be mark as approved but leave the conversation open for future reference)
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.
Left some review comments
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
Some filters are launched in autoware.universe/launch/tier4_localization_launch/launch/util/util.launch.xml Lines 11 to 31 in c7d9b9b
I feel like this also needs to be fixed, is that correct? |
To run Autoware + AWSIM, I need the following changes.
(RobotecAI/awsim_sensor_kit_launch@main...SakodaShintaro:awsim_sensor_kit_launch:fix/filter_param is also needed) Test procedure(1) Download AWSIM v1.3.0 ros2 launch autoware_launch e2e_simulator.launch.xml \
map_path:=$HOME/Downloads/nishishinjuku_autoware_map_divided \
vehicle_model:=sample_vehicle \
sensor_model:=awsim_sensor_kit (6) Set goal ros2 topic pub -1 /planning/mission_planning/goal geometry_msgs/msg/PoseStamped '{
header: {
stamp: {sec: 181, nanosec: 289995947},
frame_id: 'map'},
pose: {
position: { x: 81536.5703, y: 50199.3632, z: 34.2321 },
orientation: { x: +0.0099193127825856, y: -0.0045161009766161, z: -0.0861385315656662, w: -0.9962236285209656 }
}
}' (7) Engage ros2 topic pub /autoware/engage autoware_vehicle_msgs/msg/Engage "engage: true" -1 @vividf |
Description
This PR includes the following changes
A big thank you to @Ariiees for the PRs (#8297 and #7422), where we worked together on the entire pointcloud preprocessor parameters, launch file, and schema.
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.