zkv1000 / README.md /
Newer Older
373 lines | 22.803kb
commit initial
Sébastien MARQUE authored on 2017-03-07
1
[0%]:   https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Progress_00.svg/80px-Progress_00.svg.png "00%"
2
[10%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Progress_10.svg/80px-Progress_10.svg.png "10%"
3
[20%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Progress_20.svg/80px-Progress_20.svg.png "20%"
4
[30%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Progress_30.svg/80px-Progress_30.svg.png "30%"
5
[40%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Progress_40.svg/80px-Progress_40.svg.png "40%"
6
[50%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Progress_50.svg/80px-Progress_50.svg.png "50%"
7
[60%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Progress_60.svg/80px-Progress_60.svg.png "60%"
8
[70%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Progress_70.svg/80px-Progress_70.svg.png "70%"
9
[80%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Progress_80.svg/80px-Progress_80.svg.png "80%"
10
[90%]:  https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Progress_90.svg/80px-Progress_90.svg.png "90%"
11
[100%]: https://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Progress_100.svg/80px-Progress_100.svg.png "100%"
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
12
[abandonned]: https://wiki.flightgear.org/images/thumb/3/30/Cross_32px.png/16px-Cross_32px.png         "abandonné"
13
[done]:       https://wiki.flightgear.org/images/thumb/7/75/Tick_32px.png/16px-Tick_32px.png           "fait"
14
[ongoing]:    https://wiki.flightgear.org/images/thumb/3/37/Ongoing.png/16px-Ongoing.png               "en cours"
15
[pending]:    https://wiki.flightgear.org/images/thumb/8/8d/Hourglass_32px.png/16px-Hourglass_32px.png "en attente"
16
[fixed]:      https://wiki.flightgear.org/images/thumb/8/85/WIP.png/26px-WIP.png                       "réparé"
17
[paused]:     https://wiki.flightgear.org/images/thumb/d/dc/Paused.png/16px-Paused.png                 "en pause"
add bug icon in README.md
Sébastien MARQUE authored on 2017-03-23
18
[green-bug]:  https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/Green_bug.svg/32px-Green_bug.svg.png "non blocking bug"
19
[red-bug]:    https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Red_bug.svg/32px-Red_bug.svg.png "blocking bug"
uses named icon for warning
Sébastien MARQUE authored on 2017-04-20
20
[warning]:    https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Achtung-orange.svg/32px-Achtung-orange.svg.png "warning symbol"
commit initial
Sébastien MARQUE authored on 2017-03-07
21

            
refresh project webpage
Sébastien MARQUE authored on 2020-05-11
22
![ZKV1000 in Diamond DA42, in flight from LFLG to LFBD](https://seb.lautre.net/bozon/index.php?f=15eb94e0c0e1d1)ZKV1000 in Diamond DA42, in flight from LFLG to LFBD, running STEC55X autopilot HDG roll mode.
fix URL
Sébastien MARQUE authored on 2018-11-21
23
[other pictures available here](https://seb.lautre.net/bozon/index.php?f=158cf95340742d)
update README before merging
Sébastien MARQUE authored on 2017-03-20
24

            
25
# Thanks
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
26
Thanks to [www2](https://forum.flightgear.org/viewtopic.php?f=14&t=25291) the modeller of the [GDU104X project "Farmin/G1000"](https://wiki.flightgear.org/Project_Farmin/FG1000) I can continue the work began many years ago with a nicer (and working) 3D model instrument. Thanks to him/her for the SVG basis file too.  
update README before merging
Sébastien MARQUE authored on 2017-03-20
27
Thanks to Hooray's nice efforts, and some examples ans snipsets of code here and there from the Canvas team.  
adds route display on map
Sébastien MARQUE authored on 2017-05-11
28
Thanks to all FlightGear community for the funny project I let too many years off side... Especially to authors of Avidyne Entegra 9 on extra500, from which the map is largely inspired (and many lines of code copied and adapted): Dirk Dittmann and Eric van den Berg 
update README before merging
Sébastien MARQUE authored on 2017-03-20
29

            
30
# Origin
31
The first ZKV1000, which was completly XML animated, was completly abandonned. Moreover the Nasal code became unmaintanable from my point of view. Not sure this one is better, but I think
32
it is at least more modulable.
33

            
34
The origin is to simulate a Garmin Primus 1000, as near as possible of the [documentation found](# documentation).
35

            
36
But as we are in a simulation, the zkv1000 is **definitly not** a replica of the well-known G1000, as it takes the liberty to be integrated with some features that doesn't exit in
37
the real device, as well as some real features aren't scheduled to be implemented. But, it should be easy to add or remove features in order to get the real device. 
38
This is GPL-2 license though :)
39

            
40
# Objectives
41
There is no intention to provide a fully qualified G1000 in order to train or so, but this should be possible to be done from the zkv1000.
42

            
43
I'm particulary looking at these points:
44

            
45
1.  easy to implement new features
46
1.  optimized code (from my non-dev point of view...)
47
1.  easy to integrate in every cockpit with only few lines, and with easy use for the pilot
update progress
Sébastien MARQUE authored on 2023-08-06
48
1.  near from the G1000 documentation but with some neat features added, and some unrelevant features in a sim removed (from my time-to-time sim-user)
update README before merging
Sébastien MARQUE authored on 2017-03-20
49

            
50
# Progress
51
Note: this is not because the progress bar show 100% that it means it is 100% bug free :)
new email address (2)
Sébastien MARQUE authored on 2017-12-21
52
Please report bug at <zkv1000@seb.lautre.net>.
update README before merging
Sébastien MARQUE authored on 2017-03-20
53

            
54
* ![][100%]
README refresh (3)
Sébastien MARQUE authored on 2020-06-19
55
  * The whole 3D model is animated, with necessary popups (in order to separate nested knobs for example), and adaptable to the size of the panel.
56
  * The basic fligth instrumentation is here (AI, speeds, altitude and vertical speed, etc.), plus many other helpers and information (often displayed in widgets or alerts). Also the radio stack (NAV and COMM) tools are implemented. ADF is available for bearing.
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
57
  * The official autopilot [GFC700 from the official Stuart Buchanan's FG1000](https://wiki.flightgear.org/FG1000#GFC700_Autopilot) is available and usable.
README refresh (3)
Sébastien MARQUE authored on 2020-06-19
58
  * Screens are fully animated, with softkeys and menus, on map (PFD inset and MFD) background is configurable with the preferred one, navaids and [route](https://seb.lautre.net/git/seb/zkv1000/issues/6) are displayed. Traffic and topography layers are available for display only on MFD screen (not in PFD inset as the window is too small).
59
  * There is also per-aircraft settings storage for preferred units (speed, distance, etc.).
60
  * Flightplan management is delegated to the more usable FG interface lauched from inside the zkv100, but it is possible to use DirectTo on selected navaid, and OBS mode with GPS.
adds alerting system
Sébastien MARQUE authored on 2020-07-09
61
  * Checklists are managed, including separation between emergency and normal checklists (and aircraft agnostic, should be compatible with most systems). Moreover a alerting system allow to show specific alerts for your aircraft, just register a new alert check and PFDs will warn the pilot about.
update progress
Sébastien MARQUE authored on 2023-08-06
62
  * multikey for every part of the device (actually only power on)
63
  * make possible to integrate other autopilot systems than the one integrated
README refresh (3)
Sébastien MARQUE authored on 2020-06-19
64
  * ... and many more ! :)
update README before merging
Sébastien MARQUE authored on 2017-03-20
65
* ![][90%]
adds GPS OBS mode
Sébastien MARQUE authored on 2020-05-30
66
  * route displayed on map: legs ![][done], current and next leg ![][done], OBS ![][done], TOC/TOD ![][ongoing]
update README before merging
Sébastien MARQUE authored on 2017-03-20
67
  * XPDR: emergency code depending of the country (eg.: 1200 for US, 7700 for Europe), should be set in settings
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
68
  * integration of Octal450's [S-TEC 55X](https://wiki.flightgear.org/S-TEC_55X) autopilot system[][ongoing]
update README before merging
Sébastien MARQUE authored on 2017-03-20
69
* ![][80%]
adds flight plan catalog loa...
Sébastien MARQUE authored on 2020-06-08
70
  * Flight plans catalog (display on map doesn't work each time...)
adds alerting system
Sébastien MARQUE authored on 2020-07-09
71
  * Alerts: voice description of the alert ![][ongoing]
update README before merging
Sébastien MARQUE authored on 2017-03-20
72
* ![][60%]
configurable display size, v...
Sébastien MARQUE authored on 2017-04-15
73
  * NOT TESTED: add the posssibility to only use Nasal part of the instrument. This in case of a cockpit which already includes needed objects and animations for screens, knobs and buttons in its config files
update README before merging
Sébastien MARQUE authored on 2017-03-20
74
* ![][50%]
refresh README
Sébastien MARQUE authored on 2020-05-17
75
  * EIS: animations for temperature for YaSim and JSBSim with provided default single-prop EIS
76
  * make the switch back on working for MFD display and radios ![][ongoing]
update README before merging
Sébastien MARQUE authored on 2017-03-20
77
* ![][10%]
README refresh
Sébastien MARQUE authored on 2020-06-19
78
  * Aircraft Maintainer's Guide ![][ongoing]
79
  * User's Guide ![][ongoing]
update README before merging
Sébastien MARQUE authored on 2017-03-20
80
* ![][0%] (TODO list, unsorted)
update README
Sébastien MARQUE authored on 2017-05-02
81
  * make booting animation visible
makes the CDI available
Sébastien MARQUE authored on 2017-03-23
82
  * CDI/GPS: scale depending of the flight phase
PFD INSET map available
Sébastien MARQUE authored on 2017-04-19
83
  * Weather map
navaids displayed with corre...
Sébastien MARQUE authored on 2017-04-18
84
  * replace the use of `clip` by a better system in map display (think also about INSET)
adds BARO settings
Sébastien MARQUE authored on 2017-03-20
85
  * VS guidance
86
  * VNAV
TMR/REF available
Sébastien MARQUE authored on 2017-04-10
87
  * scrolling lift in menus
update README before merging
Sébastien MARQUE authored on 2017-03-20
88
  * tutorials
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
89
  * [touchable screen](https://wiki.flightgear.org/Canvas_Event_Handling) ([other interesting link](https://wiki.flightgear.org/Touch_Animation))
update README before merging
Sébastien MARQUE authored on 2017-03-20
90
  * many more...
commit initial
Sébastien MARQUE authored on 2017-03-07
91

            
improve README
Sébastien MARQUE authored on 2017-03-20
92
# Installation
fix URL
Sébastien MARQUE authored on 2018-11-21
93
Just `git clone https://seb.lautre.net/git/seb/zkv1000.git` in your favorite `Instrumentation-3d` dir or directly in your aircraft files structure.  
allows zkv1000 to be install...
Sébastien MARQUE authored on 2017-05-11
94
Please note that the `Instruments-3d` dir is recommended as the zkv1000 wants to integrate the official `$FGDATA/Aircraft/Instruments-3d` some days  
improves README
Sébastien MARQUE authored on 2017-04-19
95
Then somewhere in the XML configuration of your aircraft, put only few lines as described below
improve README
Sébastien MARQUE authored on 2017-03-20
96
## Create the `zkv1000` Nasal namespace
allows zkv1000 to be install...
Sébastien MARQUE authored on 2017-05-11
97
In the `<nasal>` place of your aircraft configuration, tell FlightGear where to find the `zkv1000.nas` file
improve README
Sébastien MARQUE authored on 2017-03-20
98

            
99
        <zkv1000>
100
            <file>Aircraft/Instruments-3d/zkv1000/zkv1000.nas</file>
101
        </zkv1000>
102

            
allows zkv1000 to be install...
Sébastien MARQUE authored on 2017-05-11
103
or
104

            
105
        <zkv1000>
106
            <file>Aircraft/My-Nice-Aircraft/arbitrary/dirs/zkv1000-or-not/zkv1000.nas</file>
107
        </zkv1000>
108

            
109
Actually `zkv1000.nas` is where everything begins, please have a look at this code, it would help you to follow the script.
improve README
Sébastien MARQUE authored on 2017-03-20
110

            
add V-speeds bugs
Sébastien MARQUE authored on 2017-04-04
111
## Set specific values for your aircraft
112
Specifics values for aircraft can be set via the aircraft configuration, in the `<instrumentation>` section, just add a section `<zkv1000>` and set here the needed values.
113

            
refresh project webpage
Sébastien MARQUE authored on 2020-05-11
114
### Adjust size to  the panel of your aircraft
115
To increase or decrease the size of all the devices (PFDs and MFDs) you can use a factor property, eg. in the DA42:
116

            
117
        <size-factor type="double">1.19</size-factor>
118

            
119
Defaults to 1 if you don't provide this information. Values lower than 1 decreaase size, and higher than 1 increase the size.
120

            
121
### Make your instrument auto powered on
122
Let say you want your PFD and MFD switched on as soon as the electrical system allows it. Set your device with the following
123

            
124
        <auto-power type="bool">1</auto-power>
125

            
126
Then you need to set the property `/instrumentation/zkv1000/serviceable` by the mean you want, as soon as it property is `true` the zkv1000 will automagically switch on.
127

            
add V-speeds bugs
Sébastien MARQUE authored on 2017-04-04
128
### Vspeeds
README refresh (2)
Sébastien MARQUE authored on 2020-06-19
129
To see the Vspeeds bugs or the IAS background color change (Vne), set the corresponding V-speeds <b>in knots</b> by adding them in your `<instrumentation><zkv1000><alerts>` section the following lines (here an example ![][warning] values are not to be used in real life).
README refresh
Sébastien MARQUE authored on 2020-06-19
130
If not set, Vne defaults to 999 knots
add V-speeds bugs
Sébastien MARQUE authored on 2017-04-04
131

            
132
        <alerts>
133
          <Vx>99</Vx>
134
          <Vy>110</Vy>
135
          <Vr>65</Vr>
136
          <Vglide>80</Vglide>
add Vne Vspeed specific to a...
Sébastien MARQUE authored on 2017-04-04
137
          <Vne>170</Vne>
add V-speeds bugs
Sébastien MARQUE authored on 2017-04-04
138
        </alerts>
139

            
README refresh
Sébastien MARQUE authored on 2020-06-19
140
You can define as many Vspeed you need, with arbitrary names, they only need to be named `Vfoo` (name must begin by a uppercase V) to be recognize as a Vspeed.
README refresh (2)
Sébastien MARQUE authored on 2020-06-19
141

            
142
All defined Vspeeds (except Vne) can be adjusted from inside the zkv1000.
README refresh
Sébastien MARQUE authored on 2020-06-19
143

            
EIS can be aircraft specific
Sébastien MARQUE authored on 2017-04-04
144
### EIS
EIS now really specific to a...
Sébastien MARQUE authored on 2017-04-20
145
This parameter tells the zkv1000 which kind of engines equips your aircraft, and the associated EIS.  
146
The Nasal script should include at least three things:
147

            
148
* a method called `displayClass.showEIS` in which you initialize the EIS, especially by selecting the shown, hide, clipped and texts elements
149
* a method called `displayClass.updateEIS` which is used to update the EIS display, it includes its own timer to refresh itself
150
* a SVG object with ID `EIS` (generally the background of the EIS display).  
151
  It should appears in the lists in `displayClass.showEIS`.  
152
  ![][warning] This object is used to compute the map width, so it is important to set it on the left of the screen
153

            
154
There are three ways too put an EIS in MFD:
155

            
156
#### use one of the included simple EIS provided with the zkv1000
EIS can be aircraft specific
Sébastien MARQUE authored on 2017-04-04
157

            
158
        <eis>
README updated
Sébastien MARQUE authored on 2017-04-09
159
          <type>single-prop</type>
EIS can be aircraft specific
Sébastien MARQUE authored on 2017-04-04
160
        </eis>
161

            
EIS now really specific to a...
Sébastien MARQUE authored on 2017-04-20
162
Defaults to `none`, available entries are the `.nas` files located in `Nasal/EIS/` directory.
163

            
164
#### or use the one you specially have created for your aircraft
165

            
166
        <eis>
167
          <file>Aircraft/My-Nice-Aircraft/Nasal/EIS.nas</file>
168
        </eis>
169

            
update README
Sébastien MARQUE authored on 2017-05-02
170
or the one from another aircraft. Anyway if the EIS nasal file targeted doesn't exist, the fallback is the type `none`.
EIS now really specific to a...
Sébastien MARQUE authored on 2017-04-20
171

            
allows zkv1000 to be install...
Sébastien MARQUE authored on 2017-05-11
172
#### or you can give the absolute path (![][warning] not supported)
EIS now really specific to a...
Sébastien MARQUE authored on 2017-04-20
173

            
174
        </eis>
175
          <file>/home/foobar/fgfs-data/Nasal/testing-jet-jsbsim-EIS.nas</file>
176
        </eis>
177

            
178
Be aware that `canvas.parsesvg` uses only relative path and should not work properly if your .nas is outside of the FG tree.  
relocate SVG files in Models...
Sébastien MARQUE authored on 2017-12-31
179
If you want to add your own EIS, just copy the `Models/EIS/single-prop.svg`, modify it to fit your needs, and refer to it in a function named `displayClass.showEIS`, another very important function is `displayClass.updateEIS` (example in [Nasal/EIS/single-prop.nas](zkv1000/blob/master/Nasal/EIS/single-prop.nas))  
EIS now really specific to a...
Sébastien MARQUE authored on 2017-04-20
180
You are even free to modify the softkeys map in order to get according menus, but this has to be described on another document (check [Nasal/softkeys.nas](zkv1000/master/blob/Nasal/softkeys.nas)).
181

            
182
No matter of the EIS width, as the map size and center are computed relative to the EIS width automatically.  
183

            
184
_Notes:_
improves README
Sébastien MARQUE authored on 2017-04-19
185

            
EIS now really specific to a...
Sébastien MARQUE authored on 2017-04-20
186
  1. you can use `<file>` or `<type>` indifferently, they are actually identical.
187
  1. later on the MFD Engine pages will be managed by the file specified in this section
EIS can be aircraft specific
Sébastien MARQUE authored on 2017-04-04
188

            
adds AOA display
Sébastien MARQUE authored on 2017-04-15
189
### Angle Of Attack (AOA)
190
You can specify the stall AoA in order to display it in the dedicated display.
191

            
192
        <alerts>
193
          <stall-aoa>15</stall-aoa>
nicer AOA display
Sébastien MARQUE authored on 2017-04-16
194
          <approach-aoa>4</approach-aoa>
adds AOA display
Sébastien MARQUE authored on 2017-04-15
195
        </alerts>
196

            
improves README
Sébastien MARQUE authored on 2017-04-19
197
* Values are in degrees.
198
* If `<stall-aoa>` is not specified or equals to `0` (zero) the AOA display won't be accessible.
199
* The `<approach-aoa>` is optionnal, if present a blue marker is visible on AOA display (not in real GarminP1000)
adds AOA display
Sébastien MARQUE authored on 2017-04-15
200

            
adds flight plan catalog loa...
Sébastien MARQUE authored on 2020-06-08
201
### Flight plans catalog
202
You can specify a directory where to find the flightplans you save. Defaults to `$FG_HOME/Export`
203

            
204
        <flightplans type="string">/absolute/path/to/your/flightplans/location</flightplans>
205

            
206
Only the flightplans set for a departure from your position will be shown, no matter of the name of the file (even extension), each will be parsed to find the ones corresponding to your departure location.
207
The list will show only 6 flightplans, but it's scrollable so you can handle much more.
208

            
adds alerting system
Sébastien MARQUE authored on 2020-07-09
209
### Alerting system
210
You can set some alerts of your choice. Note that there are 3 levels:
211

            
212
* `0`: INFO
213
* `1`: WARNING
214
* `2`: ALERT
215

            
216
Alerts are identified by the displayed message, so you can't provide two alerts with the same alert message. The higher level is shown first in list displayed on PFD (press `ALERT` softkey), all levels should be integers at least if less than 2. The tests are executed each second.
217

            
218
To come: a voice alert if needed and configured (but I'm facing issue of multiple alerts at the same time, temporisation is ongoing).
219

            
220
To register your alerts you have two ways:
221
#### set the alerts in `/instrumentation/zkv1000/alerts/warnings`
222
This way they are registered at start
223

            
224
        <warnings>
225
          <warning>
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
226
            <_script><![CDATA[
adds alerting system
Sébastien MARQUE authored on 2020-07-09
227
              getprop('/foo/bar/baz/value') and getprop('/foo/bar/baz/value[1]') > 5;
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
228
            ]]></_script>
adds alerting system
Sébastien MARQUE authored on 2020-07-09
229
            <message>TEST 1</message>
230
            <!-- <speaker/> TO USE THE MESSAGE AS VOICE -->
231
            <level>0</level>
232
          </warning>
233
          <warning>
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
234
            <_script><![CDATA[
adds alerting system
Sébastien MARQUE authored on 2020-07-09
235
              getprop('/foo/bar/baz/value[3]') == 'foobar' or getprop('/foo/bar/baz/value[2]') < 10;
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
236
            ]]></_script>
adds alerting system
Sébastien MARQUE authored on 2020-07-09
237
            <message>TEST 2</message>
238
            <level>1</level>
239
            <!-- <speaker>this is only for testing</speaker> TO USE A SPECIFIC VOICE MESSAGE -->
240
          </warning>
241
          <warning>
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
242
            <_script><![CDATA[
adds alerting system
Sébastien MARQUE authored on 2020-07-09
243
              return getprop('/foo/bar/baz/value[4]') == 5 or getprop('/foo/bar/baz/value[5]');
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
244
            ]]></_script>
adds alerting system
Sébastien MARQUE authored on 2020-07-09
245
            <message>TEST 3</message>
246
            <level>2</level>
247
          </warning>
248
        </warnings>
fix display of special <scri...
Sébastien MARQUE authored on 2020-07-22
249
        
250
Please note that I intentionnaly broke the `script` XML element because of my Markdown Heodown limitations
adds alerting system
Sébastien MARQUE authored on 2020-07-09
251

            
252
#### or use the integrated API
253
Actually not yet tested, but you can register new alerts somewhere in your Nasal code with the following:
254

            
255
        zkv1000.annunciations.register(props.globals.new({
256
            message: "a message",
257
            level: 20,
258
            script: "if (something) return 1; else return 0;"
259
        }));
260

            
261
It also exists a `zkv1000.annunciations.del(message)` to delete a warning from the register list, so it won't be tested anymore.
262

            
improve README
Sébastien MARQUE authored on 2017-03-20
263
## 3D models
264
In the definition of your flightdeck (here are the values for the installation in the Lancair 235 in which I develop the device)
allows zkv1000 to be install...
Sébastien MARQUE authored on 2017-05-11
265
put it everywhere you want to. Note that the path `Aircraft/Instruments-3d/zkv1000` is dependant on the path where the zkv1000 is installed, this can be somewhere like `Aircraft/My-Nice-Aircraft/arbitrary/dirs/zkv1000-or-not`as mentionned earlier in this section.
improve README
Sébastien MARQUE authored on 2017-03-20
266

            
267
        <model>
adds the avaibility to have ...
Sébastien MARQUE authored on 2017-04-07
268
            <path>Aircraft/Instruments-3d/zkv1000/pfd-pilot.xml</path>
improve README
Sébastien MARQUE authored on 2017-03-20
269
            <offsets>
270
                <x-m> -0.023 </x-m>
271
                <y-m> -0.235 </y-m>
272
                <z-m> -0.028 </z-m>
273
            </offsets>
274
        </model>
275
        <model>
276
            <path>Aircraft/Instruments-3d/zkv1000/mfd.xml</path>
277
            <offsets>
278
                <x-m>  0.03  </x-m>
279
                <y-m>  0.06  </y-m>
280
                <z-m> -0.028 </z-m>
281
                <heading-deg> -15 </heading-deg>
282
            </offsets>
283
        </model>
284

            
adds the avaibility to have ...
Sébastien MARQUE authored on 2017-04-07
285
You can put as many devices as wanted, but generally they are two (PFD+MFD) or three (2 PFD+ 1 PFD), can be only one which is useful when you just want the PFD or the MFD in your cockpit.
286
The device are identified by a name, which should be unique unless they won't be independant.
287
This name is set by one of the property in the XML model file (`instrumentation/zkv1000/<NAME>/status`), which is a property telling if the device is switched off or not (or in reversionnary mode, later).
288
Actually there are only two "types of display": MFD or PFD, which is known by the first 3 letters of the name (case sensitive!)
289
Other devices as keyboard or non-display can also exists, as long as they don't have a `status` property...
290
Not sur I'm clear on this point though :)
add some information in READ...
Sébastien MARQUE authored on 2017-03-28
291

            
refresh project webpage
Sébastien MARQUE authored on 2020-05-11
292
## Autopilot
refresh README
Sébastien MARQUE authored on 2020-05-17
293
There are two systems supported: the GFC700 shipped with the official Stuart Buchanan's FG1000 and the Octal450's STEC 55X (and at time of writing only HDG and buggy NAV/GPS modes are available).
294

            
295
### GFC700
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
296
To make the magic operate, you just need to insert these lines into the `sim/systems` section. Be aware that this autopilot [has been tuned for the Cessna 182, so may not be correct for light jets](https://wiki.flightgear.org/FG1000#Include_the_GFC700_autopilot_.28optional.29).
refresh README
Sébastien MARQUE authored on 2020-05-17
297

            
298
        <autopilot>
299
          <path>Aircraft/Instruments-3d/FG1000/GFC700.xml</path>
300
        </autopilot>
refresh project webpage
Sébastien MARQUE authored on 2020-05-11
301

            
refresh README
Sébastien MARQUE authored on 2020-05-17
302
### S-TEC 55X
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
303
To make it available you have to follow the installation rules of the device [on its own page](https://wiki.flightgear.org/S-TEC_55X). The zkv1000 will find it by its own and make it available.
refresh project webpage
Sébastien MARQUE authored on 2020-05-11
304

            
305
This STEC55X autopilot system would remain shipped in the zkv1000 as it is described in the documentation of Cirrus Perspective SR2x, but the zkv1000 will in near future let you create your own and make its choice depending of the availibilities or property set.
306

            
improves README
Sébastien MARQUE authored on 2017-04-19
307
## Map tiles origin
308
By defaults the maps tiles come from `https://maps.wikimedia.org`, type `osm-intl` (please read [https://www.wikimedia.org/wiki/Maps]()), but you can choose your favorite one if you've got one. I've tested `opentopomap.org` and `thunderforest.com` (my favourite).
309
You can tell the zkv1000 the tile server, type and eventually apikey by using `--prop:` option while starting FlightGear session:
310

            
311
In case of apikey (or whatever added at the en of the URL):
312

            
313
        --prop:/sim/online-tiles-server=tile.thunderforest.com
314
        --prop:/sim/online-tiles-type=landscape
315
        --prop:/sim/online-tiles-apikey=?apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
316

            
317
or if there is no type, just use type `/`:
318

            
319
        --prop:/sim/online-tiles-server=a.tile.opentopomap.org
320
        --prop:/sim/online-tiles-type=/
321

            
add options for online tiles
Sébastien MARQUE authored on 2017-05-14
322
The only used protocol is `https` but you can provide your own template with option
323

            
324
        --prop:/sim/online-tiles-template=http://{server}/{type}/{z}/{x}/{y}.jpeg
325

            
326
An option is also available to tell the format of the tile image which can be used in template with the `{format}` anchor
327

            
328
        --prop:/sim/online-tiles-format=jpeg
improves README
Sébastien MARQUE authored on 2017-04-19
329

            
improve README
Sébastien MARQUE authored on 2017-03-20
330
## Switch it up
refresh README
Sébastien MARQUE authored on 2020-05-17
331
### Autopower on/off
332
You can set an electrical system to make the property `/instrumentation/zkv1000/serviceable` reflect the alimentation of the ZKV1000 (boolean or volts > 12). Then configure the zkv1000 to auto power on as soon as it is known as serviceable withe the following
333

            
334
        <instrumentation>
335
          <zkv1000>
336
            <auto-power type="bool">1</auto-power>
337
          <zkv1000>
338
        </instrumentation>
339

            
340
Note that will also switch off the zkv1000 if it becomes non-serviceable.
341

            
342
The re-switching on is buggy (the MFD doesn't re-display the contents and the NAV/COMM utils aren't available anymore... working on it)
343
### Manually
344
If you haven't set a electrical system to make the property `/instrumentation/zkv1000/serviceable` to reflect the availibity of the ZKV1000, and you haven't set the auto-power, then you can use the multikey (souvenirs, thanks to Melchior having that much expended this feature years ago :)) service by typing:
improve README
Sébastien MARQUE authored on 2017-03-20
345
`:zo`
346

            
347
The `:z` will be the multikey entry for all multikeys of the zkv1000.
348

            
349
1. If you see a single red dot under the `ZKV100O xxx init` message (xxx = MFD or PFD), this is likely the sim is paused (press `p` by default to stop the pause).
350
1. If you see multiple dots under the `ZKV1000 xxx init` message, something wrong happened, time to check console
351
1. If you see only black screen on one of the screen, something really wrong happened, time to check console
352

            
update README
Sébastien MARQUE authored on 2017-05-02
353
# Known issues
new email address (2)
Sébastien MARQUE authored on 2017-12-21
354
Please send issues to <zkv1000@seb.lautre.net>  
fix URL
Sébastien MARQUE authored on 2018-11-21
355
[issues are listed here](https://seb.lautre.net/git/seb/zkv1000/issues)
update README
Sébastien MARQUE authored on 2017-05-02
356

            
improve README
Sébastien MARQUE authored on 2017-03-20
357
# Documentation
updates README
Sébastien MARQUE authored on 2017-12-30
358
Documentation is being actively written. There are two differents guides:
update README
Sébastien MARQUE authored on 2017-05-02
359

            
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
360
* [Aircraft Maintainer's Guide](https://wiki.flightgear.org/User:Zakharov/zkv1000_installation_guide)
361
* [User's Guide](https://wiki.flightgear.org/User:Zakharov/zkv1000_user_guide)
update README
Sébastien MARQUE authored on 2017-05-02
362

            
363
Here is a list of useful links:
364

            
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
365
* [Canvas in FG](https://wiki.flightgear.org/Category:Canvas)
366
* [Nasal](https://wiki.flightgear.org/Category:Nasal)
367
* the guides used to create the scenario from [Garmin website](https://support.garmin.com/support/manuals/searchManuals.faces)
368
    * [G1000 Pilot’s Guide for the Diamond DA42 (v0370.22)](https://static.garmin.com/pumac/190-00406-07_0B_Web.pdf) *(94 pages)*
369
    * [Pilot's Guide, Cirrus Perspective, SR2x (v0764.30)](https://static.garmin.com/pumac/190-00820-11_A.pdf) *(752 pages)*
updates README
Sébastien MARQUE authored on 2017-12-30
370

            
371
# FG1000
372
There is an implementation of the Primus Garmin 1000 by Stuart Buchanan which is much more respectful of the Canvas principles, using new technology Emesary, with far better coding style, and with the intent to stay close as possible with the Garmin 1000 real device.  
replace http by https here a...
Sébastien MARQUE authored on 2024-04-15
373
The device is avaiblable in [FGData repo](https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Aircraft/Instruments-3d/FG1000) and has a [specific wiki page](https://wiki.flightgear.org/FG1000).