github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/all/enum_mav_standard_mode.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll,dupl,gocritic 3 package all 4 5 import ( 6 "github.com/bluenviron/gomavlib/v2/pkg/dialects/development" 7 ) 8 9 // Standard modes with a well understood meaning across flight stacks and vehicle types. 10 // For example, most flight stack have the concept of a "return" or "RTL" mode that takes a vehicle to safety, even though the precise mechanics of this mode may differ. 11 // Modes may be set using MAV_CMD_DO_SET_STANDARD_MODE. 12 type MAV_STANDARD_MODE = development.MAV_STANDARD_MODE 13 14 const ( 15 // Non standard mode. 16 // This may be used when reporting the mode if the current flight mode is not a standard mode. 17 MAV_STANDARD_MODE_NON_STANDARD MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_NON_STANDARD 18 // Position mode (manual). 19 // Position-controlled and stabilized manual mode. 20 // When sticks are released vehicles return to their level-flight orientation and hold both position and altitude against wind and external forces. 21 // This mode can only be set by vehicles that can hold a fixed position. 22 // Multicopter (MC) vehicles actively brake and hold both position and altitude against wind and external forces. 23 // Hybrid MC/FW ("VTOL") vehicles first transition to multicopter mode (if needed) but otherwise behave in the same way as MC vehicles. 24 // Fixed-wing (FW) vehicles must not support this mode. 25 // Other vehicle types must not support this mode (this may be revisited through the PR process). 26 MAV_STANDARD_MODE_POSITION_HOLD MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_POSITION_HOLD 27 // Orbit (manual). 28 // Position-controlled and stabilized manual mode. 29 // The vehicle circles around a fixed setpoint in the horizontal plane at a particular radius, altitude, and direction. 30 // Flight stacks may further allow manual control over the setpoint position, radius, direction, speed, and/or altitude of the circle, but this is not mandated. 31 // Flight stacks may support the [MAV_CMD_DO_ORBIT](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_ORBIT) for changing the orbit parameters. 32 // MC and FW vehicles may support this mode. 33 // Hybrid MC/FW ("VTOL") vehicles may support this mode in MC/FW or both modes; if the mode is not supported by the current configuration the vehicle should transition to the supported configuration. 34 // Other vehicle types must not support this mode (this may be revisited through the PR process). 35 MAV_STANDARD_MODE_ORBIT MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_ORBIT 36 // Cruise mode (manual). 37 // Position-controlled and stabilized manual mode. 38 // When sticks are released vehicles return to their level-flight orientation and hold their original track against wind and external forces. 39 // Fixed-wing (FW) vehicles level orientation and maintain current track and altitude against wind and external forces. 40 // Hybrid MC/FW ("VTOL") vehicles first transition to FW mode (if needed) but otherwise behave in the same way as MC vehicles. 41 // Multicopter (MC) vehicles must not support this mode. 42 // Other vehicle types must not support this mode (this may be revisited through the PR process). 43 MAV_STANDARD_MODE_CRUISE MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_CRUISE 44 // Altitude hold (manual). 45 // Altitude-controlled and stabilized manual mode. 46 // When sticks are released vehicles return to their level-flight orientation and hold their altitude. 47 // MC vehicles continue with existing momentum and may move with wind (or other external forces). 48 // FW vehicles continue with current heading, but may be moved off-track by wind. 49 // Hybrid MC/FW ("VTOL") vehicles behave according to their current configuration/mode (FW or MC). 50 // Other vehicle types must not support this mode (this may be revisited through the PR process). 51 MAV_STANDARD_MODE_ALTITUDE_HOLD MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_ALTITUDE_HOLD 52 // Return home mode (auto). 53 // Automatic mode that returns vehicle to home via a safe flight path. 54 // It may also automatically land the vehicle (i.e. RTL). 55 // The precise flight path and landing behaviour depend on vehicle configuration and type. 56 MAV_STANDARD_MODE_RETURN_HOME MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_RETURN_HOME 57 // Safe recovery mode (auto). 58 // Automatic mode that takes vehicle to a predefined safe location via a safe flight path (rally point or mission defined landing) . 59 // It may also automatically land the vehicle. 60 // The precise return location, flight path, and landing behaviour depend on vehicle configuration and type. 61 MAV_STANDARD_MODE_SAFE_RECOVERY MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_SAFE_RECOVERY 62 // Mission mode (automatic). 63 // Automatic mode that executes MAVLink missions. 64 // Missions are executed from the current waypoint as soon as the mode is enabled. 65 MAV_STANDARD_MODE_MISSION MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_MISSION 66 // Land mode (auto). 67 // Automatic mode that lands the vehicle at the current location. 68 // The precise landing behaviour depends on vehicle configuration and type. 69 MAV_STANDARD_MODE_LAND MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_LAND 70 // Takeoff mode (auto). 71 // Automatic takeoff mode. 72 // The precise takeoff behaviour depends on vehicle configuration and type. 73 MAV_STANDARD_MODE_TAKEOFF MAV_STANDARD_MODE = development.MAV_STANDARD_MODE_TAKEOFF 74 )