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: add type adapter for cv::Mat #441

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

wep21
Copy link
Contributor

@wep21 wep21 commented Jun 21, 2022

I add type adapter for cv::Mat. I just import the feature from image_tools.

@wep21
Copy link
Contributor Author

wep21 commented Jun 21, 2022

@audrow Could you review this? I just import the feature you created from image_tools.

Copy link

@audrow audrow left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, @wep21. The code looks fine, as it was just copied over.

One thing is that type adaption only works for Humble and Rolling, so the PR jobs for Foxy and Galactic will always fail. Maybe this requires a new way of branching the repository to split Humble and Rolling. For that, I'll ping the maintainers: @gaoethan.

Also, @wjwwood, is there any way we can avoid this duplication, or is this desirable to do at all?

Lastly, for Rolling and Humble, it seems that the PR jobs are failing (ie, Rpr_* and Hpr_*) in the same ways. I didn't take much of a look, but don't see those failures in past PR jobs for the ros2 branch. Maybe it's something introduced in this PR?

@wep21
Copy link
Contributor Author

wep21 commented Jul 7, 2022

@audrow @gaoethan I fixed python test in #444. I appreciate it if you could review it, too.

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
@audrow
Copy link

audrow commented Jul 25, 2022

@ros-pull-request-builder retest this please

@wep21
Copy link
Contributor Author

wep21 commented Aug 3, 2022

@audrow Is it better to create a new branch for foxy or galactic?

@ijnek
Copy link
Member

ijnek commented Aug 3, 2022

@audrow Is it better to create a new branch for foxy or galactic?

Related: #393 foxy and galactic branches?

@wep21
Copy link
Contributor Author

wep21 commented Aug 16, 2022

@audrow friendly ping

Copy link

@audrow audrow left a comment

Choose a reason for hiding this comment

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

@audrow Is it better to create a new branch for foxy or galactic?

Yeah, now that I think of it, we're going to have to create those branches and setup CI before this can be merged in. Type adaptation was introduced in Humble, so nothing earlier will work.

@vrabaud, what do you think?

@ijnek
Copy link
Member

ijnek commented Sep 4, 2022

I've gone ahead and split off foxy, galactic and humble branches, and once ros/rosdistro#34314, CI should only run on rolling.

@audrow Since you've said you're fine with the changes in a previous comment, I'm going to proceed with merging the PR in (but not backport to humble since its a new feature). Over in demos/image_tools, a PR can be reaised to use the class from cv_bridge instead. If you're fine with that, could you simply leave a reaction? Otherwise, we can discuss.

@audrow
Copy link

audrow commented Sep 6, 2022

@audrow Since you've said you're fine with the changes in a previous comment, I'm going to proceed with merging the PR in (but not backport to humble since its a new feature). Over in demos/image_tools, a PR can be reaised to use the class from cv_bridge instead. If you're fine with that, could you simply leave a reaction? Otherwise, we can discuss.

That all sounds good to me - thanks, @ijnek!

I've gone ahead and split off foxy, galactic and humble branches, and once ros/rosdistro#34314, CI should only run on rolling.

By the way, if you want to be more consistent with most of the ROS 2 core repositories, you can change the ros2 branch to rolling.

@ijnek
Copy link
Member

ijnek commented Sep 6, 2022

By the way, if you want to be more consistent with most of the ROS 2 core repositories, you can change the ros2 branch to rolling.

Yep, that's the plan. I'm not sure what the unintended consequences are of renaming the branch are, so I'm going to be careful about it. You'd probably know more about this since you did the changes for the core repositories.

@ijnek
Copy link
Member

ijnek commented Sep 7, 2022

@ros-pull-request-builder retest this please

@ijnek
Copy link
Member

ijnek commented Sep 7, 2022

Branches have been updated, so only the output of Rolling CI is important here. Since it's passing, I'll merge.

@ijnek ijnek merged commit a5eeaf3 into ros-perception:ros2 Sep 7, 2022
@ijnek
Copy link
Member

ijnek commented Sep 7, 2022

Thanks for the contribution @wep21 and reviewing @audrow !

@ijnek
Copy link
Member

ijnek commented Sep 7, 2022

Over in demos/image_tools, a PR can be raised to use the class from cv_bridge instead.

Done: ros2/demos#583

@ZhenshengLee
Copy link

Any plan to merge this pr to humble branch?

@ijnek
Copy link
Member

ijnek commented Oct 11, 2022

@ZhenshengLee feature additions won't be backported to already released distributions, only bug fixes will be backported.

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