ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You will have to change the IP settings of one of your UST. After that use a router to connect Lidars with your PC. Then change IPV4 settings to manual and IP address to 192.168.0.100(as told by hokuyo). After all this you will be able to run both the lidars individually using the command--- rosrun urg_node urg_node _ip_address:="192.168.0.10"--- for the lidar with default settings and _ip_address:="192.168.0.x" for new settings.

For launching both these together you can make a launch file. You can use: <launch> <node ns="lidar1" pkg="urg_node" type="urg_node" name="lidar1" &gt;="" <param="" name="ip_address" value="192.168.0.10"/> </node> <node ns="lidar2" pkg="urg_node" type="urg_node" name="lidar2" &gt;="" <param="" name="ip_address" value="192.168.0.12"/> </node> </launch>

It will work for sure. Cheers!

click to hide/show revision 2
No.2 Revision

You will have to change the IP settings of one of your UST. After that use a router to connect Lidars with your PC. Then change IPV4 settings to manual and IP address to 192.168.0.100(as 192.168.0.100 (as told by hokuyo). After all this you will be able to run both the lidars individually using the command--- command rosrun urg_node urg_node _ip_address:="192.168.0.10"--- _ip_address:="192.168.0.10" for the lidar with default settings and _ip_address:="192.168.0.x" _ip_address:="192.168.0.x" for new settings.

For launching both these together you can make a launch file. You can use: use:

<launch>
 <node ns="lidar1" pkg="urg_node" type="urg_node" name="lidar1" &gt;="" <param="" >
    <param name="ip_address" value="192.168.0.10"/>
 </node>
 <node ns="lidar2" pkg="urg_node" type="urg_node" name="lidar2" &gt;="" <param="" >
    <param name="ip_address" value="192.168.0.12"/>
 </node>
</launch>

</launch>

It will work for sure. Cheers!