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
4509f4b1
Unverified
Commit
4509f4b1
authored
Dec 07, 2018
by
Don Gagne
Committed by
GitHub
Dec 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7073 from DonLakeFlyer/OrbitRotation
Fix Orbit rotation as passed to vehicle
parents
e1a290be
ed7d691d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
GuidedActionsController.qml
src/FlightDisplay/GuidedActionsController.qml
+1
-1
Vehicle.cc
src/Vehicle/Vehicle.cc
+1
-1
No files found.
src/FlightDisplay/GuidedActionsController.qml
View file @
4509f4b1
...
...
@@ -384,7 +384,7 @@ Item {
_activeVehicle
.
setCurrentMissionSequence
(
actionData
)
break
case
actionOrbit
:
_activeVehicle
.
guidedModeOrbit
(
orbitMapCircle
.
center
,
orbitMapCircle
.
radius
()
*
(
orbitMapCircle
.
clock
W
iseRotation
?
1
:
-
1
),
_activeVehicle
.
altitudeAMSL
.
rawValue
+
actionAltitudeChange
)
_activeVehicle
.
guidedModeOrbit
(
orbitMapCircle
.
center
,
orbitMapCircle
.
radius
()
*
(
orbitMapCircle
.
clock
w
iseRotation
?
1
:
-
1
),
_activeVehicle
.
altitudeAMSL
.
rawValue
+
actionAltitudeChange
)
orbitMapCircle
.
hide
()
break
case
actionLandAbort
:
...
...
src/Vehicle/Vehicle.cc
View file @
4509f4b1
...
...
@@ -3032,7 +3032,7 @@ void Vehicle::guidedModeOrbit(const QGeoCoordinate& centerCoord, double radius,
return
;
}
if
(
capabilityBits
()
&
&
MAV_PROTOCOL_CAPABILITY_COMMAND_INT
)
{
if
(
capabilityBits
()
&
MAV_PROTOCOL_CAPABILITY_COMMAND_INT
)
{
sendMavCommandInt
(
defaultComponentId
(),
MAV_CMD_DO_ORBIT
,
MAV_FRAME_GLOBAL
,
...
...
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