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(tier4_perception_launch): add option for euclidean lidar detection model #842

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

shmpwk
Copy link
Contributor

@shmpwk shmpwk commented May 2, 2022

Description

Add euclidean lidar deteciton model option instead of apollo or centerpoint model.
This option is useful for no-cuda users since apollo and centerpoint model need cuda.

Related links

TIER IV internal link

Tests performed

  • I tested this option with logiee and confirmed it works.

Notes for reviewers

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@shmpwk shmpwk force-pushed the feat/euclid-option branch from 5ed9bba to 0d8840e Compare May 2, 2022 10:25
@wep21 wep21 requested a review from yukkysaito May 4, 2022 08:03
@taikitanaka3
Copy link
Contributor

@shmpwk
Can you make this PR to tier4 fork autoware_launch too?

@yukkysaito
Copy link
Contributor

I'm currently changing centerpoint and apollo with the clustering outputs, so can you please wait for that? I will send out a PR soon.

@shmpwk
Copy link
Contributor Author

shmpwk commented May 9, 2022

Thank you for checking, I will change this PR to draft until centerpoint and apollo with the clustering outputs PR.

Can you make this PR to tier4 fork autoware_launch too?

Ok I will.

@shmpwk shmpwk marked this pull request as draft May 9, 2022 00:35
@yukke42 yukke42 added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label May 9, 2022
@stale
Copy link

stale bot commented Jul 8, 2022

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the status:stale Inactive or outdated issues. (auto-assigned) label Jul 8, 2022
@stale stale bot removed the status:stale Inactive or outdated issues. (auto-assigned) label Dec 22, 2022
@github-actions github-actions bot added component:launch Launch files, scripts and initialization tools. (auto-assigned) and removed component:perception Advanced sensor data processing and environment understanding. (auto-assigned) labels Dec 22, 2022
@shmpwk
Copy link
Contributor Author

shmpwk commented Dec 22, 2022

@yukkysaito

I'm currently changing centerpoint and apollo with the clustering outputs, so can you please wait for that? I will send out a PR soon.

Have you finished it yet?

@yukkysaito
Copy link
Contributor

@shmpwk Sorry for late. I finished. 🙏

@shmpwk shmpwk force-pushed the feat/euclid-option branch from 0d8840e to 570ad24 Compare December 23, 2022 02:42
@shmpwk
Copy link
Contributor Author

shmpwk commented Dec 23, 2022

I confirmed it works with AWSIM by following command.

ros2 launch autoware_launch e2e_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit map_path:=/home/shumpeiwakabayashi/Downloads/nishishinjuku_autoware_map/ lidar_detection_model:=clustering

If we specify lidar_detection_model:=clustering, all objects are recognized as UNKNOWN.

Screenshot from 2022-12-23 11-35-53

@shmpwk shmpwk marked this pull request as ready for review December 23, 2022 02:43
@shmpwk shmpwk requested review from miursh and a team as code owners December 23, 2022 02:43
@shmpwk shmpwk requested review from h-ohta and kminoda December 23, 2022 02:44
@shmpwk
Copy link
Contributor Author

shmpwk commented Dec 23, 2022

I will edit autoware_launch too.

@shmpwk shmpwk changed the title feat(tier4_perception_launch): add euclidean lidar detection model feat(tier4_perception_launch): add option for euclidean lidar detection model Dec 23, 2022
Signed-off-by: Shumpei Wakabayashi <shumpei.wakabayashi@tier4.jp>
@shmpwk shmpwk force-pushed the feat/euclid-option branch from 570ad24 to 82cf812 Compare December 23, 2022 02:55
@codecov
Copy link

codecov bot commented Dec 23, 2022

Codecov Report

Base: 11.49% // Head: 11.27% // Decreases project coverage by -0.21% ⚠️

Coverage data is based on head (570ad24) compared to base (0f04622).
Patch has no changes to coverable lines.

