depthai-ros: [bug] {Tf publishers}

Start with the why:

I am recording a ros bag of the different topics i need from the camera to run rtabmap. I am encoutering some issues because theres some tfs missing. When i record i end up with only one message for the tf_static. Is there a way to get tfs. I am not sure if theres an issue or if the ros wrapper is just like that

image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Maybe you’re on ROS melodic and you have more static TF publishers? If that’s the case and you’re replaying a bag file, it doesn’t work: https://github.com/ros/ros_comm/issues/146 (this issue has been fixed in Noetic). If you’re using Melodic, just install ros-melodic-static-transform-mux , open a console and run rosrun static_transform_mux static_transform_mux in it. After that, start replaying the bag file. Now you should have all TFs.

the issue was fixed with the latest merge in depth-core ai , thanks

What do you mean if i change from static ? Currently I’m having issues with RTABMAP because it can’t find the transform at time t.


From: Sachin Guruswamy @.> Sent: Tuesday, November 1, 2022 7:33:57 AM To: luxonis/depthai-ros @.> Cc: an99990 @.>; Mention @.> Subject: Re: [luxonis/depthai-ros] [bug] {Tf publishers} (Issue #158)

https://github.com/ROBOTIS-GIT/turtlebot3/blob/master/turtlebot3_slam/launch/turtlebot3_manipulation_slam.launch Even though they mention the freq here. it would still be published only once since it is static. it will publush repetatively if you change from static. I reviewed how the robot_state_publisher is written.

— Reply to this email directly, view it on GitHubhttps://github.com/luxonis/depthai-ros/issues/158#issuecomment-1298388098, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX7UXPGMYAX6RSZ4L7HSB3WGD52LANCNFSM6AAAAAARSSLGIE. You are receiving this because you were mentioned.Message ID: @.***>

It means it will be published in /tf. I will add an option to change. If I understand what rtabmap is trying to do is get and change the replative from map to base of oak.