3DSemanticMapping_JINT_2020 icon indicating copy to clipboard operation
3DSemanticMapping_JINT_2020 copied to clipboard

Using ZED2 stereo camera instead of Kinect

Open esmaeilinia opened this issue 5 years ago • 11 comments

How can I run this using a stereo camera (ZED2), and without turtlebot? Im trying to modify RTAB-Map to read from a stereo camera, but obj_positioner fails to position the detected objects on the map. I have modified the nodes to read from ZED stereo camera, but still it cant work with RTAB-map. Can you please provide more details on using different RGB-D cameras other than Kinect? Thanks

esmaeilinia avatar Jun 28 '20 15:06 esmaeilinia

Hi @esmaeilinia , I have exactly the same issue with a d435 camera, all the detected objects (i.e. person,book) are positioned at the origin of the map frame, even if I have adapted the camera frame and the pointcloud topic in the object_positioner.yaml file and in the object_projector.cpp. Darknet_ros publish correctly the coordinates of the target objects. Did you manage to resolve this issue ? @renatojmsdh Renato could you please help to understand ? Thanks for the support germal

germal avatar Jan 23 '21 12:01 germal

Hello @renatojmsdh @ericksonrn @ericksonrn @michelmelosilva could you please help to understand the root cause of the issue ? Is this a misconfiguration of mine ? Thanks Regards

germal avatar Jan 26 '21 23:01 germal

Hi @germal, I couldn't resolve it. I had the same issue with ZED and D435i.

esmaeilinia avatar Jan 27 '21 03:01 esmaeilinia

Hello @esmaeilinia and @germal,

I will have a look to check what is happening. Could you please tell me:

  1. What is your ROS distro (Kinetic, Melodic, ...)?

  2. Does the object_loalizer/filter node show any error message? (roslaunch auto obj_positioner.launch)

  3. [IMPORTANT] Could you please record and share with me one small ROS bag file from the D435i and one from ZED that you are trying to use?

Thanks

renatojmsdh avatar Jan 27 '21 09:01 renatojmsdh

Hello @renatojmsdh Thank you for your reply. I have ROS Melodic . There aren't error messages ; looking at the code , it seems to me that object_marker.py and map_interceptor.py are parametrized on the "door" object . The door object class doesn't appear in my darknet yaml file standard file ( I didn't custom train) , could be this the reason ? I will record a rosbag asap Thanks for your support ! Regards

germal avatar Jan 27 '21 09:01 germal

@renatojmsdh Thanks for your reply. I have tested on both Kinetic and Melodic. There was no error message. I'll share a sample ROS bag asap. Many thanks for your support.

esmaeilinia avatar Jan 27 '21 15:01 esmaeilinia

Hi @renatojmsdh I have uploaded the bag with the following topics /d400/color/image_rect_color /d400/depth/image_rect_raw /d400/color/camera_info /d400/depth_registered/points /tf /tf_static /darknet_ros/bounding_boxes /object_positioner/raw_marker https://wetransfer.com/downloads/05aa8e39f3272f46d91cafb54776969120210128150139/4b676bfaf22a56eff8aedf7ad727e33420210128150218/ca7a59

Thanks for your help ! image

 

germal avatar Jan 28 '21 15:01 germal

Hello @renatojmsdh , Please let us know if we can provide further details for your analysis. Thanks Regards germal

germal avatar Feb 03 '21 08:02 germal

Hi @germal, I took your bag and I will likely check it this weekend. I keep you informed soon. Best

renatojmsdh avatar Feb 05 '21 17:02 renatojmsdh

Hello @renatojmsdh , @ericksonrn , @michelmelosilva After a careful analysis of my colleagues more expert than me , seems that there is no issue indeed, your reasearch code works only with your bag and this is fine. I think you should amend ,for the sake of clarity,at least your readme,remarking that the results can be achieved only offline ,with your bag file, and not with a real camera. Thanks Regards

germal avatar Feb 18 '21 09:02 germal

Hello @renatojmsdh Any update regarding that ZED2 bag files?

imdsafi09 avatar Feb 15 '24 07:02 imdsafi09