❗ Current head 570ad24 differs from pull request most recent head 6b4c676. Consider uploading reports for the commit 6b4c676 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #842      +/-   ##
==========================================
- Coverage   11.49%   11.27%   -0.22%     
==========================================
  Files        1271     1168     -103     
  Lines       88407    81939    -6468     
  Branches    23310    21011    -2299     
==========================================
- Hits        10162     9242     -920     
+ Misses      67472    62834    -4638     
+ Partials    10773     9863     -910     
Flag Coverage Δ *Carryforward flag
differential ∅ <ø> (?)
total 11.27% <ø> (-0.22%) ⬇️ Carriedforward from db37c87

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...vehicle_model/vehicle_model_bicycle_kinematics.hpp 0.00% <0.00%> (-100.00%) ⬇️
...clude/obstacle_avoidance_planner/mpt_optimizer.hpp 0.00% <0.00%> (-80.00%) ⬇️
...nner/src/vehicle_model/vehicle_model_interface.cpp 0.00% <0.00%> (-75.00%) ⬇️
...vehicle_model/vehicle_model_bicycle_kinematics.cpp 0.00% <0.00%> (-52.18%) ⬇️
...g/obstacle_avoidance_planner/src/mpt_optimizer.cpp 0.00% <0.00%> (-43.55%) ⬇️
...srv/detail/dds_fastrtps/load_map__type_support.cpp 0.00% <0.00%> (-41.94%) ⬇️
...v/detail/dds_fastrtps/plan_route__type_support.cpp 0.00% <0.00%> (-37.50%) ⬇️
...include/obstacle_avoidance_planner/utils/utils.hpp 0.00% <0.00%> (-36.48%) ⬇️
...rv/detail/dds_fastrtps/plan_path__type_support.cpp 0.00% <0.00%> (-34.12%) ⬇️
planning/static_centerline_optimizer/src/main.cpp 0.00% <0.00%> (-33.34%) ⬇️
... and 255 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -20,7 +20,7 @@
<arg name="image_raw7" default="/image_raw7"/>
<arg name="camera_info7" default="/camera_info7"/>
<arg name="image_number" default="1" description="choose image raw number(0-7)"/>
<arg name="lidar_detection_model" default="centerpoint" description="options: `centerpoint`, `apollo`"/>
<arg name="lidar_detection_model" default="centerpoint" description="options: `centerpoint`, `apollo`, `clustering`"/>
Copy link
Contributor Author

@shmpwk shmpwk Dec 23, 2022

Choose a reason for hiding this comment

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

@miursh @yukke42 @tzhong518
Can I add description of lidar_detection_model for pointpainting?

Copy link
Contributor

Choose a reason for hiding this comment

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

@shmpwk No, It's only for camera-lidar-fusion.

@shmpwk shmpwk requested a review from yukke42 December 23, 2022 05:56
@yukke42
Copy link
Contributor

yukke42 commented Dec 23, 2022

@shmpwk Cloud you check launch files again? The options are only changed.

@shmpwk
Copy link
Contributor Author

shmpwk commented Dec 23, 2022

@yukke42 Actually, there is no need to add some script thanks to the clustering namespace.

@shmpwk
Copy link
Contributor Author

shmpwk commented Jan 5, 2023

Resolved conflict. Any other concerns for this PR?

Copy link
Contributor

@miursh miursh left a comment

Choose a reason for hiding this comment

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

LGTM

@shmpwk shmpwk merged commit 72a27d3 into autowarefoundation:main Jan 10, 2023
@shmpwk shmpwk deleted the feat/euclid-option branch January 10, 2023 23:56
SaltUhey pushed a commit to SaltUhey/autoware.universe that referenced this pull request Oct 2, 2023
…in-sync

chore: sync beta branch beta/v0.12.0 with tier4/main
ryuichi-maeda pushed a commit to sensefield/autoware.universe that referenced this pull request Jan 10, 2025
…foundation#842)

update upstream's docker directory

Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
iwatake2222 pushed a commit to iwatake2222/autoware.universe that referenced this pull request Jan 17, 2025
Added twist2accel.param.yaml

Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:launch Launch files, scripts and initialization tools. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants