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

fix(pointcloud_preprocessor): add missed target dependency #2101

Conversation

kaancolak
Copy link
Contributor

@kaancolak kaancolak commented Oct 18, 2022

Signed-off-by: Kaan Colak [email protected]

Description

pointcloud_preprocessor crashes when logging_simulator.launch.xml is launched with the use_pointcloud_container:=false param while a ros2 bag plays.

ros2 launch autoware_launch logging_simulator.launch.xml map_path:=/home/kaan/projects/sample-map-rosbag vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit
ros2 bag play ~/sample-rosbag/sample.db3 -r 0.2 -s sqlite3

Screenshot from 2022-10-18 15-56-00

But;

ros2 launch autoware_launch logging_simulator.launch.xml map_path:=/home/kaan/projects/sample-map-rosbag vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit use_pointcloud_container:=true
ros2 bag play ~/sample-rosbag/sample.db3 -r 0.2 -s sqlite3

The package doesn't crash.

I added pcl_ros to ament_target_dependencies and it looks like everything works without any problem.

Relevant PR: fix(pointcloud_preprocessor): separate targets for base class

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.

  • There are no open discussions or they are tracked via tickets.

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

@kaancolak
Copy link
Contributor Author

Hello, @yukkysaito , @amc-nu. Could you review this PR?

@codecov
Copy link

codecov bot commented Oct 18, 2022

Codecov Report

Base: 10.37% // Head: 10.37% // No change to project coverage 👍

Coverage data is based on head (49efada) compared to base (272f8a2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2101   +/-   ##
=======================================
  Coverage   10.37%   10.37%           
=======================================
  Files        1175     1175           
  Lines       84044    84044           
  Branches    19591    19591           
=======================================
  Hits         8717     8717           
  Misses      65791    65791           
  Partials     9536     9536           
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 10.35% <ø> (ø) Carriedforward from 8fc7be4

*This pull request uses carry forward flags. Click here to find out 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.

Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

LGTM

@kaancolak kaancolak self-assigned this Oct 19, 2022
@wep21
Copy link
Contributor

wep21 commented Oct 19, 2022

@kaancolak I'm sorry, this is my mistake. Thank you for your fix.

@shmpwk shmpwk merged commit 91ed17f into autowarefoundation:main Oct 21, 2022
tkimura4 pushed a commit to tier4/autoware.universe that referenced this pull request Oct 28, 2022
tkimura4 added a commit to tier4/autoware.universe that referenced this pull request Oct 28, 2022
* fix(pointcloud_preprocessor): separate targets for base class (autowarefoundation#1982)

Signed-off-by: Daisuke Nishimatsu <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>

* fix(pointcloud_preprocessor): add missed target dependency (autowarefoundation#2101)

Signed-off-by: Kaan Colak <[email protected]>

Signed-off-by: Kaan Colak <[email protected]>

* fix: remove un-existed file from cmake

Signed-off-by: tomoya.kimura <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>
Signed-off-by: Kaan Colak <[email protected]>
Co-authored-by: Daisuke Nishimatsu <[email protected]>
Co-authored-by: Kaan Çolak <[email protected]>
tzhong518 pushed a commit to tier4/autoware.universe that referenced this pull request Dec 9, 2022
* fix(pointcloud_preprocessor): separate targets for base class (autowarefoundation#1982)

Signed-off-by: Daisuke Nishimatsu <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>

* fix(pointcloud_preprocessor): add missed target dependency (autowarefoundation#2101)

Signed-off-by: Kaan Colak <[email protected]>

Signed-off-by: Kaan Colak <[email protected]>

* fix: remove un-existed file from cmake

Signed-off-by: tomoya.kimura <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>
Signed-off-by: Kaan Colak <[email protected]>
Co-authored-by: Daisuke Nishimatsu <[email protected]>
Co-authored-by: Kaan Çolak <[email protected]>
badai-nguyen pushed a commit to badai-nguyen/autoware.universe that referenced this pull request Feb 2, 2023
* fix(pointcloud_preprocessor): separate targets for base class (autowarefoundation#1982)

Signed-off-by: Daisuke Nishimatsu <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>

* fix(pointcloud_preprocessor): add missed target dependency (autowarefoundation#2101)

Signed-off-by: Kaan Colak <[email protected]>

Signed-off-by: Kaan Colak <[email protected]>

* fix: remove un-existed file from cmake

Signed-off-by: tomoya.kimura <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Signed-off-by: tomoya.kimura <[email protected]>
Signed-off-by: Kaan Colak <[email protected]>
Co-authored-by: Daisuke Nishimatsu <[email protected]>
Co-authored-by: Kaan Çolak <[email protected]>
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