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
aa9dfa23
Commit
aa9dfa23
authored
Dec 04, 2013
by
Thomas Gubler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix handling of setmode when base_mode was not yet updated, also fix some wrong bitmask handling
parent
095323a9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
92 additions
and
49 deletions
+92
-49
UAS.cc
src/uas/UAS.cc
+87
-48
UAS.h
src/uas/UAS.h
+5
-1
No files found.
src/uas/UAS.cc
View file @
aa9dfa23
This diff is collapsed.
Click to expand it.
src/uas/UAS.h
View file @
aa9dfa23
...
...
@@ -465,6 +465,7 @@ protected: //COMMENTS FOR TEST UNIT
QImage
image
;
///< Image data of last completely transmitted image
quint64
imageStart
;
bool
blockHomePositionChanges
;
///< Block changes to the home position
bool
receivedMode
;
///< True if mode was retrieved from current conenction to UAS
#if defined(QGC_PROTOBUF_ENABLED) && defined(QGC_USE_PIXHAWK_MESSAGES)
px
::
GLOverlay
overlay
;
...
...
@@ -833,9 +834,12 @@ public slots:
/** @brief Set this UAS as the system currently in focus, e.g. in the main display widgets */
void
setSelected
();
/** @brief Set current mode of operation, e.g. auto or manual */
/** @brief Set current mode of operation, e.g. auto or manual
, always uses the current arming status for safety reason
*/
void
setMode
(
uint8_t
newBaseMode
,
uint32_t
newCustomMode
);
/** @brief Set current mode of operation, e.g. auto or manual, does not check the arming status, for anything else than arming/disarming operations use setMode instead */
void
setModeArm
(
uint8_t
newBaseMode
,
uint32_t
newCustomMode
);
/** @brief Request all parameters */
void
requestParameters
();
...
...
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