目录 文章目录 目录 摘要 1. 4.0.7获取目标倾斜角度 2. 4.3.7获取目标倾斜角度 3.仿真 摘要 本节主要记录ardupilot获取目标倾斜角度的两种实现方法,主要针对4.0.7和4.3.7进行对比。 1. 4.0.7获取目标倾斜角度 1.姿态模式下获取函数 //获取飞行员期望的倾斜角度 get_pilot_desired_lean_angles(target_roll, target_pitch, copter.aparm.angle_max, copter.aparm.angle_max); 2.定高模式下获取函数 get_pilo