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

rosjava and android_core

asked 2015-03-24 09:25:37 -0500

zior89 gravatar image

Hi every one!!

I am trying to create a app for android who could run ros nodes. But i have a problem when i create it.

My enviroment is ros indigo, ubuntu 14.04, android-studio, rosjava and android_core packages.

First i create a package on my catkin_ws (catkin_create_rosjava_pkg) and after i create a project on rosjava package (catkin_create_rosjava_project).

With that it doesn't create a android app structure or schema. it didn't recognise "" on the manifest or when i create a layout.

Do you know why it could be?

in case that i create a project from android-studio it is impossible for me import rosjava library!!!

Thank million for your help!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-03-26 10:06:36 -0500

Daniel Stonier gravatar image

updated 2015-03-26 10:06:59 -0500

Certainly catkin_create_android_xxx because it's an android project, not a rosjava project. Also there is no class. Start by copying in one of the many other tutorials, compiling it, and then paying attention to what they've done.

edit flag offensive delete link more

answered 2015-03-26 03:37:02 -0500

zior89 gravatar image

After a few days looking for an answer i am able to explain better my problem.

I install the tutorial and all of the works. I follow that's steps to try it ( - ROS Development Environment)

So my issue is the next. I want to start my on project. but i don't understand how i must create me package. i try this two methods.

1) creating a rosjava package (catkin_create_rosjava_pkg and catkin_create_rosjava_project). But in this methods the problem that i found it is that when i import the project to android-studio isn't able to create a android schema (don't recognise ""). i try to create a android package by hand.

2) creating a android project with the dependencies of rosjava: catkin_create_android_pkg my_pkg android_core rosjava std_msg catking_create_android_project -t 10 -p my_pro but in this case i can't import rosjava library. In a .java activity i try to made import and it doesn't recognise the package.

what i could make? someone could help me to create my on project?

thanks very much!!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-03-24 09:25:37 -0500

Seen: 478 times

Last updated: Mar 26 '15