ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

gimili's profile - activity

2016-02-15 15:30:25 -0500 received badge  Popular Question (source)
2016-02-15 15:30:25 -0500 received badge  Notable Question (source)
2016-02-15 15:30:25 -0500 received badge  Famous Question (source)
2012-09-22 04:07:02 -0500 received badge  Notable Question (source)
2012-09-22 04:07:02 -0500 received badge  Famous Question (source)
2012-05-30 08:19:27 -0500 received badge  Taxonomist
2012-04-04 02:41:02 -0500 received badge  Popular Question (source)
2011-10-27 23:30:23 -0500 commented answer rosjava android - phone sends localhost
Thank you; this works! We were so blinded by getting the IP responding to the hostname and dns settings that we did not see the "newPrivate" in our code we used from the pubsubtutorial, where everything runs on the phone!
2011-10-27 23:28:11 -0500 received badge  Scholar (source)
2011-10-27 23:28:11 -0500 marked best answer rosjava android - phone sends localhost

This is probably not your answer but is similiar in that sometimes communication will fail if you're not tethering with USB because of the line

NodeConfiguration.newPublic(InetAddressFactory.newNonLoopback().getHostName());

You need to change it to get an IP address, not a host name. Otherwise, external devices will have a difficult time resolving the Android hostname if the Android device is not doing the DNS lookups for it.

2011-10-27 23:28:06 -0500 received badge  Supporter (source)
2011-10-27 00:37:12 -0500 commented answer rosjava on Ubuntu-USB-stick
We tried this already, with no luck. As a workaround we changed the setup now, so that we are not booting ubuntu from a usb-stick but running it directly in a virtual box (so we can take the VM to other computers)
2011-10-27 00:35:59 -0500 asked a question rosjava android - phone sends localhost

Hello eveyone!

We installed rosjava and we want to publish and subscribe messages between a PC and an android-phone.

  • roscore is running on the PC
  • there is a publisher and a subscriber on the phone and/or pc
  • ROS_MASTER_URI is set on the phone to the PC's IP

This works:
- subscribe messages on the phone, which were published on the phone
- subscribe messages on the phone, which were published on the PC
- subscribe messages on the PC, which were published on the PC

This does not work:
- subscribe messages on the PC, which were published on the phone

Our guess:
We think that the phone sends a wrong name ("127.0.0.1") of itself to the core:
- rxgraph shows for the phone-publisher: "ERROR: Communication with node[http://127.0.0.1:55124] failed!
- rxgraph shows for the phone-subscriber: "ERROR: Communication with node[http://127.0.0.1:40919] failed!

-> We already tried to change the phone's name via setprop net.hostname (which changes net.hostname, but does not change the situation at all)
-> We tried to define the name in the phones /etc/hosts file; with no result

What are we doing wrong?

2011-10-23 23:57:06 -0500 received badge  Editor (source)
2011-10-23 20:47:16 -0500 asked a question rosjava on Ubuntu-USB-stick

Hi there!

I've tried to install and run rosjava on a Ubuntu 10.04 USB-Stick. newest versions of ros electric, eclipse and jdk are installed

The rosjava installation (into the stacks-folder) finished without error (also tried several reinstalls)

When I run rosmake (e.g. in the pubsub tutorial) it never finishes (Task 27/28 runs for hours, counting seconds but not finishing)

I even tried to copy the entire ros-directory the local harddrive and to change the $ROS_PACKAGE_PATH and running it there. No changes at all.

When I abort the making (ctrl+c) it throws this error:

rosrun rosjava_bootstrap generate_properties.py rosjava_tutorial_pubsub > ros.properties if [ ! -f .project ] ; then sed s/PROJECT_NAME/rosjava_tutorial_pubsub/ rospack find rosjava_bootstrap/eclipse/eclipse-project-template > .project ; touch .project-generated; fi if [ ! -f .classpath ] ; then rosrun rosjava_bootstrap generate_properties.py --eclipse rosjava_tutorial_pubsub > .classpath ; touch .classpath-generated; fi rosrun rosjava_bootstrap generate_msg_depends.py rosjava_tutorial_pubsub [rosrun] You have chosen a non-unique executable, please pick one of the following: 1) /media/DATA/ros_test/ros/electric/stacks/rosjava_core/rosjava_bootstrap/scripts/generate_msg_depends.py 2) /media/DATA/ros_test/ros/electric/stacks/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/generate_msg_depends.py

any ideas?