-
Notifications
You must be signed in to change notification settings - Fork 130
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
Release ar_track_alvar into ROS Noetic? #82
Comments
+1 |
|
modulo the port to OpenCV4.. |
@jspricke The API changes between OpenCV3 and 4 seem trivial. Once I have noetic running here I can give it a shot. |
@machinekoder are you still working on this? |
@wmmc88 I'm going for it next week as we finally moved to noetic. |
Turns out porting is not as easy as first thought. |
Thanks for looking into this. Have you been able to make some progress? |
@ajithcodesit I'm at it. There is quite a lot cv code in there that needs to be translated. |
Here is my WIP, I already have it working: https://github.com/machinekoder/ar_track_alvar/tree/noetic-devel There is quite some potential of reworking parts of the code aside from the port. |
any chance this is going to get merged in and released? |
I also see that Intermodalics has a @smits what is different between your version of are you also experiencing the "nan"-issues mentioned in machinekoder#1 (comment)? |
@fmessmer , I did not know of the |
@machinekoder I tried your WIP but I am not able to compile it with |
The machinekoder repo almost works well, however, if you look at some comments on this (unrelated) issue machinekoder#1 , you will notice that there is a problem where nan is published for a lot of the results. I have tracked down the issue and fixed this locally for individual markers by changing a few lines of code in
I also modified the catch at the end of the callback to catch all exceptions, because I was randomly getting cv errors that would shut down the node, which was annoying.
Now the node works well (albeit it seems slower than the melodic version) Anyways, I don't have the time to go and dig deeper at the root cause of why the quaternion retrieval failed and propose a proper pull request, but this should help anyone trying to debug it, or get it running. |
@chriskeraly-rios |
https://github.com/rios-ai/ar_track_alvar/tree/feature/rios_bug_fix Here you go. As I said, this is probably not the "proper" way to fix it, but it gets the job done for what I need. |
@chriskeraly-rios @machinekoder are either of you planning to make a noetic-devel PR? I see @haraisao also has a PR for a noetic devel branch. |
Sorry for beginner question, |
You can build his repo from source. In your workspace:
Build with colcon
|
Thank you @pmusau17 I successfully built in ROS noetic as well. |
you can also just use |
@machinekoder Thank you for releasing your code. [ERROR] [1668810254.584122576]: Error in ar_track_alvar callback: OpenCV(4.5.4) /home/ubuntu/build_opencv/opencv/modules/core/src/matrix.cpp:250: error: (-215:Assertion failed) s >= 0 in function 'setSize' How can I solve this issue?? |
@NHirose I got the same error on a Jetson Xavier NX/Jetpack 5.0.2. Fore some reason I got installed OpenCV 4.5.4 and 4.2.0. Uninstalled and reinstalled export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libopencv_core.so.4.2.0 Switched to this branch. There should be a better way to do it, at least this way got the job done, hope it helps on your environment, regards |
I cannot recognize the string type QR code when using ar_track_alvar, I have completed the camera calibration, and it can recognize the QR code with ID 0. |
I don’t know why this is. |
Would you mind releasing
ar_track_alvar
to ROS Noetic? It looks like all of its dependencies have been released, and recursively 14 repos need it.I'm not sure how much work it will need. The Noetic Migration Guide or the guide about transitioning ROS packages to Python 3 may be useful.
The text was updated successfully, but these errors were encountered: