Open ewolfox opened 7 years ago
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++ ?
Yes, C++ or Java. Which package are you trying to run? what are you trying to accomplish?
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?
@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.
@adamantivm Thank you very much. Now I am following your advice and going on the right way.
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.