[ros-users] [Discourse.ros.org] [Client Libraries/rosjava] ROS Android NDK

Mps2209 ros.discourse at gmail.com
Thu Aug 9 09:13:18 UTC 2018



Hey im not totally clear on how to use pluginlib. Say i am using move_base and want to include the plugins for costmap_2d as well as the local and global planner.
Then i have to define the lib of costmap2d and the planners in the android.mk file.
like this:
    LOCAL_WHOLE_STATIC_LIBRARIES := libcostmap_2d libbase_local_planner libglobal_planner
usually i would have defined the plugins in my yaml file like this:
    plugins:
    - {name: static_layer, type: 'costmap_2d::StaticLayer'}
    - {name: obstacle_layer, type: 'costmap_2d::ObstacleLayer'}
    - {name: inflation_layer, type: 'costmap_2d::InflationLayer'}
But with rosjava i dont have the option to use yaml so i set the rosparams with the ParameterTree.set(name,value);
Do i have to define the plugins there?
I hope i made my question clear.
kind regards!





---
[Visit Topic](https://discourse.ros.org/t/ros-android-ndk/278/2) or reply to this email to respond.




More information about the ros-users mailing list