You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
where "laser" is the frame id, which you can set in your urg_node yaml file
Parameters
A YAML file example is included in the launch folder, all the available parameters are listed in it.For example (note that the serial_port is commented because you can't set a param with an empty string):
For example to reconfigure the cluster parameter using command line :
ros2 param set /urg_node cluster 1
Configure your eth device
To use ust-20lx, you need to be on the same subnet as the laser.The ust-20lx default ip is 192.168.0.10, so you might need to change your ip, for something on the same subnet.
On Ubuntu :
go to the network settings
settings of the wired connection
under IPv4, change the IPv4 method from automatic to Manual and under Addresses, set the values:
Turn off and on the connection or wait a bit for the change to apply
To check if it worked, open a terminal and type
ifconfig
Under eth0 (or maybe something like enpxxxxx), your IP should be 192.168.0.15.You should now be able to ping the ust-20lx at its address (by default 192.168.0.10)
ping 192.168.0.10
If you don't receive any answer, you might have a connection problem or the IP of your laser might have been change, either find it and go on the same subnet or reset it.
Once you can ping the laser, you can launch the urg_node_driver:
ros2 run urg_node urg_node_driver --ros-args --params-file ./install/urg_node/share/urg_node/launch/urg_node_ethernet.yaml