Ask Your Question
0

Using ROS without internet on Jetson TX2

asked 2019-04-29 10:37:01 -0500

Tyagi gravatar image

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 ROS_MASTER_URI=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.

edit retag flag offensive close merge delete

Comments

1

"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?

gvdhoorn gravatar image gvdhoorn  ( 2019-04-29 11:18:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-29 11:23:33 -0500

Tyagi gravatar image

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.

edit flag offensive delete link more

Comments

1

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?

gvdhoorn gravatar image gvdhoorn  ( 2019-04-29 11:25:04 -0500 )edit

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: 2019-04-29 09:54:56 -0500

Seen: 130 times

Last updated: Apr 29 '19