Skip to content

Commit 8f5bc6d

Browse files
committed
SIYI: fixed typo in pitch rate controller
fixes ArduPilot#1490, thanks Randy!
1 parent 82b73c9 commit 8f5bc6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: MAVProxy/modules/mavproxy_SIYI/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ def update_target(self):
13161316
err_pitch += self.siyi_settings.mount_pitch
13171317

13181318
self.yaw_rate = self.yaw_controller.run(err_yaw, los_yaw_rate)
1319-
self.pitch_rate = self.yaw_controller.run(err_pitch, los_pitch_rate)
1319+
self.pitch_rate = self.pitch_controller.run(err_pitch, los_pitch_rate)
13201320
self.send_named_float('EYAW', err_yaw)
13211321
self.send_named_float('EPITCH', err_pitch)
13221322
self.logf.write('SIPY', "Qfffff", "TimeUS,CYaw,TYaw,Yerr,I,FF",

0 commit comments

Comments
 (0)