github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/development/message_param_ack_transaction.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package development 4 5 // Response from a PARAM_SET message when it is used in a transaction. 6 type MessageParamAckTransaction struct { 7 // Id of system that sent PARAM_SET message. 8 TargetSystem uint8 9 // Id of system that sent PARAM_SET message. 10 TargetComponent uint8 11 // Parameter id, terminated by NULL if the length is less than 16 human-readable chars and WITHOUT null termination (NULL) byte if the length is exactly 16 chars - applications have to provide 16+1 bytes storage if the ID is stored as string 12 ParamId string `mavlen:"16"` 13 // Parameter value (new value if PARAM_ACCEPTED, current value otherwise) 14 ParamValue float32 15 // Parameter type. 16 ParamType MAV_PARAM_TYPE `mavenum:"uint8"` 17 // Result code. 18 ParamResult PARAM_ACK `mavenum:"uint8"` 19 } 20 21 // GetID implements the message.Message interface. 22 func (*MessageParamAckTransaction) GetID() uint32 { 23 return 19 24 }