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
475fbf32
Unverified
Commit
475fbf32
authored
May 29, 2020
by
Don Gagne
Committed by
GitHub
May 29, 2020
Browse files
Merge pull request #8795 from DonLakeFlyer/BoatCherryPick
Fix boat classification as a Rover
parents
3a406dea
a3e3bc9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/QGCMAVLink.cc
View file @
475fbf32
...
...
@@ -16,7 +16,13 @@ bool QGCMAVLink::isFixedWing(MAV_TYPE mavType)
bool
QGCMAVLink
::
isRover
(
MAV_TYPE
mavType
)
{
return
mavType
==
MAV_TYPE_GROUND_ROVER
;
switch
(
mavType
)
{
case
MAV_TYPE_GROUND_ROVER
:
case
MAV_TYPE_SURFACE_BOAT
:
return
true
;
default:
return
false
;
}
}
bool
QGCMAVLink
::
isSub
(
MAV_TYPE
mavType
)
...
...
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