Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use the python package? #65

Open
ewolfox opened this issue Jun 29, 2017 · 6 comments
Open

how to use the python package? #65

ewolfox opened this issue Jun 29, 2017 · 6 comments

Comments

@ewolfox
Copy link

ewolfox commented Jun 29, 2017

No description provided.

@ernestmc
Copy link

Hi @ewolfox. If I understand your question correctly you want to be able to use python code on the android device? This is currently not supported and thus the workarounds needed for these types of packages.

@ewolfox
Copy link
Author

ewolfox commented Jul 3, 2017

Thank you. @ernestmc
Previously I thought the output files that in "output/target/bin" can be used in android device directly.
Until something wrong occurred, I found some files are the python scripts.

Now could you give me some advice on how to make the workarounds?
Refactoring the script files with the C++ ?

@adamantivm
Copy link
Member

Yes, C++ or Java.
Which package are you trying to run? what are you trying to accomplish?

@ewolfox
Copy link
Author

ewolfox commented Jul 4, 2017

Thank you. @adamantivm @ernestmc

The package roscore roslaunch and so on.

I am trying to port the ROS to Android. Refactoring the script files with the C++ is the practicable way.

Any other lightweight actions?

@adamantivm
Copy link
Member

@ewolfox roscore and roslaunch are not necessary for ROS in Android, unless you're trying to do something out of the ordinary that I don't understand.

ROS can be used on Android already, but since the application lifecycle in Android is different than Linux, instead of using roscore and roslaunch, there are Java APIs for creating Android Activities to start a ROS core, nodes, etc. instead.

You can find more details here, or here. You may also find this link useful.

@ewolfox
Copy link
Author

ewolfox commented Jul 5, 2017

@adamantivm Thank you very much.
Now I am following your advice and going on the right way.

jubeira pushed a commit to jubeira/roscpp_android that referenced this issue Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants