-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support for Opencv4 in ROS2 Foxy [WIP] #257
Conversation
Signed-off-by: Francisco Martin Rico <[email protected]>
Thanks, were you able to test on 18.04 too? |
No. The current version in the Maybe we could have an |
@fmrico Yes, we could have a seperate branch for your PR. @tomlankhorst What do you think? |
Let's start with a |
Could you create the |
Hi @fmrico -- looks like you might have meant @tomlankhorst :) |
Yes, sorry @tomasgareau . Fixing... |
@fmrico I created a new branch called foxy and changed the base of this PR. |
@fmrico Can you please update the readme and mention that this branch ist running with ROS2 Foxy, Ubuntu 20.04 LTS and OpenCV 4.2.0? |
Signed-off-by: Francisco Martin Rico <[email protected]>
Hi @mbjelonic Thanks for creating the branch and changing the base! I have updated the Readme. I also changed the compilation commands to use colcon. |
@fmrico thanks for the work and contributing to daknet_ros! This is great. Can't wait to switch to Ubuntu 20.04. :) |
@mbjelonic Happy to help. Please, take into account what I wrote in the head of the PR. I am not happy with the final result, but it was a way to make it works. There is duplicated code in some files, and this is very ugly. This is only a starting point ;) |
@fmrico I was trying to compile it with ros2 foxy and opencv 4.2.0 (output from the command |
Hi @ajaypaul2008 I thought that I fixed this with this PR 🤔 In any case, this PR was a horrible patch to make darknet_ros work with the decision of OpenCV. Maybe someone should do a real fix. |
@fmrico Finally I got it working with opencv4 after I added changes from this PR #202 to foxy branch in my machine Update : pushed this here https://github.com/ajaypaul2008/darknet_ros/tree/foxy |
Warning: This is the dirtiest PR I have ever made, but it's the only way that I have found to make it works in Ubuntu 20.04 with OpenCV4
Hi All,
OpenCV 4 makes fail the compilation of darknet_ros for ROS Foxy. This PR makes it work.
Issue referenced in #234 and #200, at least.
If someone finds a better way to compile this, it is wellcome. I hope this could help someone and inspire others for a better solution.
Working on ROS2 Foxy, Ubuntu 20.04 LTS and OpenCV 4.2.0
Signed-off-by: Francisco Martin Rico [email protected]