rosjava android - error communicating with phone node
This question is similar to
http://answers.ros.org/question/11705/rosjava-android-phone-sends-localhost/
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?
Peter
This is more of an intermittent problem now, the node usually starts up well but sometimes migrates to the state above.
Make sure your NodeConfiguration is public as suggested in the post you linked to. You can use NodeConfiguration.newPublic() http://code.google.com/p/rosjava/source/browse/rosjava/src/main/java/org/ros/node/NodeConfiguration.java?r=22fc23551d916940da8b02c28674356da6bc222f#117