ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You used wrong namespace.
mavplugin
is for plugins only, do not include it in your nodes.
Also you don't need pluginlib.
Second: ros::init(), "mavros" taken by mavros_node
!
Third: you should use ros services! Calling plugin class methods completely wrong.