LANDING_TARGET Message
The location of a landing target. See the service spec: Landing Target.
Message ID: 149
Dialect: common
MAVLink 2 extensions: Fields after the extension marker require MAVLink 2.
Fields
| Field | Type | Units | Enum | Description | Default | Extension |
|---|---|---|---|---|---|---|
time_usec | uint64_t | us | — | Timestamp (UNIX epoch time or time since system boot). The receiver can infer the format (since 1.1.1970 or since boot) by the magnitude. | — | No |
target_num | uint8_t | — | — | ID of the target if multiple targets are present. | — | No |
frame | uint8_t | — | MAV_FRAME | Coordinate frame used for following fields. | — | No |
angle_x | float | rad | — | X-axis angular offset of the target from the center of the image. | — | No |
angle_y | float | rad | — | Y-axis angular offset of the target from the center of the image. | — | No |
distance | float | m | — | Distance to the target from the vehicle. | — | No |
size_x | float | rad | — | Size of target along x-axis. | — | No |
size_y | float | rad | — | Size of target along y-axis. | — | No |
x | float | m | — | X position of the landing target in MAV_FRAME. | — | Yes |
y | float | m | — | Y position of the landing target in MAV_FRAME. | — | Yes |
z | float | m | — | Z position of the landing target in MAV_FRAME. | — | Yes |
q | float[4] | — | — | Quaternion of landing target orientation in order (w, x, y, z). Zero-rotation is 1, 0, 0, 0. | — | Yes |
type | uint8_t | — | LANDING_TARGET_TYPE | Type of landing target. | — | Yes |
position_valid | uint8_t | — | MAV_BOOL | Position fields (x, y, z, q, type) contain valid target position information (MAV_BOOL_FALSE: invalid). Values not equal to 0 or 1 are invalid. | 0 | Yes |