Skip to content
Snippets Groups Projects
Commit 5b9af598 authored by cclauss's avatar cclauss Committed by Andrew Tridgell
Browse files

Define raw_input() for Python 3

__raw_input()__ was removed from Python 3 in favor of __input()__.
parent 3f644aba
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,11 @@ args = parser.parse_args()
from pymavlink import mavutil
try:
raw_input # Python 2
except NameError:
raw_input = input # Python 3
def plot_input(data, msg, prefix, start, end):
preview = pylab.figure()
preview.set_size_inches(12, 3, forward=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment