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

LaserTest failing on macOS since YARP 3.10.1 update #222

Closed
traversaro opened this issue Dec 7, 2024 · 3 comments · Fixed by #223
Closed

LaserTest failing on macOS since YARP 3.10.1 update #222

traversaro opened this issue Dec 7, 2024 · 3 comments · Fixed by #223

Comments

@traversaro
Copy link
Member

Last successful build: https://github.com/robotology/gz-sim-yarp-plugins/actions/runs/12042629475 .
First failing build: https://github.com/robotology/gz-sim-yarp-plugins/actions/runs/12042629475 .

@traversaro
Copy link
Member Author

The failure message is:

Msg] Publishing pose messages on [/world/sensors/pose/info]
[Msg] Publishing dynamic pose messages on [/world/sensors/dynamic_pose/info]
[Dbg] [Lidar.cc:133] Laser scans for [laser_model::link_1::laser_sensor] advertised on [world/sensors/model/laser_model/link/link_1/sensor/laser_sensor/scan]
[Dbg] [GpuLidarSensor.cc:163] Lidar points for [laser_model::link_1::laser_sensor] advertised on [world/sensors/model/laser_model/link/link_1/sensor/laser_sensor/scan/points]
Error:  |yarp.os.YarpPluginSettings| Cannot find "Rangefinder2DClient" plugin (not built in, and no .ini file found for it)Check that YARP_DATA_DIRS leads to at least one directory with plugins/Rangefinder2DClient.ini or share/yarp/plugins/Rangefinder2DClient.ini in it
Error:  |yarp.dev.PolyDriver|Rangefinder2DClient| Could not find device <Rangefinder2DClient>
/Users/runner/work/gz-sim-yarp-plugins/gz-sim-yarp-plugins/tests/laser/LaserTest.cc:38: Failure
Value of: driver.open(option)
  Actual: false
Expected: true

[Dbg] [Sensors.cc:457] SensorsPrivate::Stop

Indeed, it seems that we use Rangefinder2DClient as the nws device name in

option.put("device", "Rangefinder2DClient");
, that I guess it is a deprecated device name, while the version (compatible also with older versions) is rangefinder2D_nwc_yarp.

@traversaro
Copy link
Member Author

Probably we only get this error on macOS as in other platforms the test is disabled, see #196 .

@traversaro
Copy link
Member Author

Fix proposed in #223 .

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