Skip to content

Commit 332f16b

Browse files
authored
Merge pull request odwdinc#27 from hankhank10/complete
A few fixes
2 parents 415adf8 + 0d3744e commit 332f16b

File tree

5 files changed

+8
-460
lines changed

5 files changed

+8
-460
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,5 @@ dmypy.json
139139
.idea/workspace.xml
140140
.DS_Store
141141
.idea/inspectionProfiles/Project_Default.xml
142-
.idea/CodeStyles/codeStyleConfig.xml
142+
.idea/CodeStyles/codeStyleConfig.xml
143+
.idea/MSFS2020-cockpit-companion.iml

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ Python interface for Microsoft Flight Simulator 2020 (MSFS2020) using SimConnect
55

66
This library allows Python scripts to read and set variables within MSFS2020 and trigger events within the simulation.
77

8-
It also includes, as an example, "Cockpit Companion", a flask mini http server which runs locally. It provides a web UI with a moving map and simulation variables. It also provides simulation data in JSON format. Full documentation for this example can be found at [https://msfs2020.cc](https://msfs2020.cc).
8+
It also includes, as an example, "Cockpit Companion", a flask mini http server which runs locally. It provides a web UI with a moving map and simulation variables. It also provides simulation data in JSON format in response to REST API requests.
9+
10+
Full documentation for this example can be found at [https://msfs2020.cc](https://msfs2020.cc) and it is included in a standalone repo here on Github as [MSFS2020-cockpit-companion](https://github.com/hankhank10/MSFS2020-cockpit-companion).
911

1012
## Python interface example
1113

static/js/custom/getSimData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function displayData() {
119119
$("#autopilot-altitude-lock-var").attr('placeholder', autopilot_altitude_lock_var);
120120
$("#autopilot-airspeed-hold-var").attr('placeholder', autopilot_airspeed_hold_var);
121121
$("#autopilot-pitch-hold-ref").attr('placeholder', autopilot_pitch_hold_ref);
122-
¢("#autopilot-vertical-hold-ref"),attr('placeholder', autopilot_vertical_hold_var);
122+
$("#autopilot-vertical-hold-ref").attr('placeholder', autopilot_vertical_hold_var);
123123

124124
//Control surfaces
125125
$("#gear-handle-position").html(gear_handle_position);

templates/glass.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>MSFS2020 Cockpit Computer</title>
5+
<title>MSFS2020 Cockpit Companion</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77

88
<!-- Bootstrap CSS-->
@@ -84,7 +84,7 @@
8484
</ul>
8585
</div>
8686
<div class="mx-auto order-0">
87-
<a class="navbar-brand mx-auto" href="#">MSFS2020 Cockpit Computer</a>
87+
<a class="navbar-brand mx-auto" href="#">MSFS2020 Cockpit Companion</a>
8888
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".dual-collapse2">
8989
<span class="navbar-toggler-icon"></span>
9090
</button>

0 commit comments

Comments
 (0)