SightLine Applications Command, Control, and Script API  v3.5
List of all members
SLALandingPosition_t Struct Reference

Description

Periodic report of landing aid location, orientation, distance and match score.

typedef struct {
u8 cameraIndex;
s16 col;
s16 row;
u16 angleDeg7;
u32 distance16;
u8 confidence;
u16 camHFovDeg8;
s16 capWide;
s16 capHigh;
u16 ctrlParam0;
u16 ctrlParam1;
u16 ctrlParam2;
u16 ctrlParam3;
u8 keepOutState;
u8 keepOutConfidence;
u16 keepOutSz;
u32 keepOutDist16;
u64 timeStamp;
u32 frameId;

The position and angle are reported in camera source (unstabilized) pixel coordinates.

The confidence score indicates system confidence between 0 (low) and 100 (high). The distance to target units match those specified for black and white target size in SLASetLandingAid_t.
The interval at which Landing Position is reported is controlled by SLACoordinateReportingMode_t.
For reporting to multiple destinations see SLASetTelemetryDestination_t.
NOTE: Telemetry output is not available in Demo Mode.

See SLALandingAid_t for configuration.

LandingAid2x4x2small.png
Landing Aid Image

Message ID 0x83

Byte Offset Name Description
4cameraIndexCamera Index
5-6colCenter of landing aid column in camera source coordinates
7-8rowCenter of landing aid row in camera source coordinates
9-10angleDeg7Landing aid angle (counter clockwise) in the source image (0..360 degrees) * 128
11-14distance16Distance to landing aid target * 65536 (units match those for the target size specified SLALandingAid_t)
15confidenceLanding aid match confidence (0..100)
16-17camHFovDeg8Camera horizontal field of view in degrees * 256 (default 30*256 → 30 degrees), 0 = no change
18-19capWideCapture image width in pixels
20-21capHighCapture image height in pixels
22-23ctrlParam0Control parameter 0, range is 0 to 65535 – final scaling and use is left up to the end user
24-25ctrlParam1Control parameter 1, range is 0 to 65535 – final scaling and use is left up to the end user
26-27ctrlParam2Control parameter 2, range is 0 to 65535 – final scaling and use is left up to the end user
28-29ctrlParam3Control parameter 3, range is 0 to 65535 – final scaling and use is left up to the end user
30keepOutStateKeep Out State
Bit Description
0-6 Reserved
7 1 = detected, 0 = not detected
31keepOutConfidenceKeep Out Confidence (0..100) – confidence of the detection within the keep out zone
32-33keepOutSzKeep Out Size – size of the detected object in pixels
34-37keepOutDist16Keep Out Detect Distance * 65536 – distance from center of landing pattern to the detection in units that match those for the target size specification in SLALandingAid_t
38-45timeStampTimestamp, if auxiliary telemetry is enabled – see SLACoordinateReportingMode_t
46-49frameIdFrame ID, if auxiliary telemetry is enabled – see SLACoordinateReportingMode_t