Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
7fe7ced3
Commit
7fe7ced3
authored
Aug 31, 2011
by
LM
Browse files
Minor fixed to simulation
parent
cd2bcb07
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/QGCFlightGearLink.cc
View file @
7fe7ced3
...
...
@@ -361,10 +361,9 @@ fgRoot = "--fg-root=/usr/share/flightgear/data";
processCall
<<
fgRoot
;
processCall
<<
fgScenery
;
processCall
<<
"--generic=socket,out,50,127.0.0.1,49005,udp,
ardupilot
"
;
processCall
<<
"--generic=socket,in,50,127.0.0.1,49000,udp,
ardupilot
"
;
processCall
<<
"--generic=socket,out,50,127.0.0.1,49005,udp,
qgroundcontrol
"
;
processCall
<<
"--generic=socket,in,50,127.0.0.1,49000,udp,
qgroundcontrol
"
;
processCall
<<
"--in-air"
;
processCall
<<
"--altitude=10"
;
processCall
<<
"--vc=90"
;
processCall
<<
"--heading=300"
;
processCall
<<
"--timeofday=noon"
;
...
...
@@ -386,8 +385,9 @@ if (mav->getSystemType() == MAV_TYPE_QUADROTOR)
processCall
<<
"--prop:/engines/engine[2]/running=true"
;
processCall
<<
"--prop:/engines/engine[3]/running=true"
;
}
processCall
<<
QString
(
"--lat=%1"
).
arg
(
mav
->
getLatitude
());
processCall
<<
QString
(
"--lon=%1"
).
arg
(
mav
->
getLongitude
());
processCall
<<
QString
(
"--lat=%1"
).
arg
(
UASManager
::
instance
()
->
getHomeLatitude
());
processCall
<<
QString
(
"--lon=%1"
).
arg
(
UASManager
::
instance
()
->
getHomeLongitude
());
processCall
<<
QString
(
"--altitude=%1"
).
arg
(
UASManager
::
instance
()
->
getHomeAltitude
());
// Add new argument with this: processCall << "";
processCall
<<
QString
(
"--aircraft=%2"
).
arg
(
aircraft
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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