Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove footer from fg protocol

this seems to cause problems on MacOS
  • Loading branch information...
commit 94a7132fbe15ffd05563de36ed092ddf1ecc2d5f 1 parent a6b1283
@tridge tridge authored
Showing with 2 additions and 3 deletions.
  1. +0 −1  MAVLink.xml
  2. +2 −2 mavproxy.py
View
1  MAVLink.xml
@@ -14,7 +14,6 @@
<input>
<binary_mode>true</binary_mode>
- <binary_footer>magic,0x4c56414d</binary_footer>
<!-- ##### Flight Controls -->
<chunk>
View
4 mavproxy.py
@@ -1048,8 +1048,8 @@ def send_flightgear_controls(fg):
r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], # raw PWM in
0x4c56414d)
else:
- buf = struct.pack('>ddddI', status.rc_aileron, status.rc_elevator,
- status.rc_rudder, status.rc_throttle, 0x4c56414d)
+ buf = struct.pack('>dddd', status.rc_aileron, status.rc_elevator,
+ status.rc_rudder, status.rc_throttle)
fg.write(buf)
Please sign in to comment.
Something went wrong with that request. Please try again.