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

Ernesto Corbellini's profile - activity

2020-01-28 11:16:03 -0500 received badge  Student (source)
2018-08-29 10:11:12 -0500 answered a question Need help with Cross Compiling libraries for ros android ndk

Regarding your second question: if map_server is commented out it's most probably because I has some issues to compile.

2018-07-05 05:55:49 -0500 received badge  Necromancer (source)
2017-03-01 11:02:47 -0500 received badge  Famous Question (source)
2017-02-22 07:19:53 -0500 answered a question Left side of laser scan visualization on android gets weird

Effectively the artifacts seen are remainders of old scans. The solution was to update the limit of the vertex buffer according to the points received to only show the new data. This was fixed by this PR.

2016-05-02 14:43:12 -0500 received badge  Editor (source)
2016-05-02 14:26:19 -0500 answered a question Errors installing rosdep

I had the same problem and I found that the name of the folder where the geometry_experimental packages untars has changed to geometry2. For example:

geometry_experimental-release-release-indigo-tf2-0.5.11-0 --> geometry2-release-release-indigo-tf2-0.5.11-0
You will need to edit you rosintall file so wstool can find the folder. For example if you had the following in your rosintall file:
- tar:
    local-name: geometry_experimental/tf2
    uri: https://github.com/ros-gbp/geometry_experimental-release/archive/release/indigo/tf2/0.5.11-0.tar.gz
    version: geometry_experimental-release-release-indigo-tf2-0.5.11-0

would need to change into this:

- tar:
    local-name: geometry_experimental/tf2
    uri: https://github.com/ros-gbp/geometry_experimental-release/archive/release/indigo/tf2/0.5.11-0.tar.gz
    version: geometry2-release-release-indigo-tf2-0.5.11-0
2015-12-02 11:10:17 -0500 received badge  Supporter (source)
2015-11-30 06:48:56 -0500 received badge  Popular Question (source)
2015-11-30 06:48:56 -0500 received badge  Notable Question (source)
2015-11-26 03:29:21 -0500 received badge  Necromancer (source)
2015-11-25 09:10:37 -0500 answered a question Is it possible to compile ros c++ package to jars library using catkin?

There are some tutorials that are actually targeted for Android but they basically do what you need. The difference is that they are doing a cross-compilation of the C++ code for an ARM target processor. Then there are several steps that show how to wrap the native code and load it in your java application. If you carefully take out the Android related stuff you should be able to get the needed functionality.

2015-11-25 08:50:46 -0500 asked a question Running Junit tests in Rosjava using Catkin

Hi all, I'm trying to run Junit tests with a rosjava application using catkin but it's not working. It doesn't find the tests. It does work using gradle though. I've pasted the outputs and the config file below. Any ideas of how to get this working with Catkin?

Output of running catkin:

$ catkin_make test
Base path: /home/ecorbellini/repos/ernesto/rosjava_actionlib
Source space: /home/ecorbellini/repos/ernesto/rosjava_actionlib/src
Build space: /home/ecorbellini/repos/ernesto/rosjava_actionlib/build
Devel space: /home/ecorbellini/repos/ernesto/rosjava_actionlib/devel
Install space: /home/ecorbellini/repos/ernesto/rosjava_actionlib/install
####
#### Running command: "make cmake_check_build_system" in "/home/ecorbellini/repos/ernesto/rosjava_actionlib/build"
####
####
#### Running command: "make test -j4 -l4" in "/home/ecorbellini/repos/ernesto/rosjava_actionlib/build"
####
Running tests...
Test project /home/ecorbellini/repos/ernesto/rosjava_actionlib/build
No tests were found!!!

Output of running gradlew:

$ ./gradlew test
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:rosjava_actionlib:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: /home/ecorbellini/repos/ernesto/rosjava_actionlib/src/rosjava_actionlib/rosjava_actionlib/src/main/java/com/github/ekumen/rosjava_actionlib/CommStateMachine.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:rosjava_actionlib:processResources UP-TO-DATE
:rosjava_actionlib:classes
:rosjava_actionlib:compileTestJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
:rosjava_actionlib:processTestResources UP-TO-DATE
:rosjava_actionlib:testClasses
:rosjava_actionlib:test

TestCommStateMachine > test FAILED
    java.lang.AssertionError at TestCommStateMachine.java:18

1 test completed, 1 failed
:rosjava_actionlib:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rosjava_actionlib:test'.
> There were failing tests. See the report at: file:///home/ecorbellini/repos/ernesto/rosjava_actionlib/src/rosjava_actionlib/rosjava_actionlib/build/reports/tests/index.html

* 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: 6.849 secs

This is the project's build.gradle:

apply plugin: 'application'
mainClassName = 'org.ros.RosRun'

dependencies {
  compile 'org.ros.rosjava_core:rosjava:[0.2,0.3)'
  testCompile 'junit:junit:4.12'
}
2015-10-15 11:44:20 -0500 received badge  Enthusiast
2015-10-14 14:37:36 -0500 received badge  Teacher (source)
2015-10-14 13:52:38 -0500 commented question Where can I find the rosfusion.py tool?

The issue has been solved. Please update your repo with the file that was missing. Sorry for the inconvenience. https://github.com/creativa77/roscpp_...