以后再看到这种尖括号<>要意识到这是一个模板,command_nh.subscribe<mavros_msgs::PositionTarget>

以后再看到这种尖括号<>要意识到这是一个模板

command_nh.subscribe<mavros_msgs::PositionTarget>这种在普罗米修斯里面见多了吧!!!!!不要再那样模模糊糊地弄。真正搞清楚。

https://github.com/maxibooksiyi/Prometheus/blob/pr-experiment-TX2/Modules/control/include/command_to_mavros.h

猜你喜欢

转载自blog.csdn.net/sinat_16643223/article/details/114074657