mavros icon indicating copy to clipboard operation
mavros copied to clipboard

Use mavros mavftp in Ardupilot/Arducopter

Open Rand0409 opened this issue 2 years ago • 1 comments

Hi Is there anyway I can use rosrun mavros mavftp upload/download with Arducopter firmware?

I saw in the mavros ROSnode description mavftp can only be used with PX4.

Thank you for your help

Rand0409 avatar Sep 08 '22 15:09 Rand0409

Hello,

I tested the ftp plugin with ArduPilot (CubeOrange). The current implementation doesn't support ArduPilot. PX4 FTP seems to not follow exactly the MAVLink specification https://mavlink.io/en/services/ftp.html. For example, the returned size in a ACK of an open command should be 0 but expect 4 (sizeof uint32_t) for PX4: https://github.com/mavlink/mavros/blob/ros2/mavros/src/plugins/ftp.cpp#L562

Ronan0912 avatar Feb 16 '24 15:02 Ronan0912