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
eb8d8faa
Commit
eb8d8faa
authored
Jul 16, 2013
by
Bill Bonney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed two warnings.
parent
4cd86dec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
MAVLinkProtocol.cc
src/comm/MAVLinkProtocol.cc
+1
-1
UASManager.cc
src/uas/UASManager.cc
+2
-2
No files found.
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
"
;
c
onst
c
har
*
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
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