sick_scan_xd icon indicating copy to clipboard operation
sick_scan_xd copied to clipboard

How to use ROS1 to launch 2 PicoScan?

Open sjeffreydong opened this issue 10 months ago • 2 comments

Dear Teams,

Our customer Ros version ROS-NOETIC 20.04. they use ROS1 driver.

They want to use 2 PicoScan running on 1 PC controller,However they can run 1 picoScan on controller, but they can't run 2 picoScan at the same time, as the picture shows:

c898092270d4c414f250462df64a0284

So how to run 2 picoScan on 1 controller at the same time?

sjeffreydong avatar Apr 02 '24 03:04 sjeffreydong

Dear Sir, Customer is using 3.20 version and had defined the difference port for difference LiDAR in difference launch files. Customer feedback used with lower version is ok, but 3.20 version not. Please help to analysis and give a recommend about this. 6f48c1c685d07842c08e4cd0fc2f34c0

f534c087afcdacffc9cd6be76cf734ae

Jonny0816 avatar Apr 02 '24 10:04 Jonny0816

Thanks for your feedback. Running 2 picoScan lidars with 2 launchfiles in 2 ros nodes should work without problems. The screenshots of the launchfiles with different settings look good.

The messages in the first screenshot do not quite match the launchfiles. According to the launchfiles, the ros nodes should have the names "pico_scan_head" resp. "pico_scan_tail" instead of "sick_picoscan1" resp. "sick_picoscan2", which are displayed by ros. The error messages show that an empty ip address is used instead of the configured ones. It looks like the launchfiles are not used or their configuration is not active. Most likely, sick_scan_xd uses identical default values in both ros nodes instead of using the launchfiles resp. the configuration in the launchfiles.

The customer may simply have used other launchfiles with identical default settings. Can you post a complete logfile including the ros calls and complete launchfiles?

rostest avatar Apr 03 '24 09:04 rostest