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

Setup Hokuyo UST 10LX ip with remote access

asked 2018-07-18 14:43:54 -0500

AutoCar gravatar image

updated 2018-07-18 14:45:04 -0500

Hi, I am setting up Hokuyo UST 10LX on my Jetson TX2, but got confused about the ROS/Hokuyo/TX2 ip addresses. Hope you can help me clarify it.

Hokuyo ip address is factory default: 192.168.0.10 and it is linked to the Ethernet port of the TX2. I followed the instructions in this https://www.jetsonhacks.com/2018/02/2... and set my TX2 eth0 to 192.168.0.15.

However, my jetson uses WIFI and its ip address for wlan0 is 192.168.0.28. Since my TX2 is attached to a robot, I want to open rviz on another computer so I can monitor the data from the TX2. The other computer is also on WIFI and its ip address is 192.168.0.29.

My questions is what the ROS_MASTER_URI and ROS_IP on my TX2 should be?

Thank you very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-18 17:53:13 -0500

export ROS_MASTER_URI=http://<name of robot host machine>:11311

Both your machine and the robot machine must be able to ping each other by hostname (add to etc hosts).

You don't need to play with the ROS_IP. That's for a slightly different purpose.

edit flag offensive delete link more

Comments

When I edit the etc/hosts on Windows, should I use 192.168.0.28 or 192.168.0.15?

AutoCar gravatar image AutoCar  ( 2018-07-20 00:08:19 -0500 )edit

I think it would be a valuable experiment for you to try yourself to answer that question.

stevemacenski gravatar image stevemacenski  ( 2018-07-20 00:16:13 -0500 )edit

I already tried. Neither worked.

AutoCar gravatar image AutoCar  ( 2018-07-20 11:46:20 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-18 14:43:54 -0500

Seen: 865 times

Last updated: Jul 18 '18