github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/pythonarraytest/enum_mav_result.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 // Result from a MAVLink command (MAV_CMD) 10 type MAV_RESULT = common.MAV_RESULT 11 12 const ( 13 // Command is valid (is supported and has valid parameters), and was executed. 14 MAV_RESULT_ACCEPTED MAV_RESULT = common.MAV_RESULT_ACCEPTED 15 // Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work. 16 MAV_RESULT_TEMPORARILY_REJECTED MAV_RESULT = common.MAV_RESULT_TEMPORARILY_REJECTED 17 // Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work. 18 MAV_RESULT_DENIED MAV_RESULT = common.MAV_RESULT_DENIED 19 // Command is not supported (unknown). 20 MAV_RESULT_UNSUPPORTED MAV_RESULT = common.MAV_RESULT_UNSUPPORTED 21 // Command is valid, but execution has failed. This is used to indicate any non-temporary or unexpected problem, i.e. any problem that must be fixed before the command can succeed/be retried. For example, attempting to write a file when out of memory, attempting to arm when sensors are not calibrated, etc. 22 MAV_RESULT_FAILED MAV_RESULT = common.MAV_RESULT_FAILED 23 // Command is valid and is being executed. This will be followed by further progress updates, i.e. the component may send further COMMAND_ACK messages with result MAV_RESULT_IN_PROGRESS (at a rate decided by the implementation), and must terminate by sending a COMMAND_ACK message with final result of the operation. The COMMAND_ACK.progress field can be used to indicate the progress of the operation. 24 MAV_RESULT_IN_PROGRESS MAV_RESULT = common.MAV_RESULT_IN_PROGRESS 25 // Command has been cancelled (as a result of receiving a COMMAND_CANCEL message). 26 MAV_RESULT_CANCELLED MAV_RESULT = common.MAV_RESULT_CANCELLED 27 // Command is only accepted when sent as a COMMAND_LONG. 28 MAV_RESULT_COMMAND_LONG_ONLY MAV_RESULT = common.MAV_RESULT_COMMAND_LONG_ONLY 29 // Command is only accepted when sent as a COMMAND_INT. 30 MAV_RESULT_COMMAND_INT_ONLY MAV_RESULT = common.MAV_RESULT_COMMAND_INT_ONLY 31 // Command is invalid because a frame is required and the specified frame is not supported. 32 MAV_RESULT_COMMAND_UNSUPPORTED_MAV_FRAME MAV_RESULT = common.MAV_RESULT_COMMAND_UNSUPPORTED_MAV_FRAME 33 )