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
82c2f1ea
Commit
82c2f1ea
authored
May 30, 2013
by
dongfang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'lorenz/master'
parents
f10f2332
2b2cc1bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
UASWaypointManager.cc
src/uas/UASWaypointManager.cc
+1
-1
UASWaypointManager.h
src/uas/UASWaypointManager.h
+1
-1
WaypointList.cc
src/ui/WaypointList.cc
+5
-0
QGCMapWidget.cc
src/ui/map/QGCMapWidget.cc
+4
-0
No files found.
src/uas/UASWaypointManager.cc
View file @
82c2f1ea
...
...
@@ -38,7 +38,7 @@ This file is part of the QGROUNDCONTROL project
#define PROTOCOL_TIMEOUT_MS 2000 ///< maximum time to wait for pending messages until timeout
#define PROTOCOL_DELAY_MS 20 ///< minimum delay between sent messages
#define PROTOCOL_MAX_RETRIES 5 ///< maximum number of send retries (after timeout)
const
float
UASWaypointManager
::
defaultAltitudeHomeOffset
=
30.0
f
;
UASWaypointManager
::
UASWaypointManager
(
UAS
*
_uas
)
:
uas
(
_uas
),
current_retries
(
0
),
...
...
src/uas/UASWaypointManager.h
View file @
82c2f1ea
...
...
@@ -180,7 +180,7 @@ private:
quint16
uasid
;
// XXX export to settings
static
const
float
defaultAltitudeHomeOffset
=
30
.
0
f
;
///< Altitude offset in meters from home for new waypoints
static
const
float
defaultAltitudeHomeOffset
;
///< Altitude offset in meters from home for new waypoints
};
#endif // UASWAYPOINTMANAGER_H
src/ui/WaypointList.cc
View file @
82c2f1ea
...
...
@@ -122,6 +122,11 @@ WaypointList::WaypointList(QWidget *parent, UASWaypointManager* wpm) :
connect
(
WPM
,
SIGNAL
(
waypointViewOnlyListChanged
(
void
)),
this
,
SLOT
(
waypointViewOnlyListChanged
(
void
)));
connect
(
WPM
,
SIGNAL
(
waypointViewOnlyChanged
(
int
,
Waypoint
*
)),
this
,
SLOT
(
updateWaypointViewOnly
(
int
,
Waypoint
*
)));
connect
(
WPM
,
SIGNAL
(
currentWaypointChanged
(
quint16
)),
this
,
SLOT
(
currentWaypointViewOnlyChanged
(
quint16
)));
//Even if there are no waypoints, since this is a new instance and there is an
//existing WPM, then we need to assume things have changed, and act appropriatly.
waypointEditableListChanged
();
waypointViewOnlyListChanged
();
}
// STATUS LABEL
...
...
src/ui/map/QGCMapWidget.cc
View file @
82c2f1ea
...
...
@@ -212,7 +212,11 @@ void QGCMapWidget::loadSettings(bool changePosition)
if
(
trailType
==
mapcontrol
::
UAVTrailType
::
ByDistance
)
{
// XXX
#ifdef Q_OS_WIN
#pragma message ("WARNING: Settings loading for trail type not implemented")
#else
#warning Settings loading for trail type not implemented
#endif
}
else
if
(
trailType
==
mapcontrol
::
UAVTrailType
::
ByTimeElapsed
)
{
...
...
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