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

Imré's profile - activity

2013-11-30 04:40:23 -0500 received badge  Famous Question (source)
2013-03-24 21:40:24 -0500 received badge  Student (source)
2012-12-26 15:49:46 -0500 received badge  Notable Question (source)
2012-12-26 15:49:46 -0500 received badge  Famous Question (source)
2012-12-26 15:49:46 -0500 received badge  Popular Question (source)
2012-08-30 12:37:09 -0500 received badge  Famous Question (source)
2012-08-30 12:37:09 -0500 received badge  Notable Question (source)
2012-07-22 11:23:20 -0500 received badge  Notable Question (source)
2012-03-28 03:27:15 -0500 received badge  Popular Question (source)
2012-02-27 20:59:42 -0500 received badge  Popular Question (source)
2011-12-06 06:51:40 -0500 marked best answer Talker issue on Android pubsub tutorial

Line 76 of the example says:

NodeConfiguration nodeConfiguration = NodeConfiguration.newPrivate();

That node can only make use of the loopback interface. Try:

NodeConfiguration nodeConfiguration = NodeConfiguration.newPublic(InetAddressFactory.newNonLoopback().getHostAddress().toString(), masterUri);
2011-12-06 05:14:07 -0500 answered a question Talker issue on Android pubsub tutorial

Thank you very much for your answer; it solved the issue.

I changed "NodeConfiguration nodeConfiguration = NodeConfiguration.newPrivate();"

to "NodeConfiguration nodeConfiguration = NodeConfiguration.newPublic(InetAddressFactory.newNonLoopback().getHostAddress().toString());"

I had to keep setting the masterUri seperately otherwise the app would crash on startup.

2011-12-01 04:14:34 -0500 asked a question Talker issue on Android pubsub tutorial

Hello,

I have installed the pubsub android tutorial on an android device and have it connect to an external roscore in order to have a talker/listener system between the android device and the computer where roscore runs.

When a Talker on the computer publishes data on the "chatter" ros topic, this data is seen on the android device in the rosTextView node.

However, when a Talker on the android device publishes data on the "chatter" ros topic, this data is seen in the rosTextView node of the android device but it dos not appear using "rostopic echo /chatter" on the computer. However, the data published by the talker should be seen on the computer also.

Would you know how to fix this?

I thank you in advance.

Imré

P.S. Here is the main source code of the application if it can be of any help: https://code.google.com/p/rosjava/source/browse/android_tutorial_pubsub/src/org/ros/android/tutorial/pubsub/MainActivity.java?spec=svn.android.10e4ad9b5746bead9376295165247bec770bdbc2&repo=android&name=10e4ad9b57&r=10e4ad9b5746bead9376295165247bec770bdbc2

2011-11-09 05:21:31 -0500 answered a question ANDROID_GINGERBREAD in ECLIPSE: Invalid resource directory name

I solved the problem. I deleted the index.html file. This corrected the error.

2011-11-02 08:29:53 -0500 asked a question ANDROID_GINGERBREAD in ECLIPSE: Invalid resource directory name

I need to upload ros android tutorials on an android device. I am doing this uploading through eclipse as it is the programming environment my android device is synchronized with. In order to do this, I followed the instructions on this page: http://answers.ros.org/question/2178/rosjavajar-missing-certain-packages

I succesfully downloaded the ros android packages from https://android.rosjava.googlecode.com/hg/

I have successfully applied rosmake to android_tutorial-camera, android_tutorial_image_transport, android_tutorial_pan_tilt_camera, android_tutorial_pubsub.

I have also successfully applied rosmake to android_gingerbread, as these tutorials require this package.

After having applied rosmake, I imported these tutorials and android_gingerbread as new projects inside eclipse.

However, I get an exception with the android_gingerbread project:

invalid resource directory name: /home/imre/workspace/android_gingerbread/res/index.html (AAPT problem)

Here is a definition of AAPT: "The Android Asset Packaging Tool (aapt) takes your application resource files, such as the AndroidManifest.xml file and the XML files for your Activities, and compiles them."

The problem seems to come from the content of the index.html file, which lists the following resources: drawable-hdpi, drawable-ldpi, drawable-mdpi, layout, values.

How is it possible to fix this issue with the index.html file of the resources of the android_gingerbread ros package?

