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
9f29a42d
Commit
9f29a42d
authored
Dec 03, 2012
by
Thomas Gubler
Browse files
FG HIL: usage of correct protocol files, simplifies installation, thanks to James Goppert
parent
cdd2f9fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/QGCFlightGearLink.cc
View file @
9f29a42d
...
...
@@ -434,14 +434,13 @@ bool QGCFlightGearLink::connectSimulation()
flightGearArguments
<<
QString
(
"--fg-aircraft=%1"
).
arg
(
fgAircraft
);
if
(
mav
->
getSystemType
()
==
MAV_TYPE_QUADROTOR
)
{
// FIXME ADD QUAD-Specific protocol here
flightGearArguments
<<
QString
(
"--generic=socket,out,50,127.0.0.1,%1,udp,qgroundcontrol"
).
arg
(
port
);
flightGearArguments
<<
QString
(
"--generic=socket,in,50,127.0.0.1,%1,udp,qgroundcontrol"
).
arg
(
currentPort
);
flightGearArguments
<<
QString
(
"--generic=socket,out,50,127.0.0.1,%1,udp,qgroundcontrol-quadrotor"
).
arg
(
port
);
flightGearArguments
<<
QString
(
"--generic=socket,in,50,127.0.0.1,%1,udp,qgroundcontrol-quadrotor"
).
arg
(
currentPort
);
}
else
{
flightGearArguments
<<
QString
(
"--generic=socket,out,50,127.0.0.1,%1,udp,qgroundcontrol"
).
arg
(
port
);
flightGearArguments
<<
QString
(
"--generic=socket,in,50,127.0.0.1,%1,udp,qgroundcontrol"
).
arg
(
currentPort
);
flightGearArguments
<<
QString
(
"--generic=socket,out,50,127.0.0.1,%1,udp,qgroundcontrol
-fixed-wing
"
).
arg
(
port
);
flightGearArguments
<<
QString
(
"--generic=socket,in,50,127.0.0.1,%1,udp,qgroundcontrol
-fixed-wing
"
).
arg
(
currentPort
);
}
flightGearArguments
<<
"--atlas=socket,out,1,localhost,5505,udp"
;
// flightGearArguments << "--in-air";
...
...
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