Skip to content

Commit

Permalink
Calibrate RC with the proper MavLink message
Browse files Browse the repository at this point in the history
  • Loading branch information
landswellsong authored and tridge committed Jul 18, 2023
1 parent 543901a commit 75d0c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAVProxy/modules/mavproxy_rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def mavlink_packet(self, m):
if (self.calibrating == False):
return

if m.get_type() == 'RC_CHANNELS_RAW':
if m.get_type() == 'RC_CHANNELS':
for i in range(1,self.num_channels+1):
v = getattr(m, 'chan%u_raw' % i)

Expand Down

0 comments on commit 75d0c9d

Please sign in to comment.