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

roscpp android cannot use image_transport

asked 2015-03-31 15:13:31 -0600

jmr gravatar image

Hi

I´m trying to use image_transport on android, build from roscpp_android 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.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2015-12-08 23:55:18 -0600

Victoria gravatar image

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.

edit flag offensive delete link more
0

answered 2015-07-01 10:27:36 -0600

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!

edit flag offensive delete link more
0

answered 2015-07-02 03:08:14 -0600

jmr gravatar image

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.

edit flag offensive delete link more

Comments

I'm part of the dev team =) and this is one of our top priorities!

Gary Servin gravatar image Gary Servin  ( 2015-07-02 10:34:31 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-31 15:13:31 -0600

Seen: 904 times

Last updated: Jul 02 '15