mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: minor comment and formatting fixes
no functional change
This commit is contained in:
parent
ed65d55f5e
commit
c1433e0220
@ -658,7 +658,7 @@ void Copter::set_auto_yaw_look_at_heading(float angle_deg, float turn_rate_dps,
|
||||
// get current yaw target
|
||||
int32_t curr_yaw_target = attitude_control->get_att_target_euler_cd().z;
|
||||
|
||||
// get final angle, 1 = Relative, 0 = Absolute
|
||||
// calculate final angle as relative to vehicle heading or absolute
|
||||
if (!relative_angle) {
|
||||
// absolute angle
|
||||
yaw_look_at_heading = wrap_360_cd(angle_deg * 100);
|
||||
|
Loading…
Reference in New Issue
Block a user