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

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

Open
samialperen opened this issue Jan 12, 2023 · 7 comments
Open

Comments

@samialperen
Copy link

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:

  • Compiling from Source for ROS Noetic on Ubuntu -- stlimage-tests error ifm3d#380
  • Trying ifm3d different tags --> always same error as mentioned in above issue
  • Installed ros-noetic-ifm3d with apt --> when trying to connect camera getting this error [ INFO] [1673553778.279907362]: Loading nodelet /ifm3d_ros_examples/camera of type ifm3d_ros/camera_nodelet to manager camera_standalone_nodelet with the following remappings: [ INFO] [1673553778.282253150]: waitForService: Service [/ifm3d_ros_examples/camera_standalone_nodelet/load_nodelet] has not been advertised, waiting... [ INFO] [1673553778.292271043]: Initializing nodelet with 16 worker threads. [ INFO] [1673553778.303088068]: waitForService: Service [/ifm3d_ros_examples/camera_standalone_nodelet/load_nodelet] is now available. [ INFO] [1673553778.357031416]: onInit(): /ifm3d_ros_examples/camera [ INFO] [1673553778.405622412]: Camera clock will not be sync'd to system clock [ INFO] [1673553778.405655652]: Running dtors... [ INFO] [1673553778.405669190]: Initializing camera... [ INFO] [1673553779.411659474]: Initializing framegrabber... terminate called after throwing an instance of 'std::invalid_argument' what(): stoi [ifm3d_ros_example

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

@samialperen let's get your through the ifm3d build first, in issue ifm/ifm3d#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
Copy link
Author

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

ifm-csr commented Jan 16, 2023

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

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

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

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

@dekhanra
Copy link
Contributor

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

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