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
e8f14283
Commit
e8f14283
authored
Jul 11, 2016
by
Don Gagne
Browse files
Change to match mavlink spec
parent
2c91bd95
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
View file @
e8f14283
...
...
@@ -316,8 +316,8 @@ void PX4FirmwarePlugin::guidedModeGotoLocation(Vehicle* vehicle, const QGeoCoord
cmd
.
param2
=
MAV_DO_REPOSITION_FLAGS_CHANGE_MODE
;
cmd
.
param3
=
0.0
f
;
cmd
.
param4
=
NAN
;
cmd
.
param5
=
gotoCoord
.
latitude
()
*
1e7
;
cmd
.
param6
=
gotoCoord
.
longitude
()
*
1e7
;
cmd
.
param5
=
gotoCoord
.
latitude
();
cmd
.
param6
=
gotoCoord
.
longitude
();
cmd
.
param7
=
vehicle
->
altitudeAMSL
()
->
rawValue
().
toDouble
();
cmd
.
target_system
=
vehicle
->
id
();
cmd
.
target_component
=
vehicle
->
defaultComponentId
();
...
...
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