ifm / ifm3d-ros

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

How to fix "[WARN]: Timeout waiting for camera! " after network interruption #29

Closed Carolinadeveloper closed 2 years ago

Carolinadeveloper commented 4 years ago

Hi guys,

when the camera occurs network interruption, after I reconnecting the network, I can ping the sensor actually, but the camera driver always throw out an warning "[WARN]: Timeout waiting for camera! "(shown as the following img) and not work anymore. My current solution is reboot the camera(i.e, power off and power on again), but I want to use this camera in some real product which may not allowed to take too much time on reboot. Is there anyway to fix this issue?

camera_fail

theseankelly commented 4 years ago

Hi @zhaoyingdeveloper -- the need to reboot the camera is not expected. The ROS node is able to recover communication after a network dropout as well without restarting anything.

Have you tried stopping and restarting the ROS node (instead of the camera)?

Can you please run ifm3d dump and share the configuration of your device?

theseankelly commented 4 years ago

Migrating issue to the ifm3d-ros project

theseankelly commented 4 years ago

Hey @Carolinadeveloper -- following up. Could you share the configuration of your camera via ifm3d dump? I'm specifically interested in whether you're using free-running or software triggered mode. It'd be good to see the whole configuration though.

Carolinadeveloper commented 4 years ago

Hey @Carolinadeveloper -- following up. Could you share the configuration of your camera via ifm3d dump? I'm specifically interested in whether you're using free-running or software triggered mode. It'd be good to see the whole configuration though.

Hi, thank u for your reply, the following is my configuration:

Note: Since my project needs very high frame rate, I sped up the frame rate of pointcloud, I changed the following three parameters:

"ExposureTime" to "500" "FrameRate" to "30" "Type" to "under5m_low"

config11 config2 config3

If u find something wrong with my configuration please contact me

Best regards,

Carolina

theseankelly commented 4 years ago

FYI we're looking in to this.

theseankelly commented 4 years ago

@grenait is taking a look at reproducing this issue.

lola-masson commented 2 years ago

Closing due to inactivity. Please reopen if issue persists.