Skip to content
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

feat(aip_launcher): ring outlier filter node load from param file #305

Merged

Conversation

vividf
Copy link
Contributor

@vividf vividf commented Sep 9, 2024

PR autowarefoundation/autoware.universe#8468 removes the default parameter, thus aip_launcher needs to load the ring outlier parameter (also distortion corrector parameter) from the parameter file.

@vividf vividf requested review from badai-nguyen and YoshiRi and removed request for badai-nguyen September 9, 2024 08:38
@vividf vividf self-assigned this Sep 10, 2024
@badai-nguyen
Copy link
Contributor

LGTM.
nits: It's better to separate this PRs into PRs for ech filter parameter update.

@vividf
Copy link
Contributor Author

vividf commented Sep 18, 2024

@badai-nguyen Thanks, I removed distortion corrector related code from this PR.

@vividf
Copy link
Contributor Author

vividf commented Sep 18, 2024

@badai-nguyen The distortion corrector part is separated into this PR #317.

@vividf
Copy link
Contributor Author

vividf commented Sep 30, 2024

@YoshiRi @badai-nguyen kindly ping

Copy link
Contributor

@YoshiRi YoshiRi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vividf vividf merged commit 803c445 into tier4:tier4/universe Oct 1, 2024
8 of 9 checks passed
@SakodaShintaro
Copy link
Contributor

@vividf @YoshiRi
Why did this PR only change aip_x2_launch and not api_xx1_launch etc?
How was this PR tested?

An error occurred when launch the pilot-auto vanilla with odaiba-AWSIM.

ros2 launch autoware_launch e2e_simulator.launch.xml \
    map_path:=$HOME/autoware_map/odaiba_beta/ \
    vehicle_model:=taxi \
    sensor_model:=aip_xx1 \
    use_foa:=false \
    vehicle_id:=awsim_jpt \
    traffic_light_namespace:=[camera6]
1727927388.9376574 [ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'ring_outlier_filter' of type 'autoware::pointcloud_preprocessor::RingOutlierFilterComponent' in container '/sensing/lidar/top/pointcloud_preprocessor/pointcloud_container': Component constructor threw an exception: Statically typed parameter 'distance_ratio' must be initialized.

@vividf
Copy link
Contributor Author

vividf commented Oct 3, 2024

@SakodaShintaro Sorry about this, in aip_xx1_launch there is no pandar_node_container.launch.py and I didn't consider that I need to update for simulator one. Could you tell me which launch file (that runs the distortion corrector node and ring outlier node) that odaiba-AWSIM used?

@SakodaShintaro
Copy link
Contributor

@vividf
I am not familiar with the sensing launch system.
But I think the following launches are called.

nebula_node_container.launch.py ​​appears to have been modified appropriately.

I will continue to investigate.

@SakodaShintaro
Copy link
Contributor

@vividf
Copy link
Contributor Author

vividf commented Oct 3, 2024

@SakodaShintaro I see, thanks for the info I will create PR for the awsim as the common_sensor_launch one should work.
If you need a quick fix, I think this PR can help autowarefoundation/awsim_labs_sensor_kit_launch#6

@SakodaShintaro
Copy link
Contributor

@vividf
Thank you for checking, I've created a pull request.
#324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants