Browse files

remove footer from fg protocol

this seems to cause problems on MacOS
  • Loading branch information...
1 parent a6b1283 commit 94a7132fbe15ffd05563de36ed092ddf1ecc2d5f @tridge committed Jul 27, 2011
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)

0 comments on commit 94a7132

Please sign in to comment.