mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Scripting: djirs2 driver minor comment fix
This commit is contained in:
parent
3cca401af8
commit
4918bb4705
@ -438,7 +438,7 @@ function send_target_angles(roll_angle_deg, pitch_angle_deg, yaw_angle_deg, time
|
||||
yaw_angle_deg = yaw_angle_deg or 0
|
||||
time_sec = time_sec or 2
|
||||
|
||||
-- ensure angles are integers. invert roll direction
|
||||
-- ensure angles are integers
|
||||
roll_angle_deg = -math.floor(roll_angle_deg + 0.5)
|
||||
pitch_angle_deg = math.floor(pitch_angle_deg + 0.5)
|
||||
yaw_angle_deg = math.floor(yaw_angle_deg + 0.5)
|
||||
|
Loading…
Reference in New Issue
Block a user