Ask Your Question

luischd's profile - activity

2020-03-14 20:11:52 -0600 received badge  Famous Question (source)
2019-08-21 02:48:46 -0600 received badge  Notable Question (source)
2019-08-21 02:48:46 -0600 received badge  Popular Question (source)
2019-07-17 12:42:40 -0600 received badge  Famous Question (source)
2019-07-04 04:40:53 -0600 marked best answer Rosjava subscriber doesn't get any data

I'm trying to use a rosbag as a topic publisher to receive the data on my phone and update the info I have on my app. I've been looking around and I think the main issue is this console output:

E/UpdatePublisherRunnable: java.lang.RuntimeException: java.net.UnknownHostException: Unable to resolve host "mypcname": No address associated with hostname

Im playing a rosbag from my pc and made sure the topic is working. I used the debug of android studio and the subscriber gets setted properly, but when I should receive the message the onNewMessage never triggers. I have setted up the ROS_MASTER_URI, ROS_IP and ROS_HOSTNAME correctly on my pc.

Not sure what to do to solve this and couldn't find a proper answer anywhere. Thanks in advance.

2019-07-04 04:39:45 -0600 commented question Rosjava subscriber doesn't get any data

I can't accept my own answer, a pop-up says 10 points are required

2019-07-04 04:37:50 -0600 answered a question Rosjava subscriber doesn't get any data

SOLVED: My code was all good and the network configuration before roscore too. The only problem was that I didn't know

2019-07-04 04:37:50 -0600 received badge  Rapid Responder (source)
2019-07-04 03:26:59 -0600 received badge  Editor (source)
2019-07-04 03:26:59 -0600 edited question Rosjava subscriber doesn't get any data

Rosjava subscriber doesn't get any data I'm trying to use a rosbag as a topic publisher to receive the data on my phone

2019-07-02 15:43:13 -0600 received badge  Organizer (source)
2019-07-02 15:41:02 -0600 asked a question Rosjava subscriber doesn't get any data

Rosjava subscriber doesn't get any data I'm trying to use a rosbag as a topic publisher to receive the data on my phone

2018-12-03 05:09:10 -0600 received badge  Notable Question (source)
2018-11-20 11:43:28 -0600 marked best answer catkin_make build failed kinetic android

Hi, I'm trying to install Android along with kinetic ROS on Linux 16.04 LTS.

Once I get to the "catkin_make" step the build fails. I'm following this tutorial http://wiki.ros.org/android/Tutorials/kinetic/Installation%20-%20ROS%20Development%20Environment getting stuck on the last step of 3.1.

The first thing that failed was the address of my java directory. So I have to change it every time with export JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre/ after that when I use the catkin_make the build starts and suddenly fails like this.

luis@luischd:~/android_core$ catkin_make
Base path: /home/luis/android_core
Source space: /home/luis/android_core/src
Build space: /home/luis/android_core/build
Devel space: /home/luis/android_core/devel
Install space: /home/luis/android_core/install
####
#### Running command: "make cmake_check_build_system" in "/home/luis/android_core/build"
####
    ####

#### Running command: "make -j4 -l4" in "/home/luis/android_core/build"
####
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_238rznishtaj5ln8ltl852uvm.run(/home/luis/android_core/src/android_core/build.gradle:25)
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /opt/android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':android_10'.
> The SDK directory '/opt/android-sdk' does not exist.



        * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.





  BUILD FAILED
    Total time: 1.507 secs
    android_core/CMakeFiles/gradle-android_core.dir/build.make:57: fallo en las instrucciones para el objetivo 'android_core/CMakeFiles/gradle-android_core'
    make[2]: *** [an

droid_core/CMakeFiles/gradle-android_core] Error 1
CMakeFiles/Makefile2:447: fallo en las instrucciones para el objetivo 'android_core/CMakeFiles/gradle-android_core.dir/all'
make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Error 2
    Makefile:138: fallo en las instrucciones para el objetivo 'all'

make: *** [all] Error 2
Invoking "make -j4 -l4" failed
2018-11-20 11:43:28 -0600 received badge  Scholar (source)
2018-11-20 11:43:26 -0600 received badge  Supporter (source)
2018-11-16 12:43:56 -0600 received badge  Popular Question (source)
2018-11-15 16:13:56 -0600 asked a question catkin_make build failed kinetic android

catkin_make build failed kinetic android Hi, I'm trying to install Android along with kinetic ROS on Linux 16.04 LTS. O