rosrun offboard_pkg position
roslaunch px4 fast_test.launch
无人机起飞1.5-2m
sh mybot_gazebo.sh
#roslaunch px4 fast_racing.launch & sleep 20;
roslaunch ego_planner single_run_in_gazebo.launch & sleep 10;
roslaunch px4ctrl run_node.launch & sleep 10;
rosrun rqt_reconfigure rqt_reconfigure & sleep 10;
roslaunch ego_planner rviz.launch
先点击mode,再点击cmd,才能打开offbord模式
roslaunch px4 fast_test.launch
sh fast_track.sh
bash trach.bash
roslaunch kr_mav_launch track_circle.launch & sleep 5;
roslaunch px4ctrl run_node.launch & sleep 5;
rosrun rqt_reconfigure rqt_reconfigure
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Ready to Fly, Please Away From it "
#exit 1
fi
read -p "Press [Enter] to go to [3.5, 0, 2]"
rosservice call /mav_services/goTo "goal: [3.5, 0.0, 2, 0.0]"
sleep 1
read -p "Press [Enter] to circle track {Ax: 3, Ay: 3, T: 9.0, duration: 12.0}"
rosservice call /mav_services/circle "{Ax: 3, Ay: 3, T: 9.0, duration: 12.0}"
sleep 1
sh odom_vins.sh
roslaunch ego_planner single_run_in_exp_test.launch
roslaunch ego_planner rviz
sh record.sh
roslaunch ./vins_rviz.launch
rosbag play ...
px4.launch 是一个启动文件,用于启动 mavros 节点和其他相关组件,以建立ROS与PX4之间的通信和集成。