github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/pythonarraytest/message_mission_set_current.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package pythonarraytest
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed).
    10  // If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items.
    11  // Note that mission jump repeat counters are not reset (see MAV_CMD_DO_JUMP param2).
    12  // This message may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE.
    13  // If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission.
    14  // If the system is not in mission mode this message must not trigger a switch to mission mode.
    15  type MessageMissionSetCurrent = common.MessageMissionSetCurrent