源码:后续补充
1、启动launch文件
javascript
roslaunch robot_bringup mission.launch
javascript
<launch>
<!--启动mavros节点 -->
<include file="$(find mavros)/launch/px4.launch" />
<!--启动USB摄像头节点 -->
<include file="$(find realsense2_camera)/launch/rs_camera.launch" />
<!--启动yolo识别节点 -->
<include file="$(find darknet_ros)/launch/darknet_ros.launch" />
<!--启动坐标转换节点 -->
<include file="$(find darknet_real_position)/launch/darknet_real_position.launch" />
<!--启动运动控制节点-->
<!--node name='mission' pkg="mission" type="mission" output="screen" /-->
</launch>
2、启动控制节点
javascript
rosrun mission mission