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
eb8d8faa
Commit
eb8d8faa
authored
Jul 16, 2013
by
Bill Bonney
Browse files
Fixed two warnings.
parent
4cd86dec
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/comm/MAVLinkProtocol.cc
View file @
eb8d8faa
...
...
@@ -187,7 +187,7 @@ void MAVLinkProtocol::linkStatusChanged(bool connected)
link
->
writeBytes
(
init
,
sizeof
(
init
));
// Stop any running mavlink instance
char
*
cmd
=
"mavlink stop
\n
"
;
const
char
*
cmd
=
"mavlink stop
\n
"
;
link
->
writeBytes
(
cmd
,
strlen
(
cmd
));
link
->
writeBytes
(
init
,
2
);
cmd
=
"uorb start"
;
...
...
src/uas/UASManager.cc
View file @
eb8d8faa
...
...
@@ -232,11 +232,11 @@ void UASManager::uavChangedHomePosition(int uav, double lat, double lon, double
**/
UASManager
::
UASManager
()
:
activeUAS
(
NULL
),
offlineUASWaypointManager
(
NULL
),
homeLat
(
47.3769
),
homeLon
(
8.549444
),
homeAlt
(
470.0
),
homeFrame
(
MAV_FRAME_GLOBAL
),
offlineUASWaypointManager
(
NULL
)
homeFrame
(
MAV_FRAME_GLOBAL
)
{
loadSettings
();
setLocalNEDSafetyBorders
(
1
,
-
1
,
0
,
-
1
,
1
,
-
1
);
...
...
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