CameraImageCaptured class

Information about a captured image. This is emitted every time a message is captured. MAV_CMD_REQUEST_MESSAGE can be used to (re)request this message for a specific sequence number or range of sequence numbers: MAV_CMD_REQUEST_MESSAGE.param2 indicates the sequence number the first image to send, or set to -1 to send the message for all sequence numbers. MAV_CMD_REQUEST_MESSAGE.param3 is used to specify a range of messages to send: set to 0 (default) to send just the the message for the sequence number in param 2, set to -1 to send the message for the sequence number in param 2 and all the following sequence numbers, set to the sequence number of the final message in the range.

CAMERA_IMAGE_CAPTURED

Implemented types

Constructors

CameraImageCaptured({required uint64_t timeUtc, required uint32_t timeBootMs, required int32_t lat, required int32_t lon, required int32_t alt, required int32_t relativeAlt, required List<float> q, required int32_t imageIndex, required uint8_t cameraId, required int8_t captureResult, required List<char> fileUrl})
CameraImageCaptured.parse(ByteData data_)
factory

Properties

alt int32_t
Altitude (MSL) where image was taken
final
cameraId uint8_t
Deprecated/unused. Component IDs are used to differentiate multiple cameras.
final
captureResult int8_t
Boolean indicating success (1) or failure (0) while capturing this image.
final
fileUrl List<char>
URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface.
final
hashCode int
The hash code for this object.
no setterinherited
imageIndex int32_t
Zero based index of this image (i.e. a new image will have index CAMERA_CAPTURE_STATUS.image count -1)
final
lat int32_t
Latitude where image was taken
final
lon int32_t
Longitude where capture was taken
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
q List<float>
Quaternion of camera orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0)
final
relativeAlt int32_t
Altitude above ground
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since system boot).
final
timeUtc uint64_t
Timestamp (time since UNIX epoch) in UTC. 0 for unknown.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int