Skip to content
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 service, read-only for now #926

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Williangalvani
Copy link
Member

@Williangalvani Williangalvani commented Mar 25, 2022

This will help #457

thanks @ES-Alexander for the help =]

This adds a mavftp folder under ardupilot_logs
image

we should probably fix ArduPilot/ardupilot#23339 or just disable it if a navigator is running.

this is a heavily modified of https://github.com/ArduPilot/MAVProxy/blob/master/MAVProxy/modules/mavproxy_ftp.py
I added a fuse layer for it to work with the filelbrowser, and tried to better encapsulate functionality.

That said, I hate it. but it works.
I still think we should probably move this to a dedicated rust service later on.

I thought of using mavlink2rest, but I'm worried about the performance of assembling the arraybuffers from the jsons.
That would also go against my idea of upstreaming this to ardupilot eventually.

This could be further cleaned, but I'll open it for review to double-check this is path we want to follow.

@CLAassistant
Copy link

CLAassistant commented Aug 23, 2023

CLA assistant check
All committers have signed the CLA.

@Williangalvani Williangalvani force-pushed the mavftp branch 3 times, most recently from fc9e4ce to 112ab26 Compare May 9, 2024 20:12
@Williangalvani Williangalvani changed the title add Mavftp lib/tool add Mavftp service Jun 20, 2024
@Williangalvani Williangalvani changed the title add Mavftp service add Mavftp service, read-only for now Jun 20, 2024
@Williangalvani Williangalvani marked this pull request as ready for review June 20, 2024 16:21
core/services/mavftp/mavftp.py Outdated Show resolved Hide resolved
core/services/mavftp/main.py Outdated Show resolved Hide resolved
core/services/mavftp/main.py Outdated Show resolved Hide resolved
core/services/mavftp/main.py Outdated Show resolved Hide resolved
core/services/mavftp/main.py Outdated Show resolved Hide resolved
core/services/mavftp/main.py Outdated Show resolved Hide resolved
@Williangalvani
Copy link
Member Author

changed it so it gets code from pymavlink directly. currently WIP as we wait for the PR to be merged over there

@Williangalvani Williangalvani marked this pull request as draft September 30, 2024 19:48
@Williangalvani Williangalvani marked this pull request as ready for review October 17, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MAVFTP: Appears to be dangerous 👨‍💻🕵🏻‍♂️👾
4 participants