running multiple urg_nodes from launch file failed
I am running trying to run two Hukoyu lidars in a roslaunch file but it fails saying:
[ERROR] [1594981489.035509505]: Error connecting to Hokuyo: Could not open serial Hokuyo:
/dev/ttyACM0 @ 115200
could not open serial device.
But both of the sensors are connected which I can verify by running:
rosrun urg_node urg_node _ip_address:=192.168.131.15
[ INFO] [1594981672.086954627]: Connected to network device with intensity and ID: H1866449
[ INFO] [1594981672.131274440]: Streaming data.
Here is my laser.launch
<launch>
<arg name="_ip_address"/>
<node name="urg_node"
pkg="urg_node"
type="urg_node"
args="$(arg _ip_address)"
>
</node>
</launch>
and here is the lasers.launch
file:
<launch>
<include ns="front_laser" file="$(find mbs_lasers)/launch/laser.launch">
<arg name="_ip_address" value="192.168.131.15" />
</include>
<include ns="rare_laser" file="$(find mbs_lasers)/launch/laser.launch">
<arg name="_ip_address" value="192.168.131.20" />
</include>
</launch>
I have seen a lot of questions on answers.ros.org, and checked several but the problem stays the same. I am not able to figure out where I am making a mistake. Any insights on it will be really appreciated.