android_tutorial_camera
For a project I have to connect an Arduino to a pc via a Android Phone using ROS. I installed ROS hydro on a Ubuntu 12.04 LTS machine along with the rosjava and ros android packages. For these installations I used the tutorials on the ROS wiki.
After the installation I wanted to test the connection between the Android Phone and the pc which runs a roscore. To do this I used the android_tutorial_camera which I installed on a Samsung Galaxy Nexus with stock Android 4.3 on it. Unfortunately, the phone does not connect to the roscore on the pc. When I use rosnode list I only see the nodes that are running on the pc.
When I ran the app with adb logcat enabled I noticed that in the stacktrace there is an IP-address which is not correct and which I did not gave as input when the app asked for an IP. Could anyone explain why the app uses another IP adress than the IP address that is given as input to the app ? And how can I solve this problem?
Some remarks on the setup/things that I already tried:
- The pc can ping the phone and the phone can ping the pc.
- The network used is the eduroam wifi network of the TU Delft.
- I entered the IP both manually and via a QR code into the app.
- I did change the ROS_IP and ROS_MASTER_URI of the roscore on the pc.
- I use the fat workspace as described in the android tutorial.
Unfortunately I couldn't post the stacktrace here, because it was full of links and I don't have enough karma yet.