-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mavftp library and example code that uses it #957
Conversation
8612424
to
07658d6
Compare
@tridge I did some small pylint fixes on top of your changes. Thanks. |
07658d6
to
c215e02
Compare
I will add a put to upload a .lua script to the example and add code to download the lastest .bin log file. |
@peterbarker looks like there is no pylint running here. Should I add that? |
c1114ac
to
1ae2cf8
Compare
Please do not squash the two commits |
cf7c3e7
to
8b1ee11
Compare
03596d3
to
6f8b19a
Compare
Tested on CubeBlack. All operations work fine. But sometimes operations after a cmd_get do not work. So I still have some work to do. |
6205678
to
cf438d9
Compare
OK, got it to work. It has much improved error handling. Also added some tests |
cf438d9
to
35ebafd
Compare
7b5cbee
to
9d2710d
Compare
The library can be called directly and it is a mavftp application the application contains documented argparse arguments Add a example that uses the library
9d2710d
to
6098497
Compare
Like spoken on the dev call this adds a mavftp library and an example script that uses it to:
This is the
--help
of the main mavftp.py application, it supports a similar syntax to the MAVProxy embedded mavftp functionality:To test the example do: