roscpp android cannot use image_transport
Hi
I´m trying to use imagetransport on android, build from roscppandroid but ubfortunately, I cannot seem to find a way to have ros load the different transport plugins. I guess this is because android libraries are static but I was hoping there would be a way to load a plugin from a static lib.
Asked by jmr on 2015-03-31 15:13:31 UTC
Answers
Hi, I've just now seen this question. One of the known issues is that we don't have a way to make pluginlib work on Android. The current solution is to hard-code the plugins you want to use and rebuild. You can see here and here
You would also need to check the the link order of the output libraries modyfing your generated Android.mk.
Let me know if you need any help with this!
Asked by Gary Servin on 2015-07-01 10:27:36 UTC
Comments
Hi Gary.
Thanks for the reply. I figured the easiest way would be to hardcode the plugins and it's what I've done so far. However, I am sure there is a cleaner way to do this. Maybe get in touch with the android dev team to request a new feature be added?
I have to admit I haven't touched that project in a while since I've had other more pressing business to deal with but I'm still interested in finding a clean alternative to hardcoding the plugins.
Asked by jmr on 2015-07-02 03:08:14 UTC
Comments
I'm part of the dev team =) and this is one of our top priorities!
Asked by Gary Servin on 2015-07-02 10:34:31 UTC
Hi jmr.
I begin to work on ros-android these days. I met the same problem that some static libraries in roscpp-android-ndk cannot be used. Have you solve this question? Could you tell me something about that?
Thank you.
Asked by Victoria on 2015-12-09 00:55:18 UTC
Comments