diff --git a/mavros_extras/src/plugins/odom.cpp b/mavros_extras/src/plugins/odom.cpp index 595cfca8f..4531a550f 100644 --- a/mavros_extras/src/plugins/odom.cpp +++ b/mavros_extras/src/plugins/odom.cpp @@ -62,7 +62,7 @@ class OdometryPlugin : public plugin::PluginBase { odom_pub = odom_nh.advertise("in", 10); // subscribers - odom_sub = odom_nh.subscribe("out", 10, &OdometryPlugin::odom_cb, this); + odom_sub = odom_nh.subscribe("out", 1, &OdometryPlugin::odom_cb, this); } Subscriptions get_subscriptions()