ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

List @ filesystems in root directory listing

Open peterbarker opened this issue 2 years ago • 2 comments

  • dirlist now works
  • Callisto model (which relies on a file in ROMFS) still works
  • can still fetch a file using ftp get

peterbarker avatar Oct 13 '22 23:10 peterbarker

I wonder if we should add the @ filesystems that support directory listing to root of / ?

tridge avatar Oct 14 '22 08:10 tridge

I tested this in SITL, both MAVProxy and MissionPlanner, and on CUAVv5, both MAVProxy and MissionPlanner.

peterbarker avatar Oct 17 '22 01:10 peterbarker

Just tested on mission planner, this means we can remove the @SYS special case it uses.

image

To work fully we would also need to patch @MISSION and @PARAM to list files, currently they just appear empty.

IamPete1 avatar Feb 26 '24 12:02 IamPete1

we should have a bool supports_dirlist() method on the backend, false for MISSION and PARAM until we add those

tridge avatar Feb 26 '24 23:02 tridge