ifm / ifm3d-ros

ifm pmd-based 3D ToF Camera ROS Package
Apache License 2.0
40 stars 40 forks source link

Compiling everything and making O3Rxx Camera work With ROS Noetic #66

Open samialperen opened 1 year ago

samialperen commented 1 year ago

Heyo,

After spending countless hours, I still either could not compile ifm3d and ros wrapper or I compiled and I can not connect the camera.

Here are some of the stuff I tried:

Can someone help me out? Many of the documentation on the GitHub is either deprecated or does not exist. Some of the links mentioned in previous issues does not exist anymore.

Thank you very much for your help!

lola-masson commented 1 year ago

@samialperen let's get your through the ifm3d build first, in issue https://github.com/ifm/ifm3d/issues/380. Once you have that ready to go, we can move on to ifm3d-ros installation. Please note that the ros-noetic-ifm3d package is unfortunately deprecated.

samialperen commented 1 year ago

hi @lola-masson , I managed to install ifm3d v0.93.0 + ifm3d-ros v1.0.1 configuration (ROS noetic). I upgraded firmware for OVP800 too. The camera I am using is O3R225. Now, when I try to launch any of the launch files provided by ifm3d_ros_examples, I get a timeout error. I can ping 192.168.0.69 (VPU) without any problem. I tried different port numbers from 50010 to 50015 (at the moment, my camera is connected to port 0 and port 2, so port numbers should be 50010 and 50012), but every possible combination, I am getting timeout error. Could you help me out, please?

ifm-csr commented 1 year ago

Hi @samialperen. It still could be that the camera is in "CONF" mode. You should switch each port to "RUN". See the documentation about the Dump and Config services here: https://ifm3d.com/sphinx-doc/build/html/ROS/ifm3d-ros/ifm3d_ros_driver/doc/dump_and_config.html. In doubt, send us the output of the Dump service, so that we can look at the current configuration of the device.

samialperen commented 1 year ago

@ifm-csr @lola-masson I changed port0 and port2 state to RUN and got this error now:

[ WARN] [1673895056.337101039]: -100010: Lib: Pixel format error - didn't expect a particular pixel type
[ WARN] [1673895056.337145282]: Timeout waiting for camera!

You can see dump.json attached as text file dump-copy.txt

lola-masson commented 1 year ago

@samialperen there seems to be an issue on the hardware side. The VPU shows "ERROR" state, and the port 2 (3D) is missing a whole lot of parameters in the configuration. I don't see anything obviously wrong looking at the article numbers. Could you email support.robotics @ ifm.com and we will setup a call to go through this together if that's OK with you. It seems like this will be easier to solve interactively.

samialperen commented 1 year ago

Hi @lola-masson , it works for me. Thanks a lot.

dekhanra commented 1 year ago

@samialperen,

As there have been no recent updates to this GitHub issue, we're closing it. If you still have questions, please feel free to open a new issue thread.