mavlink-mappings
Version:
MavLink message definitions
2,262 lines • 115 kB
TypeScript
import { int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, uint64_t, float } from './types';
import { MavLinkPacketRegistry, MavLinkPacketField, MavLinkData } from './mavlink';
import { MavMountMode, MavDistanceSensor, MavFrame, MagCalStatus, MavLinkCommandRegistry, MavResult } from './common';
/**
* ACCELCAL_VEHICLE_POS
*/
export declare enum AccelcalVehiclePos {
'LEVEL' = 1,
'LEFT' = 2,
'RIGHT' = 3,
'NOSEDOWN' = 4,
'NOSEUP' = 5,
'BACK' = 6,
'SUCCESS' = 16777215,
'FAILED' = 16777216
}
/**
* HEADING_TYPE
*/
export declare enum HeadingType {
'COURSE_OVER_GROUND' = 0,
'HEADING' = 1,
'DEFAULT' = 2
}
/**
* MAV_CMD
*/
export declare enum MavCmd {
/**
* Set the distance to be repeated on mission resume
* @param1 Distance[m] Distance.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_SET_RESUME_REPEAT_DIST' = 215,
/**
* Control attached liquid sprayer
* @param1 Sprayer Enable (min: 0, max: 1, increment: 1) 0: disable sprayer. 1: enable sprayer.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_SPRAYER' = 216,
/**
* Pass instructions onto scripting, a script should be checking for a new command
* @param1 ID (min: 0, max: 65535, increment: 1) uint16 ID value to be passed to scripting
* @param2 param 1 float value to be passed to scripting
* @param3 param 2 float value to be passed to scripting
* @param4 param 3 float value to be passed to scripting
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_SEND_SCRIPT_MESSAGE' = 217,
/**
* Execute auxiliary function
* @param1 AuxiliaryFunction Auxiliary Function.
* @param2 SwitchPosition Switch Level.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_AUX_FUNCTION' = 218,
/**
* Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude
* balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative
* vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle
* the control surfaces to prevent them seizing up.
* @param1 Altitude[m] Altitude.
* @param2 Descent Speed[m/s] Descent speed.
* @param3 Wiggle Time[s] How long to wiggle the control surfaces to prevent them seizing up.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'NAV_ALTITUDE_WAIT' = 83,
/**
* A system wide power-off event has been initiated.
* @param1 Empty.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'POWER_OFF_INITIATED' = 42000,
/**
* FLY button has been clicked.
* @param1 Empty.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'SOLO_BTN_FLY_CLICK' = 42001,
/**
* FLY button has been held for 1.5 seconds.
* @param1 Takeoff Altitude[m] Takeoff altitude.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'SOLO_BTN_FLY_HOLD' = 42002,
/**
* PAUSE button has been clicked.
* @param1 Shot Mode (min: 0, max: 1, increment: 1) 1 if Solo is in a shot mode, 0 otherwise.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'SOLO_BTN_PAUSE_CLICK' = 42003,
/**
* Magnetometer calibration based on fixed position in earth field given by inclination, declination
* and intensity.
* @param1 Declination[deg] Magnetic declination.
* @param2 Inclination[deg] Magnetic inclination.
* @param3 Intensity[mgauss] Magnetic intensity.
* @param4 Yaw[deg] Yaw.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'FIXED_MAG_CAL' = 42004,
/**
* Magnetometer calibration based on fixed expected field values.
* @param1 Field X[mgauss] Field strength X.
* @param2 Field Y[mgauss] Field strength Y.
* @param3 Field Z[mgauss] Field strength Z.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'FIXED_MAG_CAL_FIELD' = 42005,
/**
* Set EKF sensor source set.
* @param1 SourceSetId (min: 1, max: 3, increment: 1) Source Set Id.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'SET_EKF_SOURCE_SET' = 42007,
/**
* Initiate a magnetometer calibration.
* @param1 Magnetometers Bitmask (min: 0, max: 255, increment: 1) Bitmask of magnetometers to calibrate. Use 0 to calibrate all sensors that can be started (sensors may not start if disabled, unhealthy, etc.). The command will NACK if calibration does not start for a sensor explicitly specified by the bitmask.
* @param2 Retry on Failure (min: 0, max: 1, increment: 1) Automatically retry on failure (0=no retry, 1=retry).
* @param3 Autosave (min: 0, max: 1, increment: 1) Save without user input (0=require input, 1=autosave).
* @param4 Delay[s] Delay.
* @param5 Autoreboot (min: 0, max: 1, increment: 1) Autoreboot (0=user reboot, 1=autoreboot).
* @param6 Empty.
* @param7 Empty.
*/
'DO_START_MAG_CAL' = 42424,
/**
* Accept a magnetometer calibration.
* @param1 Magnetometers Bitmask (min: 0, max: 255, increment: 1) Bitmask of magnetometers that calibration is accepted (0 means all).
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_ACCEPT_MAG_CAL' = 42425,
/**
* Cancel a running magnetometer calibration.
* @param1 Magnetometers Bitmask (min: 0, max: 255, increment: 1) Bitmask of magnetometers to cancel a running calibration (0 means all).
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_CANCEL_MAG_CAL' = 42426,
/**
* Used when doing accelerometer calibration. When sent to the GCS tells it what position to put the
* vehicle in. When sent to the vehicle says what position the vehicle is in.
* @param1 Position Position.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'ACCELCAL_VEHICLE_POS' = 42429,
/**
* Reply with the version banner.
* @param1 Empty.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DO_SEND_BANNER' = 42428,
/**
* Command autopilot to get into factory test/diagnostic mode.
* @param1 Test Mode (min: 0, max: 1, increment: 1) 0: activate test mode, 1: exit test mode.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'SET_FACTORY_TEST_MODE' = 42427,
/**
* Causes the gimbal to reset and boot as if it was just powered on.
* @param1 Empty.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'GIMBAL_RESET' = 42501,
/**
* Reports progress and success or failure of gimbal axis calibration procedure.
* @param1 Axis Gimbal axis we're reporting calibration progress for.
* @param2 Progress[%] (min: 0, max: 100) Current calibration progress for this axis.
* @param3 Status Status of the calibration.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'GIMBAL_AXIS_CALIBRATION_STATUS' = 42502,
/**
* Starts commutation calibration on the gimbal.
* @param1 Empty.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'GIMBAL_REQUEST_AXIS_CALIBRATION' = 42503,
/**
* Erases gimbal application and parameters.
* @param1 Magic number.
* @param2 Magic number.
* @param3 Magic number.
* @param4 Magic number.
* @param5 Magic number.
* @param6 Magic number.
* @param7 Magic number.
*/
'GIMBAL_FULL_RESET' = 42505,
/**
* Update the bootloader
* @param1 Empty
* @param2 Empty
* @param3 Empty
* @param4 Empty
* @param5 Magic Number (increment: 1) Magic number - set to 290876 to actually flash
* @param6 Empty
* @param7 Empty
*/
'FLASH_BOOTLOADER' = 42650,
/**
* Reset battery capacity for batteries that accumulate consumed battery via integration.
* @param1 battery mask Bitmask of batteries to reset. Least significant bit is for the first battery.
* @param2 percentage (min: 0, max: 100, increment: 1) Battery percentage remaining to set.
*/
'BATTERY_RESET' = 42651,
/**
* Issue a trap signal to the autopilot process, presumably to enter the debugger.
* @param1 Magic number - set to 32451 to actually trap.
* @param2 Empty.
* @param3 Empty.
* @param4 Empty.
* @param5 Empty.
* @param6 Empty.
* @param7 Empty.
*/
'DEBUG_TRAP' = 42700,
/**
* Control onboard scripting.
* @param1 Scripting command to execute
*/
'SCRIPTING' = 42701,
/**
* Scripting command as NAV command with wait for completion.
* @param1 command integer command number (0 to 255)
* @param2 timeout[s] timeout for operation in seconds. Zero means no timeout (0 to 255)
* @param3 arg1 argument1.
* @param4 arg2 argument2.
* @param5 arg3 argument3.
* @param6 arg4 argument4.
* @param7 Empty
*/
'NAV_SCRIPT_TIME' = 42702,
/**
* Maintain an attitude for a specified time.
* @param1 time[s] Time to maintain specified attitude and climb rate
* @param2 roll[deg] Roll angle in degrees (positive is lean right, negative is lean left)
* @param3 pitch[deg] Pitch angle in degrees (positive is lean back, negative is lean forward)
* @param4 yaw[deg] Yaw angle
* @param5 climb_rate[m/s] Climb rate
* @param6 Empty
* @param7 Empty
*/
'NAV_ATTITUDE_TIME' = 42703,
/**
* Change flight speed at a given rate. This slews the vehicle at a controllable rate between it's
* previous speed and the new one. (affects GUIDED only. Outside GUIDED, aircraft ignores these
* commands. Designed for onboard companion-computer command-and-control, not normally operator/GCS
* control.)
* @param1 speed type Airspeed or groundspeed.
* @param2 speed target[m/s] Target Speed
* @param3 speed rate-of-change[m/s/s] Acceleration rate, 0 to take effect instantly
* @param4 Empty
* @param5 Empty
* @param6 Empty
* @param7 Empty
*/
'GUIDED_CHANGE_SPEED' = 43000,
/**
* Change target altitude at a given rate. This slews the vehicle at a controllable rate between it's
* previous altitude and the new one. (affects GUIDED only. Outside GUIDED, aircraft ignores these
* commands. Designed for onboard companion-computer command-and-control, not normally operator/GCS
* control.)
* @param1 Empty
* @param2 Empty
* @param3 alt rate-of-change[m/s] (min: 0) Rate of change, toward new altitude. 0 for maximum rate change. Positive numbers only, as negative numbers will not converge on the new target alt.
* @param4 Empty
* @param5 Empty
* @param6 Empty
* @param7 target alt[m] Target Altitude
*/
'GUIDED_CHANGE_ALTITUDE' = 43001,
/**
* Change to target heading at a given rate, overriding previous heading/s. This slews the vehicle at a
* controllable rate between it's previous heading and the new one. (affects GUIDED only. Exiting
* GUIDED returns aircraft to normal behaviour defined elsewhere. Designed for onboard
* companion-computer command-and-control, not normally operator/GCS control.)
* @param1 heading type course-over-ground or raw vehicle heading.
* @param2 heading target[deg] (min: 0, max: 359.99) Target heading.
* @param3 heading rate-of-change[m/s/s] Maximum centripetal accelearation, ie rate of change, toward new heading.
* @param4 Empty
* @param5 Empty
* @param6 Empty
* @param7 Empty
*/
'GUIDED_CHANGE_HEADING' = 43002,
/**
* Provide a value for height above ground level. This can be used for things like fixed wing and VTOL
* landing.
* @param1 hagl[m] Height above ground level.
* @param2 accuracy[m] estimated one standard deviation accuracy of the measurement. Set to NaN if not known.
* @param3 timeout[s] Timeout for this data. The flight controller should only consider this data valid within the timeout window.
* @param4 Empty
* @param5 Empty
* @param6 Empty
* @param7 Empty
*/
'SET_HAGL' = 43005
}
/**
* SCRIPTING_CMD
*/
export declare enum ScriptingCmd {
/**
* Start a REPL session.
*/
'REPL_START' = 0,
/**
* End a REPL session.
*/
'REPL_STOP' = 1,
/**
* Stop execution of scripts.
*/
'STOP' = 2,
/**
* Stop execution of scripts and restart.
*/
'STOP_AND_RESTART' = 3
}
/**
* SECURE_COMMAND_OP
*/
export declare enum SecureCommandOp {
/**
* Get an 8 byte session key which is used for remote secure updates which operate on flight controller
* data such as bootloader public keys. Return data will be 8 bytes on success. The session key remains
* valid until either the flight controller reboots or another SECURE_COMMAND_GET_SESSION_KEY is run.
*/
'GET_SESSION_KEY' = 0,
/**
* Get an 8 byte session key which is used for remote secure updates which operate on RemoteID module
* data. Return data will be 8 bytes on success. The session key remains valid until either the remote
* ID module reboots or another SECURE_COMMAND_GET_REMOTEID_SESSION_KEY is run.
*/
'GET_REMOTEID_SESSION_KEY' = 1,
/**
* Remove range of public keys from the bootloader. Command data consists of two bytes, first byte if
* index of first public key to remove. Second byte is the number of keys to remove. If all keys are
* removed then secure boot is disabled and insecure firmware can be loaded.
*/
'REMOVE_PUBLIC_KEYS' = 2,
/**
* Get current public keys from the bootloader. Command data consists of two bytes, first byte is index
* of first public key to fetch, 2nd byte is number of keys to fetch. Total data needs to fit in data
* portion of reply (max 6 keys for 32 byte keys). Reply data has the index of the first key in the
* first byte, followed by the keys. Returned keys may be less than the number of keys requested if
* there are less keys installed than requested.
*/
'GET_PUBLIC_KEYS' = 3,
/**
* Set current public keys in the bootloader. Data consists of a one byte public key index followed by
* the public keys. With 32 byte keys this allows for up to 6 keys to be set in one request. Keys
* outside of the range that is being set will remain unchanged.
*/
'SET_PUBLIC_KEYS' = 4,
/**
* Get config data for remote ID module. This command should be sent to the component ID of the flight
* controller which will forward it to the RemoteID module either over mavlink or DroneCAN. Data format
* is specific to the RemoteID implementation, see RemoteID firmware documentation for details.
*/
'GET_REMOTEID_CONFIG' = 5,
/**
* Set config data for remote ID module. This command should be sent to the component ID of the flight
* controller which will forward it to the RemoteID module either over mavlink or DroneCAN. Data format
* is specific to the RemoteID implementation, see RemoteID firmware documentation for details.
*/
'SET_REMOTEID_CONFIG' = 6,
/**
* Flash bootloader from local storage. Data is the filename to use for the bootloader. This is
* intended to be used with MAVFtp to upload a new bootloader to a microSD before flashing.
*/
'FLASH_BOOTLOADER' = 7
}
/**
* LIMITS_STATE
*/
export declare enum LimitsState {
/**
* Pre-initialization.
*/
'INIT' = 0,
/**
* Disabled.
*/
'DISABLED' = 1,
/**
* Checking limits.
*/
'ENABLED' = 2,
/**
* A limit has been breached.
*/
'TRIGGERED' = 3,
/**
* Taking action e.g. Return/RTL.
*/
'RECOVERING' = 4,
/**
* We're no longer in breach of a limit.
*/
'RECOVERED' = 5
}
/**
* LIMIT_MODULE
*/
export declare enum LimitModule {
/**
* Pre-initialization.
*/
'GPSLOCK' = 1,
/**
* Disabled.
*/
'GEOFENCE' = 2,
/**
* Checking limits.
*/
'ALTITUDE' = 4
}
/**
* Flags in RALLY_POINT message.
*/
export declare enum RallyFlags {
/**
* Flag set when requiring favorable winds for landing.
*/
'FAVORABLE_WIND' = 1,
/**
* Flag set when plane is to immediately descend to break altitude and land without GCS intervention.
* Flag not set when plane is to loiter at Rally point until commanded to land.
*/
'LAND_IMMEDIATELY' = 2,
/**
* True if the following altitude frame value is valid.
*/
'VALID' = 4,
/**
* 2 bit value representing altitude frame. 0: absolute, 1: relative home, 2: relative origin, 3:
* relative terrain
*/
'ALT_FRAME' = 24
}
/**
* CAMERA_STATUS_TYPES
*/
export declare enum CameraStatusTypes {
/**
* Camera heartbeat, announce camera component ID at 1Hz.
*/
'HEARTBEAT' = 0,
/**
* Camera image triggered.
*/
'TRIGGER' = 1,
/**
* Camera connection lost.
*/
'DISCONNECT' = 2,
/**
* Camera unknown error.
*/
'ERROR' = 3,
/**
* Camera battery low. Parameter p1 shows reported voltage.
*/
'LOWBATT' = 4,
/**
* Camera storage low. Parameter p1 shows reported shots remaining.
*/
'LOWSTORE' = 5,
/**
* Camera storage low. Parameter p1 shows reported video minutes remaining.
*/
'LOWSTOREV' = 6
}
/**
* CAMERA_FEEDBACK_FLAGS
*/
export declare enum CameraFeedbackFlags {
/**
* Shooting photos, not video.
*/
'PHOTO' = 0,
/**
* Shooting video, not stills.
*/
'VIDEO' = 1,
/**
* Unable to achieve requested exposure (e.g. shutter speed too low).
*/
'BADEXPOSURE' = 2,
/**
* Closed loop feedback from camera, we know for sure it has successfully taken a picture.
*/
'CLOSEDLOOP' = 3,
/**
* Open loop camera, an image trigger has been requested but we can't know for sure it has successfully
* taken a picture.
*/
'OPENLOOP' = 4
}
/**
* MAV_MODE_GIMBAL
*/
export declare enum MavModeGimbal {
/**
* Gimbal is powered on but has not started initializing yet.
*/
'UNINITIALIZED' = 0,
/**
* Gimbal is currently running calibration on the pitch axis.
*/
'CALIBRATING_PITCH' = 1,
/**
* Gimbal is currently running calibration on the roll axis.
*/
'CALIBRATING_ROLL' = 2,
/**
* Gimbal is currently running calibration on the yaw axis.
*/
'CALIBRATING_YAW' = 3,
/**
* Gimbal has finished calibrating and initializing, but is relaxed pending reception of first rate
* command from copter.
*/
'INITIALIZED' = 4,
/**
* Gimbal is actively stabilizing.
*/
'ACTIVE' = 5,
/**
* Gimbal is relaxed because it missed more than 10 expected rate command messages in a row. Gimbal
* will move back to active mode when it receives a new rate command.
*/
'RATE_CMD_TIMEOUT' = 6
}
/**
* GIMBAL_AXIS
*/
export declare enum GimbalAxis {
/**
* Gimbal yaw axis.
*/
'YAW' = 0,
/**
* Gimbal pitch axis.
*/
'PITCH' = 1,
/**
* Gimbal roll axis.
*/
'ROLL' = 2
}
/**
* GIMBAL_AXIS_CALIBRATION_STATUS
*/
export declare enum GimbalAxisCalibrationStatus {
/**
* Axis calibration is in progress.
*/
'IN_PROGRESS' = 0,
/**
* Axis calibration succeeded.
*/
'SUCCEEDED' = 1,
/**
* Axis calibration failed.
*/
'FAILED' = 2
}
/**
* GIMBAL_AXIS_CALIBRATION_REQUIRED
*/
export declare enum GimbalAxisCalibrationRequired {
/**
* Whether or not this axis requires calibration is unknown at this time.
*/
'UNKNOWN' = 0,
/**
* This axis requires calibration.
*/
'TRUE' = 1,
/**
* This axis does not require calibration.
*/
'FALSE' = 2
}
/**
* GOPRO_HEARTBEAT_STATUS
*/
export declare enum GoproHeartbeatStatus {
/**
* No GoPro connected.
*/
'DISCONNECTED' = 0,
/**
* The detected GoPro is not HeroBus compatible.
*/
'INCOMPATIBLE' = 1,
/**
* A HeroBus compatible GoPro is connected.
*/
'CONNECTED' = 2,
/**
* An unrecoverable error was encountered with the connected GoPro, it may require a power cycle.
*/
'ERROR' = 3
}
/**
* GOPRO_HEARTBEAT_FLAGS
*/
export declare enum GoproHeartbeatFlags {
/**
* GoPro is currently recording.
*/
'RECORDING' = 1
}
/**
* GOPRO_REQUEST_STATUS
*/
export declare enum GoproRequestStatus {
/**
* The write message with ID indicated succeeded.
*/
'SUCCESS' = 0,
/**
* The write message with ID indicated failed.
*/
'FAILED' = 1
}
/**
* GOPRO_COMMAND
*/
export declare enum GoproCommand {
/**
* (Get/Set).
*/
'POWER' = 0,
/**
* (Get/Set).
*/
'CAPTURE_MODE' = 1,
/**
* (___/Set).
*/
'SHUTTER' = 2,
/**
* (Get/___).
*/
'BATTERY' = 3,
/**
* (Get/___).
*/
'MODEL' = 4,
/**
* (Get/Set).
*/
'VIDEO_SETTINGS' = 5,
/**
* (Get/Set).
*/
'LOW_LIGHT' = 6,
/**
* (Get/Set).
*/
'PHOTO_RESOLUTION' = 7,
/**
* (Get/Set).
*/
'PHOTO_BURST_RATE' = 8,
/**
* (Get/Set).
*/
'PROTUNE' = 9,
/**
* (Get/Set) Hero 3+ Only.
*/
'PROTUNE_WHITE_BALANCE' = 10,
/**
* (Get/Set) Hero 3+ Only.
*/
'PROTUNE_COLOUR' = 11,
/**
* (Get/Set) Hero 3+ Only.
*/
'PROTUNE_GAIN' = 12,
/**
* (Get/Set) Hero 3+ Only.
*/
'PROTUNE_SHARPNESS' = 13,
/**
* (Get/Set) Hero 3+ Only.
*/
'PROTUNE_EXPOSURE' = 14,
/**
* (Get/Set).
*/
'TIME' = 15,
/**
* (Get/Set).
*/
'CHARGING' = 16
}
/**
* GOPRO_CAPTURE_MODE
*/
export declare enum GoproCaptureMode {
/**
* Video mode.
*/
'VIDEO' = 0,
/**
* Photo mode.
*/
'PHOTO' = 1,
/**
* Burst mode, Hero 3+ only.
*/
'BURST' = 2,
/**
* Time lapse mode, Hero 3+ only.
*/
'TIME_LAPSE' = 3,
/**
* Multi shot mode, Hero 4 only.
*/
'MULTI_SHOT' = 4,
/**
* Playback mode, Hero 4 only, silver only except when LCD or HDMI is connected to black.
*/
'PLAYBACK' = 5,
/**
* Playback mode, Hero 4 only.
*/
'SETUP' = 6,
/**
* Mode not yet known.
*/
'UNKNOWN' = 255
}
/**
* GOPRO_RESOLUTION
*/
export declare enum GoproResolution {
/**
* 848 x 480 (480p).
*/
'GOPRO_RESOLUTION_480p' = 0,
/**
* 1280 x 720 (720p).
*/
'GOPRO_RESOLUTION_720p' = 1,
/**
* 1280 x 960 (960p).
*/
'GOPRO_RESOLUTION_960p' = 2,
/**
* 1920 x 1080 (1080p).
*/
'GOPRO_RESOLUTION_1080p' = 3,
/**
* 1920 x 1440 (1440p).
*/
'GOPRO_RESOLUTION_1440p' = 4,
/**
* 2704 x 1440 (2.7k-17:9).
*/
'GOPRO_RESOLUTION_2_7k_17_9' = 5,
/**
* 2704 x 1524 (2.7k-16:9).
*/
'GOPRO_RESOLUTION_2_7k_16_9' = 6,
/**
* 2704 x 2028 (2.7k-4:3).
*/
'GOPRO_RESOLUTION_2_7k_4_3' = 7,
/**
* 3840 x 2160 (4k-16:9).
*/
'GOPRO_RESOLUTION_4k_16_9' = 8,
/**
* 4096 x 2160 (4k-17:9).
*/
'GOPRO_RESOLUTION_4k_17_9' = 9,
/**
* 1280 x 720 (720p-SuperView).
*/
'GOPRO_RESOLUTION_720p_SUPERVIEW' = 10,
/**
* 1920 x 1080 (1080p-SuperView).
*/
'GOPRO_RESOLUTION_1080p_SUPERVIEW' = 11,
/**
* 2704 x 1520 (2.7k-SuperView).
*/
'GOPRO_RESOLUTION_2_7k_SUPERVIEW' = 12,
/**
* 3840 x 2160 (4k-SuperView).
*/
'GOPRO_RESOLUTION_4k_SUPERVIEW' = 13
}
/**
* GOPRO_FRAME_RATE
*/
export declare enum GoproFrameRate {
/**
* 12 FPS.
*/
'GOPRO_FRAME_RATE_12' = 0,
/**
* 15 FPS.
*/
'GOPRO_FRAME_RATE_15' = 1,
/**
* 24 FPS.
*/
'GOPRO_FRAME_RATE_24' = 2,
/**
* 25 FPS.
*/
'GOPRO_FRAME_RATE_25' = 3,
/**
* 30 FPS.
*/
'GOPRO_FRAME_RATE_30' = 4,
/**
* 48 FPS.
*/
'GOPRO_FRAME_RATE_48' = 5,
/**
* 50 FPS.
*/
'GOPRO_FRAME_RATE_50' = 6,
/**
* 60 FPS.
*/
'GOPRO_FRAME_RATE_60' = 7,
/**
* 80 FPS.
*/
'GOPRO_FRAME_RATE_80' = 8,
/**
* 90 FPS.
*/
'GOPRO_FRAME_RATE_90' = 9,
/**
* 100 FPS.
*/
'GOPRO_FRAME_RATE_100' = 10,
/**
* 120 FPS.
*/
'GOPRO_FRAME_RATE_120' = 11,
/**
* 240 FPS.
*/
'GOPRO_FRAME_RATE_240' = 12,
/**
* 12.5 FPS.
*/
'GOPRO_FRAME_RATE_12_5' = 13
}
/**
* GOPRO_FIELD_OF_VIEW
*/
export declare enum GoproFieldOfView {
/**
* 0x00: Wide.
*/
'WIDE' = 0,
/**
* 0x01: Medium.
*/
'MEDIUM' = 1,
/**
* 0x02: Narrow.
*/
'NARROW' = 2
}
/**
* GOPRO_VIDEO_SETTINGS_FLAGS
*/
export declare enum GoproVideoSettingsFlags {
/**
* 0=NTSC, 1=PAL.
*/
'MODE' = 1
}
/**
* GOPRO_PHOTO_RESOLUTION
*/
export declare enum GoproPhotoResolution {
/**
* 5MP Medium.
*/
'GOPRO_PHOTO_RESOLUTION_5MP_MEDIUM' = 0,
/**
* 7MP Medium.
*/
'GOPRO_PHOTO_RESOLUTION_7MP_MEDIUM' = 1,
/**
* 7MP Wide.
*/
'GOPRO_PHOTO_RESOLUTION_7MP_WIDE' = 2,
/**
* 10MP Wide.
*/
'GOPRO_PHOTO_RESOLUTION_10MP_WIDE' = 3,
/**
* 12MP Wide.
*/
'GOPRO_PHOTO_RESOLUTION_12MP_WIDE' = 4
}
/**
* GOPRO_PROTUNE_WHITE_BALANCE
*/
export declare enum GoproProtuneWhiteBalance {
/**
* Auto.
*/
'AUTO' = 0,
/**
* 3000K.
*/
'GOPRO_PROTUNE_WHITE_BALANCE_3000K' = 1,
/**
* 5500K.
*/
'GOPRO_PROTUNE_WHITE_BALANCE_5500K' = 2,
/**
* 6500K.
*/
'GOPRO_PROTUNE_WHITE_BALANCE_6500K' = 3,
/**
* Camera Raw.
*/
'RAW' = 4
}
/**
* GOPRO_PROTUNE_COLOUR
*/
export declare enum GoproProtuneColour {
/**
* Auto.
*/
'STANDARD' = 0,
/**
* Neutral.
*/
'NEUTRAL' = 1
}
/**
* GOPRO_PROTUNE_GAIN
*/
export declare enum GoproProtuneGain {
/**
* ISO 400.
*/
'GOPRO_PROTUNE_GAIN_400' = 0,
/**
* ISO 800 (Only Hero 4).
*/
'GOPRO_PROTUNE_GAIN_800' = 1,
/**
* ISO 1600.
*/
'GOPRO_PROTUNE_GAIN_1600' = 2,
/**
* ISO 3200 (Only Hero 4).
*/
'GOPRO_PROTUNE_GAIN_3200' = 3,
/**
* ISO 6400.
*/
'GOPRO_PROTUNE_GAIN_6400' = 4
}
/**
* GOPRO_PROTUNE_SHARPNESS
*/
export declare enum GoproProtuneSharpness {
/**
* Low Sharpness.
*/
'LOW' = 0,
/**
* Medium Sharpness.
*/
'MEDIUM' = 1,
/**
* High Sharpness.
*/
'HIGH' = 2
}
/**
* GOPRO_PROTUNE_EXPOSURE
*/
export declare enum GoproProtuneExposure {
/**
* -5.0 EV (Hero 3+ Only).
*/
'NEG_5_0' = 0,
/**
* -4.5 EV (Hero 3+ Only).
*/
'NEG_4_5' = 1,
/**
* -4.0 EV (Hero 3+ Only).
*/
'NEG_4_0' = 2,
/**
* -3.5 EV (Hero 3+ Only).
*/
'NEG_3_5' = 3,
/**
* -3.0 EV (Hero 3+ Only).
*/
'NEG_3_0' = 4,
/**
* -2.5 EV (Hero 3+ Only).
*/
'NEG_2_5' = 5,
/**
* -2.0 EV.
*/
'NEG_2_0' = 6,
/**
* -1.5 EV.
*/
'NEG_1_5' = 7,
/**
* -1.0 EV.
*/
'NEG_1_0' = 8,
/**
* -0.5 EV.
*/
'NEG_0_5' = 9,
/**
* 0.0 EV.
*/
'ZERO' = 10,
/**
* +0.5 EV.
*/
'POS_0_5' = 11,
/**
* +1.0 EV.
*/
'POS_1_0' = 12,
/**
* +1.5 EV.
*/
'POS_1_5' = 13,
/**
* +2.0 EV.
*/
'POS_2_0' = 14,
/**
* +2.5 EV (Hero 3+ Only).
*/
'POS_2_5' = 15,
/**
* +3.0 EV (Hero 3+ Only).
*/
'POS_3_0' = 16,
/**
* +3.5 EV (Hero 3+ Only).
*/
'POS_3_5' = 17,
/**
* +4.0 EV (Hero 3+ Only).
*/
'POS_4_0' = 18,
/**
* +4.5 EV (Hero 3+ Only).
*/
'POS_4_5' = 19,
/**
* +5.0 EV (Hero 3+ Only).
*/
'POS_5_0' = 20
}
/**
* GOPRO_CHARGING
*/
export declare enum GoproCharging {
/**
* Charging disabled.
*/
'DISABLED' = 0,
/**
* Charging enabled.
*/
'ENABLED' = 1
}
/**
* GOPRO_MODEL
*/
export declare enum GoproModel {
/**
* Unknown gopro model.
*/
'UNKNOWN' = 0,
/**
* Hero 3+ Silver (HeroBus not supported by GoPro).
*/
'HERO_3_PLUS_SILVER' = 1,
/**
* Hero 3+ Black.
*/
'HERO_3_PLUS_BLACK' = 2,
/**
* Hero 4 Silver.
*/
'HERO_4_SILVER' = 3,
/**
* Hero 4 Black.
*/
'HERO_4_BLACK' = 4
}
/**
* GOPRO_BURST_RATE
*/
export declare enum GoproBurstRate {
/**
* 3 Shots / 1 Second.
*/
'GOPRO_BURST_RATE_3_IN_1_SECOND' = 0,
/**
* 5 Shots / 1 Second.
*/
'GOPRO_BURST_RATE_5_IN_1_SECOND' = 1,
/**
* 10 Shots / 1 Second.
*/
'GOPRO_BURST_RATE_10_IN_1_SECOND' = 2,
/**
* 10 Shots / 2 Second.
*/
'GOPRO_BURST_RATE_10_IN_2_SECOND' = 3,
/**
* 10 Shots / 3 Second (Hero 4 Only).
*/
'GOPRO_BURST_RATE_10_IN_3_SECOND' = 4,
/**
* 30 Shots / 1 Second.
*/
'GOPRO_BURST_RATE_30_IN_1_SECOND' = 5,
/**
* 30 Shots / 2 Second.
*/
'GOPRO_BURST_RATE_30_IN_2_SECOND' = 6,
/**
* 30 Shots / 3 Second.
*/
'GOPRO_BURST_RATE_30_IN_3_SECOND' = 7,
/**
* 30 Shots / 6 Second.
*/
'GOPRO_BURST_RATE_30_IN_6_SECOND' = 8
}
/**
* MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL
*/
export declare enum MavCmdDoAuxFunctionSwitchLevel {
/**
* Switch Low.
*/
'LOW' = 0,
/**
* Switch Middle.
*/
'MIDDLE' = 1,
/**
* Switch High.
*/
'HIGH' = 2
}
/**
* LED_CONTROL_PATTERN
*/
export declare enum LedControlPattern {
/**
* LED patterns off (return control to regular vehicle control).
*/
'OFF' = 0,
/**
* LEDs show pattern during firmware update.
*/
'FIRMWAREUPDATE' = 1,
/**
* Custom Pattern using custom bytes fields.
*/
'CUSTOM' = 255
}
/**
* Flags in EKF_STATUS message.
*/
export declare enum EkfStatusFlags {
/**
* Set if EKF's attitude estimate is good.
*/
'ATTITUDE' = 1,
/**
* Set if EKF's horizontal velocity estimate is good.
*/
'VELOCITY_HORIZ' = 2,
/**
* Set if EKF's vertical velocity estimate is good.
*/
'VELOCITY_VERT' = 4,
/**
* Set if EKF's horizontal position (relative) estimate is good.
*/
'POS_HORIZ_REL' = 8,
/**
* Set if EKF's horizontal position (absolute) estimate is good.
*/
'POS_HORIZ_ABS' = 16,
/**
* Set if EKF's vertical position (absolute) estimate is good.
*/
'POS_VERT_ABS' = 32,
/**
* Set if EKF's vertical position (above ground) estimate is good.
*/
'POS_VERT_AGL' = 64,
/**
* EKF is in constant position mode and does not know it's absolute or relative position.
*/
'CONST_POS_MODE' = 128,
/**
* Set if EKF's predicted horizontal position (relative) estimate is good.
*/
'PRED_POS_HORIZ_REL' = 256,
/**
* Set if EKF's predicted horizontal position (absolute) estimate is good.
*/
'PRED_POS_HORIZ_ABS' = 512,
/**
* Set if EKF believes the GPS input data is faulty.
*/
'GPS_GLITCHING' = 32768,
/**
* Set if EKF has never been healthy.
*/
'UNINITIALIZED' = 1024
}
/**
* PID_TUNING_AXIS
*/
export declare enum PidTuningAxis {
'ROLL' = 1,
'PITCH' = 2,
'YAW' = 3,
'ACCZ' = 4,
'STEER' = 5,
'LANDING' = 6
}
/**
* Special ACK block numbers control activation of dataflash log streaming.
*/
export declare enum MavRemoteLogDataBlockCommands {
/**
* UAV to stop sending DataFlash blocks.
*/
'STOP' = 2147483645,
/**
* UAV to start sending DataFlash blocks.
*/
'START' = 2147483646
}
/**
* Possible remote log data block statuses.
*/
export declare enum MavRemoteLogDataBlockStatuses {
/**
* This block has NOT been received.
*/
'NACK' = 0,
/**
* This block has been received.
*/
'ACK' = 1
}
/**
* Bus types for device operations.
*/
export declare enum DeviceOpBustype {
/**
* I2C Device operation.
*/
'I2C' = 0,
/**
* SPI Device operation.
*/
'SPI' = 1
}
/**
* Deepstall flight stage.
*/
export declare enum DeepstallStage {
/**
* Flying to the landing point.
*/
'FLY_TO_LANDING' = 0,
/**
* Building an estimate of the wind.
*/
'ESTIMATE_WIND' = 1,
/**
* Waiting to breakout of the loiter to fly the approach.
*/
'WAIT_FOR_BREAKOUT' = 2,
/**
* Flying to the first arc point to turn around to the landing point.
*/
'FLY_TO_ARC' = 3,
/**
* Turning around back to the deepstall landing point.
*/
'ARC' = 4,
/**
* Approaching the landing point.
*/
'APPROACH' = 5,
/**
* Stalling and steering towards the land point.
*/
'LAND' = 6
}
/**
* A mapping of plane flight modes for custom_mode field of heartbeat.
*/
export declare enum PlaneMode {
/**
* MANUAL
*/
'MANUAL' = 0,
/**
* CIRCLE
*/
'CIRCLE' = 1,
/**
* STABILIZE
*/
'STABILIZE' = 2,
/**
* TRAINING
*/
'TRAINING' = 3,
/**
* ACRO
*/
'ACRO' = 4,
/**
* FBWA
*/
'FLY_BY_WIRE_A' = 5,
/**
* FBWB
*/
'FLY_BY_WIRE_B' = 6,
/**
* CRUISE
*/
'CRUISE' = 7,
/**
* AUTOTUNE
*/
'AUTOTUNE' = 8,
/**
* AUTO
*/
'AUTO' = 10,
/**
* RTL
*/
'RTL' = 11,
/**
* LOITER
*/
'LOITER' = 12,
/**
* TAKEOFF
*/
'TAKEOFF' = 13,
/**
* AVOID ADSB
*/
'AVOID_ADSB' = 14,
/**
* GUIDED
*/
'GUIDED' = 15,
/**
* INITIALISING
*/
'INITIALIZING' = 16,
/**
* QSTABILIZE
*/
'QSTABILIZE' = 17,
/**
* QHOVER
*/
'QHOVER' = 18,
/**
* QLOITER
*/
'QLOITER' = 19,
/**
* QLAND
*/
'QLAND' = 20,
/**
* QRTL
*/
'QRTL' = 21,
/**
* QAUTOTUNE
*/
'QAUTOTUNE' = 22,
/**
* QACRO
*/
'QACRO' = 23,
/**
* THERMAL
*/
'THERMAL' = 24,
/**
* LOITER2QLAND
*/
'LOITER_ALT_QLAND' = 25,
/**
* AUTOLAND
*/
'AUTOLAND' = 26
}
/**
* A mapping of copter flight modes for custom_mode field of heartbeat.
*/
export declare enum CopterMode {
/**
* STABILIZE
*/
'STABILIZE' = 0,
/**
* ACRO
*/
'ACRO' = 1,
/**
* ALT HOLD
*/
'ALT_HOLD' = 2,
/**
* AUTO
*/
'AUTO' = 3,
/**
* GUIDED
*/
'GUIDED' = 4,
/**
* LOITER
*/
'LOITER' = 5,
/**
* RTL
*/
'RTL' = 6,
/**
* CIRCLE
*/
'CIRCLE' = 7,
/**
* LAND
*/
'LAND' = 9,
/**
* DRIFT
*/
'DRIFT' = 11,
/**
* SPORT
*/
'SPORT' = 13,
/**
* FLIP
*/
'FLIP' = 14,
/**
* AUTOTUNE
*/
'AUTOTUNE' = 15,
/**
* POSHOLD
*/
'POSHOLD' = 16,
/**
* BRAKE
*/
'BRAKE' = 17,
/**
* THROW
*/
'THROW' = 18,
/**
* AVOID ADSB
*/
'AVOID_ADSB' = 19,
/**
* GUIDED NOGPS
*/
'GUIDED_NOGPS' = 20,
/**
* SMARTRTL
*/
'SMART_RTL' = 21,
/**
* FLOWHOLD
*/
'FLOWHOLD' = 22,
/**
* FOLLOW
*/
'FOLLOW' = 23,
/**
* ZIGZAG
*/
'ZIGZAG' = 24,
/**
* SYSTEMID
*/
'SYSTEMID' = 25,
/**
* AUTOROTATE
*/
'AUTOROTATE' = 26,
/**
* AUTO RTL
*/
'AUTO_RTL' = 27,
/**
* TURTLE
*/
'TURTLE' = 28,
/**
* RATE_ACRO
*/
'RATE_ACRO' = 29
}
/**
* A mapping of sub flight modes for custom_mode field of heartbeat.
*/
export declare enum SubMode {
/**
* STABILIZE
*/
'STABILIZE' = 0,
/**
* ACRO
*/
'ACRO' = 1,
/**
* ALT HOLD
*/
'ALT_HOLD' = 2,
/**
* AUTO
*/
'AUTO' = 3,
/**
* GUIDED
*/
'GUIDED' = 4,
/**
* CIRCLE
*/
'CIRCLE' = 7,
/**
* SURFACE
*/
'SURFACE' = 9,
/**
* POSHOLD
*/
'POSHOLD' = 16,
/**
* MANUAL
*/
'MANUAL' = 19,
/**
* MOTORDETECT
*/
'MOTORDETECT' = 20,
/**
* SURFTRAK
*/
'SURFTRAK' = 21
}
/**
* A mapping of rover flight modes for custom_mode field of heartbeat.
*/
export declare enum RoverMode {
/**
* MANUAL
*/
'MANUAL' = 0,
/**
* ACRO
*/
'ACRO' = 1,
/**
* STEERING
*/
'STEERING' = 3,
/**
* HOLD
*/
'HOLD' = 4,
/**
* LOITER
*/
'LOITER' = 5,
/**
* FOLLOW
*/
'FOLLOW' = 6,
/**
* SIMPLE
*/
'SIMPLE' = 7,
/**
* DOCK
*/
'DOCK' = 8,
/**
* CIRCLE
*/
'CIRCLE' = 9,
/**
* AUTO
*/
'AUTO' = 10,
/**
* RTL
*/
'RTL' = 11,
/**
* SMART RTL
*/
'SMART_RTL' = 12,
/**
* GUIDED
*/
'GUIDED' = 15,
/**
* INITIALISING
*/
'INITIALIZING' = 16
}
/**
* A mapping of antenna tracker flight modes for custom_mode field of heartbeat.
*/
export declare enum TrackerMode {
/**
* MANUAL
*/
'MANUAL' = 0,
/**
* STOP
*/
'STOP' = 1,
/**
* SCAN
*/
'SCAN' = 2,
/**
* SERVO TEST
*/
'SERVO_TEST' = 3,
/**
* GUIDED
*/
'GUIDED' = 4,
/**
* AUTO
*/
'AUTO' = 10,
/**
* INITIALISING
*/
'INITIALIZING' = 16
}
/**
* The type of parameter for the OSD parameter editor.
*/
export declare enum OsdParamConfigType {
'NONE' = 0,
'SERIAL_PROTOCOL' = 1,
'SERVO_FUNCTION' = 2,
'AUX_FUNCTION' = 3,
'FLIGHT_MODE' = 4,
'FAILSAFE_ACTION' = 5,
'FAILSAFE_ACTION_1' = 6,
'FAILSAFE_ACTION_2' = 7,
'NUM_TYPES' = 8
}
/**
* The error type for the OSD parameter editor.
*/
export declare enum OsdParamConfigError {
'SUCCESS' = 0,
'INVALID_SCREEN' = 1,
'INVALID_PARAMETER_INDEX' = 2,
'INVALID_PARAMETER' = 3
}
/**
* Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration
* process.
*
* @deprecated since 2022-02, replaced by MAG_CAL_REPORT, Accel Parameters, and Gyro Parameters
*/
export declare class SensorOffsets extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* Magnetometer X offset.
*/
magOfsX: int16_t;
/**
* Magnetometer Y offset.
*/
magOfsY: int16_t;
/**
* Magnetometer Z offset.
*/
magOfsZ: int16_t;
/**
* Magnetic declination.
* Units: rad
*/
magDeclination: float;
/**
* Raw pressure from barometer.
*/
rawPress: int32_t;
/**
* Raw temperature from barometer.
*/
rawTemp: int32_t;
/**
* Gyro X calibration.
*/
gyroCalX: float;
/**
* Gyro Y calibration.
*/
gyroCalY: float;
/**
* Gyro Z calibration.
*/
gyroCalZ: float;
/**
* Accel X calibration.
*/
accelCalX: float;
/**
* Accel Y calibration.
*/
accelCalY: float;
/**
* Accel Z calibration.
*/
accelCalZ: float;
}
/**
* Set the magnetometer offsets
*
* @deprecated since 2014-07, replaced by MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS
*/
export declare class SetMagOffsets extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Magnetometer X offset.
*/
magOfsX: int16_t;
/**
* Magnetometer Y offset.
*/
magOfsY: int16_t;
/**
* Magnetometer Z offset.
*/
magOfsZ: int16_t;
}
/**
* State of autopilot RAM.
*/
export declare class MemInfo extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* Heap top.
*/
brkval: uint16_t;
/**
* Free memory.
* Units: bytes
*/
freemem: uint16_t;
/**
* Free memory (32 bit).
* Units: bytes
*/
freemem32: uint32_t;
}
/**
* Raw ADC output.
*/
export declare class ApAdc extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* ADC output 1.
*/
adc1: uint16_t;
/**
* ADC output 2.
*/
adc2: uint16_t;
/**
* ADC output 3.
*/
adc3: uint16_t;
/**
* ADC output 4.
*/
adc4: uint16_t;
/**
* ADC output 5.
*/
adc5: uint16_t;
/**
* ADC output 6.
*/
adc6: uint16_t;
}
/**
* Configure on-board Camera Control System.
*/
export declare class DigicamConfigure extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Mode enumeration from 1 to N //P, TV, AV, M, etc. (0 means ignore).
*/
mode: uint8_t;
/**
* Divisor number //e.g. 1000 means 1/1000 (0 means ignore).
*/
shutterSpeed: uint16_t;
/**
* F stop number x 10 //e.g. 28 means 2.8 (0 means ignore).
*/
aperture: uint8_t;
/**
* ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore).
*/
iso: uint8_t;
/**
* Exposure type enumeration from 1 to N (0 means ignore).
*/
exposureType: uint8_t;
/**
* Command Identity (incremental loop: 0 to 255). //A command sent multiple times will be executed or
* pooled just once.
*/
commandId: uint8_t;
/**
* Main engine cut-off time before camera trigger (0 means no cut-off).
* Units: ds
*/
engineCutOff: uint8_t;
/**
* Extra parameters enumeration (0 means ignore).
*/
extraParam: uint8_t;
/**
* Correspondent value to given extra_param.
*/
extraValue: float;
}
/**
* Control on-board Camera Control System to take shots.
*/
export declare class DigicamControl extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* 0: stop, 1: start or keep it up //Session control e.g. show/hide lens.
*/
session: uint8_t;
/**
* 1 to N //Zoom's absolute position (0 means ignore).
*/
zoomPos: uint8_t;
/**
* -100 to 100 //Zooming step value to offset zoom from the current position.
*/
zoomStep: int8_t;
/**
* 0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus.
*/
focusLock: uint8_t;
/**
* 0: ignore, 1: shot or start filming.
*/
shot: uint8_t;
/**
* Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or
* pooled just once.
*/
commandId: uint8_t;
/**
* Extra parameters enumeration (0 means ignore).
*/
extraParam: uint8_t;
/**
* Correspondent value to given extra_param.
*/
extraValue: float;
}
/**
* Message to configure a camera mount, directional antenna, etc.
*/
export declare class MountConfigure extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Mount operating mode.
*/
mountMode: MavMountMode;
/**
* (1 = yes, 0 = no).
*/
stabRoll: uint8_t;
/**
* (1 = yes, 0 = no).
*/
stabPitch: uint8_t;
/**
* (1 = yes, 0 = no).
*/
stabYaw: uint8_t;
}
/**
* Message to control a camera mount, directional antenna, etc.
*/
export declare class MountControl extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Pitch (centi-degrees) or lat (degE7), depending on mount mode.
*/
inputA: int32_t;
/**
* Roll (centi-degrees) or lon (degE7) depending on mount mode.
*/
inputB: int32_t;
/**
* Yaw (centi-degrees) or alt (cm) depending on mount mode.
*/
inputC: int32_t;
/**
* If "1" it will save current trimmed position on EEPROM (just valid for NEUTRAL and LANDING).
*/
savePosition: uint8_t;
}
/**
* Message with some status from autopilot to GCS about camera or antenna mount.
*/
export declare class MountStatus extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Pitch.
* Units: cdeg
*/
pointingA: int32_t;
/**
* Roll.
* Units: cdeg
*/
pointingB: int32_t;
/**
* Yaw.
* Units: cdeg
*/
pointingC: int32_t;
/**
* Mount operating mode.
*/
mountMode: MavMountMode;
}
/**
* A fence point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV ->
* GCS.
*/
export declare class FencePoint extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Point index (first point is 1, 0 is for return point).
*/
idx: uint8_t;
/**
* Total number of points (for sanity checking).
*/
count: uint8_t;
/**
* Latitude of point.
* Units: deg
*/
lat: float;
/**
* Longitude of point.
* Units: deg
*/
lng: float;
}
/**
* Request a current fence point from MAV.
*/
export declare class FenceFetchPoint extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* System ID.
*/
targetSystem: uint8_t;
/**
* Component ID.
*/
targetComponent: uint8_t;
/**
* Point index (first point is 1, 0 is for return point).
*/
idx: uint8_t;
}
/**
* Status of DCM attitude estimator.
*/
export declare class Ahrs extends MavLinkData {
static MSG_ID: number;
static MSG_NAME: string;
static PAYLOAD_LENGTH: number;
static MAGIC_NUMBER: number;
static FIELDS: MavLinkPacketField[];
constructor();
/**
* X gyro drift estimate.
* Units: rad/s
*/
omegaIx: float;
/**
* Y gyro drift estimate.
* Units: rad/s
*/
omegaIy: float;
/**
* Z gyro drift