github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/pythonarraytest/enum_preflight_storage_mission_action.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll,dupl,gocritic 3 package pythonarraytest 4 5 import ( 6 "github.com/bluenviron/gomavlib/v2/pkg/dialects/common" 7 ) 8 9 // Actions for reading and writing plan information (mission, rally points, geofence) between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE. 10 // (Commonly missions are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.) 11 type PREFLIGHT_STORAGE_MISSION_ACTION = common.PREFLIGHT_STORAGE_MISSION_ACTION 12 13 const ( 14 // Read current mission data from persistent storage 15 MISSION_READ_PERSISTENT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_READ_PERSISTENT 16 // Write current mission data to persistent storage 17 MISSION_WRITE_PERSISTENT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_WRITE_PERSISTENT 18 // Erase all mission data stored on the vehicle (both persistent and volatile storage) 19 MISSION_RESET_DEFAULT PREFLIGHT_STORAGE_MISSION_ACTION = common.MISSION_RESET_DEFAULT 20 )