I thank you in advance.

2011-10-23 05:23:25 -0500 marked best answer rosjava missing library

There are multiple problems:

  1. You have to use ROS Electric, not Diamondback (should be resolved now)
  2. https://rosjava.googlecode.com/hg/ is a Mercurial repository, not subversion, so you can't use svn or wget with it. The correct command is:

    hg clone https://rosjava.googlecode.com/hg/ rosjava_core

2011-10-20 04:23:10 -0500 answered a question rosjava missing library

I removed the ~/.ros/rosjava folder and then applied "rosmake --threads=1 rosjava". This solved the problem.

2011-10-20 04:21:57 -0500 commented answer rosjava missing library
This advice actually worked, thank you very much for your time and effort. I will post the complete answer.
2011-10-17 08:46:21 -0500 commented answer rosjava missing library
I am indeed using ROS Electric now. I have also used the hg command. Now I can launch "rosmake rosjava_core". However, it fails with the same error I sent this question for. It still misses the library I indicated in my question.
2011-10-17 03:38:32 -0500 commented answer rosjava missing library
Thank you for your answer. I have updated my question with the requested information.
2011-10-17 03:35:09 -0500 received badge  Editor (source)
2011-10-13 07:15:34 -0500 commented answer rosjava missing library
I also updated ROS_PACKAGE_PATH after changing the name to "rosjava_core".
2011-10-13 07:11:46 -0500 commented answer rosjava missing library
I changed the name to "rosjava_core" and applied "rm -rf ~/.ros/rosjava". I still get the same error when runnin "rosmake rosjava". When I run "rosmake rosjava_core" the terminal freezes at "[ rosmake ] Logging to directory/home/imre/.ros/rosmake/rosmake_output-20111013-150638 ".
2011-10-13 04:05:40 -0500 commented answer rosjava missing library
Thank you for your answer. The error I got in the first place happens when I call "rosmake rosjava", that was why I posted my question. So, as I named my stack "rosjava" and not "rosjava_core", should I change the name I put or doesn't it matter?
2011-10-12 12:02:31 -0500 commented answer rosjava missing library
I thank you for your answer. So, if I understand well, the necessary jar will be created after I apply "rosmake rosjava_core". However, I don't have a "rosjava_core" package. I downloaded rosjava at the address that was provided to me: https://rosjava.googlecode.com/hg/
2011-10-12 01:54:59 -0500 commented answer rosjava missing library
Thank you for your answer. I have the package ros_comm and rosgraph_msgs is inside but there are only py files in there. I am looking for the java library, which contains the rosgraph_msgs.java class.
2011-10-12 01:49:30 -0500 received badge  Supporter (source)
2011-10-11 12:03:25 -0500 asked a question rosjava missing library

Good evening,

I receive the following exception when trying to build rosjava:

/home/imre/ROS_DIR/rosjava_core/rosjava/src/main/java/org/ros/internal/node/RosoutLogger.java:59: package org.ros.message.rosgraph_msgs does not exist

Where can I download the package org.ros.message.rosgraph_msgs for rosjava?

I thank you in advance.

Here is my setup:

OS:

Ubuntu; Version 11.04 (natty); Kernel Linux 2.6.38-11-generic-pae; GNOME 2.32.1

Version of ROS:

At first, I had installed ROS Diamondback. And I had the error I am talking about in this question. Then I installed ROS Electric Emys in its place once it was released, but it was not due to my question. I still have the error with this version of ros.

Version of java:

java version "1.6.0_22"; OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1); OpenJDK Server VM (build 20.0-b11, mixed mode)

Version of Ant:

Apache Ant version 1.8.1 compiled on October 13 2010

Exact commands used to download rosjava:

At first I tried: imre@TK-421:~$ svn co https://rosjava.googlecode.com/hg/

svn: Le serveur a envoyé une valeur inattendue (405 Method Not Allowed) en réponse à la requête OPTIONS pour 'https://rosjava.googlecode.com/hg'

which means "The server has sent an unexpected value (405 Method Not Allowed) in answer to the request OPTIONS for 'https://rosjava.googlecode.com/hg'"

So instead I used: imre@TK-421:~$ wget -r -l 1000 --no-check-certificate https://rosjava.googlecode.com/hg/

Imré