Ask Your Question
0

How to run more than two UST-10LX or UST-20LX in ROS using urg node?

asked 2015-02-21 06:26:39 -0600

ums_007 gravatar image

I am having trouble in running two UST-10LX in same laptop since it uses an Ethernet interface.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-02-21 07:30:54 -0600

rechie26 gravatar image

updated 2015-02-21 09:27:07 -0600

gvdhoorn gravatar image

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" >
    <param name="ip_address" value="192.168.0.10"/>
  </node>
  <node ns="lidar2" pkg="urg_node" type="urg_node" name="lidar2" >
    <param name="ip_address" value="192.168.0.12"/>
  </node>
</launch>

It will work for sure. Cheers!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-02-21 06:26:39 -0600

Seen: 2,163 times

Last updated: Feb 21 '15