Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
b503902b
Commit
b503902b
authored
13 years ago
by
Jason Short
Browse files
Options
Downloads
Patches
Plain Diff
renamed WP mask
parent
188fbfd8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduCopter/GCS_Mavlink.pde
+3
-3
3 additions, 3 deletions
ArduCopter/GCS_Mavlink.pde
with
3 additions
and
3 deletions
ArduCopter/GCS_Mavlink.pde
+
3
−
3
View file @
b503902b
...
...
@@ -980,7 +980,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
// set frame of waypoint
uint8_t
frame
;
if
(
tell_command
.
options
&
WP
_OPTION
_ALT
_RELATIVE
)
{
if
(
tell_command
.
options
&
MASK
_OPTION
S
_RELATIVE
_ALT
)
{
frame
=
MAV_FRAME_GLOBAL_RELATIVE_ALT
;
// reference frame
}
else
{
frame
=
MAV_FRAME_GLOBAL
;
// reference frame
...
...
@@ -1294,7 +1294,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
guided_WP
=
tell_command
;
// add home alt if needed
if
(
guided_WP
.
options
&
WP
_OPTION
_ALT
_RELATIVE
){
if
(
guided_WP
.
options
&
MASK
_OPTION
S
_RELATIVE
_ALT
){
guided_WP
.
alt
+=
home
.
alt
;
}
...
...
@@ -1322,7 +1322,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
break
;
if
(
packet
.
seq
!=
0
)
set_c
omman
d_with_index
(
tell_command
,
packet
.
seq
);
set_c
m
d_with_index
(
tell_command
,
packet
.
seq
);
// update waypoint receiving state machine
waypoint_timelast_receive
=
millis
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment