现实绿茶

文章
5
资源
0
加入时间
3年1月7天

Mavros话题控制无人机

1.切换px4模式#include <mavros_msgs/SetMode.h>void main(){ros::init(argc, argv, "my_node");ros::NodeHandle nh;ros::ServiceClient setmode_client = nh.serviceClient<mavros_msgs::SetMode>("mavros/set_mode");mav