Robotics StackExchange | Archived questions

Using ROS without internet on Jetson TX2

Hello,

I am building an outdoor robot and I will not be having internet connectivity. I was able to start and run the robot with internet connectivity. I changed the configuration to work without internet connectivity. I am using a Jetson TX2, I will not be using ssh because of the lack of internet connectivity outdoors.

I first changed the ROSMASTERURI=http://127.0.1.1:11311 (tegra-ubuntu) and changed the ROS_IP=127.0.1.1 I am able to ping my IP. I am able to successfully start up my roscore and see the rostopic list. However, I am unable to get my joystick to publish data when I try to do rostopic echo joy.

I have checked quite a few posts but I have not been able to find a solution to this problem.

Asked by Tyagi on 2019-04-29 09:54:56 UTC

Comments

"the internet" has nothing to do with this.

You write:

However, I am unable to get my joystick to publish data when I try to do rostopic echo joy.

to which machine is this joystick connected? Can you sketch the network situation? Is this still a multi-host setup but without a gateway to the internet?

Asked by gvdhoorn on 2019-04-29 11:18:28 UTC

Answers

Thanks for getting back. I have resolved the issue myself. It is a single machine. The problem was that I was trying to use the Jetson's IP as the ROS_MASTER_URI and ROS_IP. I have been able to resolve it by switching it to the localhost URI and IP.

Asked by Tyagi on 2019-04-29 11:23:33 UTC

Comments

I'm confused: the values for ROS_IP and ROS_MASTER_URI you show in your question are already the localhost IP. But you claim that doesn't work. Now you write that by using the localhost IP, things actually work?

Asked by gvdhoorn on 2019-04-29 11:25:04 UTC