Skip to content
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

Using ZED2 stereo camera instead of Kinect #2

Open
esmaeilinia opened this issue Jun 28, 2020 · 11 comments
Open

Using ZED2 stereo camera instead of Kinect #2

esmaeilinia opened this issue Jun 28, 2020 · 11 comments

Comments

@esmaeilinia
Copy link

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

@germal
Copy link

germal commented Jan 23, 2021

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
Copy link

germal commented Jan 26, 2021

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

@esmaeilinia
Copy link
Author

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

@renatojmsdh
Copy link
Member

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

@germal
Copy link

germal commented Jan 27, 2021

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

@esmaeilinia
Copy link
Author

@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.

@germal
Copy link

germal commented Jan 28, 2021

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
Copy link

germal commented Feb 3, 2021

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

@renatojmsdh
Copy link
Member

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

@germal
Copy link

germal commented Feb 18, 2021

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

@imdsafi09
Copy link

Hello @renatojmsdh
Any update regarding that ZED2 bag files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants