I installed pymavlink on my computer so that I could use it for the mavlogdump.py file. I used both “sudo pip install pymavlink” and “pip install pymavlink --user” commands to install the program. With both methods I opened python and did “import pymavlink”. I then tried, as the ardusub instructions suggest, to test the import with “pymavlink._doc_” and received the following message: AttributeError: ‘module’ object has no attribute ‘_doc_’ . I assume this means that pymavlink was not properly imported. So what went wrong? Is pymavlink not installed properly or am I not importing it properly?
Ah, the infamous double underscore! That solved it thank you.
Also, if I am running mavlogdump.py on a file, how do I set the location that file is being read from?
Right now my only command is “mavlogdump.py test.bin”, the test.bin file is in my QGroundControl folder and the mavlogdump.py script is in my mac library.
I looked in --help. And was able to read a file. However, I want to output pressure and temperature data. I have the celsius and standard barometer sensors hooked up. What “types” would they be? I cannot find a list of acceptable types anywhere.