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

Revision history [back]

click to hide/show revision 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.