mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
880 stars 990 forks source link

Use mavros mavftp in Ardupilot/Arducopter #1783

Open Rand0409 opened 2 years ago

Rand0409 commented 2 years ago

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

Ronan0912 commented 7 months ago

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