Python3 demos using Python2 syntax were run through 2to3, fixes #191

This commit is contained in:
Stuart MacIntosh
2019-12-12 14:32:25 +13:00
parent 9f57f7d61f
commit e1d4365fa0
3 changed files with 41 additions and 41 deletions

View File

@@ -8,8 +8,8 @@ def monitor():
posi = client.getPOSI();
ctrl = client.getCTRL();
print "Loc: (%4f, %4f, %4f) Aileron:%2f Elevator:%2f Rudder:%2f\n"\
% (posi[0], posi[1], posi[2], ctrl[1], ctrl[0], ctrl[2])
print("Loc: (%4f, %4f, %4f) Aileron:%2f Elevator:%2f Rudder:%2f\n"\
% (posi[0], posi[1], posi[2], ctrl[1], ctrl[0], ctrl[2]))
if __name__ == "__main__":