pal-robotics / aruco_ros

Software package and ROS wrappers of the Aruco Augmented Reality marker detector library
MIT License
439 stars 304 forks source link

No marker TF frame #111

Closed saprrow closed 5 months ago

saprrow commented 1 year ago

I launched an aruco_ros single node and the marker could be recognized. But it's wired that no marker TF frame but realsense_camera frames can be found in the tf_frame.

Hope for a solution. Thanks!

Screenshot from 2022-12-25 20-52-48 Screenshot from 2022-12-25 20-53-16 Screenshot from 2022-1
![Screenshot from 2022-12-25 21-16-12](https://user-images.githubusercontent.com/44662300/209469446-8340719a-7f85-4898-9dc5-cbd4a7cbf518.png)
2-25 20-54-24 Screenshot from 2022-12-25 21-16-12

AminSeffo commented 1 year ago

Hey @saprrow, I am facing exactly the same problem, did you manage to solve this and can you tell me how? Thanks in advance

saprrow commented 1 year ago

Hi, AminSeffo I just turned to easy_aruco and it works. Remeber to remap you camera topic to easy_aruco's default camera topic, or you can just change dafault topic name in 'src/Detector.cpp'.


发件人: AminSeffo @.> 发送时间: 2023年2月25日 15:20 收件人: pal-robotics/aruco_ros @.> 抄送: sparrow @.>; Mention @.> 主题: Re: [pal-robotics/aruco_ros] No marker TF frame (Issue #111)

Hey @saprrowhttps://github.com/saprrow, I am facing exactly the same problem, did you manage to solve this and can you tell me how? Thanks in advance

― Reply to this email directly, view it on GitHubhttps://github.com/pal-robotics/aruco_ros/issues/111#issuecomment-1445019403, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKUX4HG2PKUEJZZFS43BEDDWZGXEJANCNFSM6AAAAAATI7RS4I. You are receiving this because you were mentioned.Message ID: @.***>

saikishor commented 1 year ago

Hello @saprrow and @AminSeffo,

I apologise for the delay in responding to this issue. Regarding your issues, arucos_ros only publishes the TF, where someone subscribes to the topics published by the node as specified in this part of the code: https://github.com/pal-robotics/aruco_ros/blob/noetic-devel/aruco_ros/src/simple_single.cpp#L187-L194. You can add a subscriber to one of these topics : https://github.com/pal-robotics/aruco_ros/blob/noetic-devel/aruco_ros/src/simple_single.cpp#L131-L137 to later enable the TF broadcasting. It is done this way to not to run the aruco detection all the time and thereby to reduce the load on the PC. We hope this helps to solve your issue.

Thank you,

Best Regards, PAL Robotics Team.