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
c17edd12
Commit
c17edd12
authored
Aug 21, 2017
by
khancyr
Browse files
ArduRoverFirmware: add support for NegativeThrust
parent
76d2d867
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/APM/ArduRoverFirmwarePlugin.cc
View file @
c17edd12
...
@@ -106,3 +106,8 @@ void ArduRoverFirmwarePlugin::guidedModeChangeAltitude(Vehicle* vehicle, double
...
@@ -106,3 +106,8 @@ void ArduRoverFirmwarePlugin::guidedModeChangeAltitude(Vehicle* vehicle, double
qgcApp
()
->
showMessage
(
QStringLiteral
(
"Change altitude not supported."
));
qgcApp
()
->
showMessage
(
QStringLiteral
(
"Change altitude not supported."
));
}
}
bool
ArduRoverFirmwarePlugin
::
supportsNegativeThrust
(
void
)
{
return
true
;
}
src/FirmwarePlugin/APM/ArduRoverFirmwarePlugin.h
View file @
c17edd12
...
@@ -55,6 +55,7 @@ public:
...
@@ -55,6 +55,7 @@ public:
void
guidedModeChangeAltitude
(
Vehicle
*
vehicle
,
double
altitudeChange
)
final
;
void
guidedModeChangeAltitude
(
Vehicle
*
vehicle
,
double
altitudeChange
)
final
;
int
remapParamNameHigestMinorVersionNumber
(
int
majorVersionNumber
)
const
final
;
int
remapParamNameHigestMinorVersionNumber
(
int
majorVersionNumber
)
const
final
;
const
FirmwarePlugin
::
remapParamNameMajorVersionMap_t
&
paramNameRemapMajorVersionMap
(
void
)
const
final
{
return
_remapParamName
;
}
const
FirmwarePlugin
::
remapParamNameMajorVersionMap_t
&
paramNameRemapMajorVersionMap
(
void
)
const
final
{
return
_remapParamName
;
}
bool
supportsNegativeThrust
(
void
)
final
;
private:
private:
static
bool
_remapParamNameIntialized
;
static
bool
_remapParamNameIntialized
;
...
...
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