Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
fa672418
Commit
fa672418
authored
Dec 30, 2013
by
Thomas Gubler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flightgear malolo1: small change to catapult, reduce catapult countdown time
parent
68fc719b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
catapult.nas
files/flightgear/Aircraft/Malolo1/Nasal/catapult.nas
+1
-3
No files found.
files/flightgear/Aircraft/Malolo1/Nasal/catapult.nas
View file @
fa672418
...
@@ -2,7 +2,7 @@ var launchCatapult = func {
...
@@ -2,7 +2,7 @@ var launchCatapult = func {
# time on catapult = 1/10 sec
# time on catapult = 1/10 sec
# speed when leaving catapult = 50 km/h ?
# speed when leaving catapult = 50 km/h ?
var countdownRunning = 1;
var countdownRunning = 1;
var count =
5
;
var count =
3
;
var countdown = func {
var countdown = func {
if (countdownRunning) {
if (countdownRunning) {
if (count != 0) {
if (count != 0) {
...
@@ -14,8 +14,6 @@ var launchCatapult = func {
...
@@ -14,8 +14,6 @@ var launchCatapult = func {
countdownRunning = 0;
countdownRunning = 0;
setprop("/sim/screen/yellow","Go!");
setprop("/sim/screen/yellow","Go!");
launch();
launch();
var launchPad = aircraft.door.new("/sim/model/X100/launch-pad", 0.2);
launchPad.toggle();
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment