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

Failed to initialize client #390

Open
Nour-BCH opened this issue Oct 18, 2024 · 1 comment
Open

Failed to initialize client #390

Nour-BCH opened this issue Oct 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Nour-BCH
Copy link

I'm trying to connect Ouster OS0-32-U Lidar with ROS Noetic and ubuntu 20.04, using the v2.5.3 FW with link-local only Ethernal interface

When trying to launch driver.launch I get the error:
[ouster::sensor] {error] init_client(): A timeout occurred while waiting for the sensor to initialize.
[1729259432.079667441]: Failed to initialize client

Unable to display sensor data in rviz, and no messages sent on the sensor topics

@Nour-BCH Nour-BCH added the bug Something isn't working label Oct 18, 2024
@Samahu Samahu self-assigned this Oct 18, 2024
@Samahu
Copy link
Contributor

Samahu commented Oct 18, 2024

Hi @Nour-BCH, I can't reproduce the error with a REV-6 (128) sensor running FW 2.5.3. It is not clear to me how are you launching the sensor (Whether you are using the sensor hostname or the IP). Based on the error output this suggest that the sensor URL is probably un-accessible from the machine you are spawning the driver on. Consider the following:

  • Make sure you are able to ping the sensor from the machine (whether you are using the IP address or the sensor hostname)
  • From the same machine check if the command curl -i -X GET http://<use-sensor-address>/api/v1/sensor/metadata returns a valid json output. If it doesn't then this is likely a problem in your setup.
  • If you are using the sensor hostname try out the sensor ip address. Sometime it could be a DNS problem where the system can't resolve the hostname of the sensor

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants