Home›All functions›Navigation data
Navigation data
Simulation Instrument Studio 1
nav_get
Simulation Instrument Studio 1
Definition
nav_get(nav_type, nav_property, value)
Remarks
Get details of a NAV item.
Parameters
| Name | Description |
nav_type | Value type: FLOAT, INT, DOUBLE, or an array type such as FLOAT[8]. |
nav_property | Top position in instrument pixels. |
value | The value to write. |
Example
No sample instrument calls this yet.
nav_get(nav_type, nav_property, value)
Photo slot: shots/nav_get.png
nav_get_nearest
Simulation Instrument Studio 1
Definition
nav_get_nearest(nav_type, lat, lon, max_entries)
Remarks
Get the nearest NAV items from a certain latitude and longitude.
Parameters
| Name | Description |
nav_type | Value type: FLOAT, INT, DOUBLE, or an array type such as FLOAT[8]. |
lat | Latitude, in degrees. |
lon | Longitude, in degrees. |
max_entries | Left position in instrument pixels. |
Example
No sample instrument calls this yet.
nav_get_nearest(nav_type, lat, lon, max_entries)
Photo slot: shots/nav_get_nearest.png
nav_get_radius
Simulation Instrument Studio 1
Definition
nav_get_radius(nav_type, lat, lon, distance, max_entries)
Remarks
Get the NAV items within a radius around a certain latitude and longitude.
Parameters
| Name | Description |
nav_type | Value type: FLOAT, INT, DOUBLE, or an array type such as FLOAT[8]. |
lat | Latitude, in degrees. |
lon | Longitude, in degrees. |
distance | Search radius, in nautical miles. |
max_entries | Left position in instrument pixels. |
Example
No sample instrument calls this yet.
nav_get_radius(nav_type, lat, lon, distance, max_entries)
Photo slot: shots/nav_get_radius.png
nav_calc_distance
Simulation Instrument Studio 1
Definition
distance = nav_calc_distance(distance_type, lat1, lon1, lat2, lon2)
Remarks
Get the distance between two coordinates.
Example
No sample instrument calls this yet.
nav_calc_distance()
Photo slot: shots/nav_calc_distance.png
nav_calc_bearing
Simulation Instrument Studio 1
Definition
bearing = nav_calc_bearing(bearing_type, lat1, lon1, lat2, lon2)
Remarks
Get the bearing from the first coordinate to the second coordinate.
Example
No sample instrument calls this yet.
nav_calc_bearing()
Photo slot: shots/nav_calc_bearing.png