Skip to content

Commit

Permalink
mavproxy_rc: increase rc rate to 10Hz
Browse files Browse the repository at this point in the history
ArduPlane uses a 200ms timeout for RC inputs, so 5Hz updates provide an unreliable RC input; prearms fail periodically and RC is shown as unhealthy.
  • Loading branch information
peterbarker authored and tridge committed May 27, 2022
1 parent c97668a commit 3654eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAVProxy/modules/mavproxy_rc.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, mpstate):
self.add_command('rc', self.cmd_rc, "RC input control", ['<%s|all>' % x])
self.add_command('switch', self.cmd_switch, "flight mode switch control", ['<0|1|2|3|4|5|6>'])
self.rc_settings = mp_settings.MPSettings(
[('override_hz', float, 5.0)])
[('override_hz', float, 10.0)])
if self.sitl_output:
self.rc_settings.override_hz = 20.0
self.add_completion_function('(RCSETTING)',
Expand Down

0 comments on commit 3654eb8

Please sign in to comment.