diff --git a/clover/src/led.cpp b/clover/src/led.cpp index 8d437c055..91438df3d 100644 --- a/clover/src/led.cpp +++ b/clover/src/led.cpp @@ -319,8 +319,8 @@ int main(int argc, char **argv) auto set_effect = nh.advertiseService("set_effect", &setEffect); - auto mavros_state_sub = nh.subscribe("/mavros/state", 1, &handleMavrosState); - auto battery_sub = nh.subscribe("/mavros/battery", 1, &handleBattery); + auto mavros_state_sub = nh.subscribe("mavros/state", 1, &handleMavrosState); + auto battery_sub = nh.subscribe("mavros/battery", 1, &handleBattery); auto rosout_sub = nh.subscribe("/rosout_agg", 1, &handleLog); timer = nh.createTimer(ros::Duration(0), &proceed, false, false);