Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
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
Ardupilot
Commits
294b6699
Commit
294b6699
authored
11 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
Plane: fixed rally altitude to be in meters
this matches the docs
parent
ede927f6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduPlane/rally.pde
+1
-1
1 addition, 1 deletion
ArduPlane/rally.pde
with
1 addition
and
1 deletion
ArduPlane/rally.pde
+
1
−
1
View file @
294b6699
...
@@ -73,7 +73,7 @@ static Location rally_location_to_location(const RallyLocation &r_loc, const Loc
...
@@ -73,7 +73,7 @@ static Location rally_location_to_location(const RallyLocation &r_loc, const Loc
//Currently can't do true AGL on the APM. Relative altitudes are
//Currently can't do true AGL on the APM. Relative altitudes are
//relative to HOME point's altitude. Terrain on the board is inbound
//relative to HOME point's altitude. Terrain on the board is inbound
//for the PX4, though. This line will need to be updated when that happens:
//for the PX4, though. This line will need to be updated when that happens:
ret
.
alt
=
r_loc
.
alt
+
homeloc
.
alt
;
ret
.
alt
=
(
r_loc
.
alt
*
100UL
)
+
homeloc
.
alt
;
ret
.
lat
=
r_loc
.
lat
;
ret
.
lat
=
r_loc
.
lat
;
ret
.
lng
=
r_loc
.
lng
;
ret
.
lng
=
r_loc
.
lng
;
...
...
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