Running a script that converts data.
When you are reading a script that converts data. How do you know which argument that needs a value and which ones you can ignore.
For example this python script mavlogdump.py
https://github.com/ArduPilot/pymavlink/blob/master/tools/mavlogdump.py
I have tried using this script command to try and run it. However, it gives me an error of NameError: name 'long' is not defined.
The script is this: https://github.com/ArduPilot/pymavlink/blob/master/tools/mavlogdump.py
This script takes flight data and converts it to a csv file. I have tried using this command on it
python mavlogdump.py flightdata.bin -f --format "csv"
Posted Oct 22, 2016, 7:11 PM UTC
23
You could google the error yourself.
If the module uses
longthen it's written for python 2 and you probably use python 3.I have both installed, how would you specify which python to run the script on?
Provide full path to the python binary, e.g. on Windows it could be: