rosjava android - error communicating with phone node

asked 2012-11-27 17:20:47 -0500

updated 2014-01-28 17:14:24 -0500

ngrennan gravatar image

This question is similar to

however when the phone nodes are connected in roscore, visible in rxgraph, they fail to provide any information about themselves, they give ERROR:Communication with node [http://dddd?] failed!

Now the publisher on my phone can send messages on topics to my gazebo_node no problems. But I'd like to be able to have a fully functioning connection.

I had a problem with netcat communicating between a terminal app on my phone and on my linux machine. In that the linux machine had its connection refused when trying to send data to the android phone. (it worked the other way though).

My question is, is this important? and does anyone know how to fix it? My best guess is that it is a firewall issue on the phone. but as I don't have root access on the phone, i cant change. Or is it more of an ROS issue?


edit retag flag offensive close merge delete


This is more of an intermittent problem now, the node usually starts up well but sometimes migrates to the state above.

PeterMilani gravatar image PeterMilani  ( 2012-11-28 14:13:57 -0500 )edit

Make sure your NodeConfiguration is public as suggested in the post you linked to. You can use NodeConfiguration.newPublic()

damonkohler gravatar image damonkohler  ( 2013-01-01 09:40:18 -0500 )edit