Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ardupilot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACS
ardupilot
Commits
cdd4570f
Commit
cdd4570f
authored
9 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
Copter: fix init order of ekfYawReset_ms
parent
317779f9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ArduCopter/Copter.cpp
+1
-2
1 addition, 2 deletions
ArduCopter/Copter.cpp
ArduCopter/Copter.h
+2
-1
2 additions, 1 deletion
ArduCopter/Copter.h
with
3 additions
and
3 deletions
ArduCopter/Copter.cpp
+
1
−
2
View file @
cdd4570f
...
...
@@ -125,8 +125,7 @@ Copter::Copter(void) :
#endif
in_mavlink_delay
(
false
),
gcs_out_of_time
(
false
),
param_loader
(
var_info
),
ekfYawReset_ms
(
0
)
param_loader
(
var_info
)
{
memset
(
&
current_loc
,
0
,
sizeof
(
current_loc
));
...
...
This diff is collapsed.
Click to expand it.
ArduCopter/Copter.h
+
2
−
1
View file @
cdd4570f
...
...
@@ -208,7 +208,8 @@ private:
// scale factor applied to velocity controller gain to prevent optical flow noise causing excessive angle demand noise
float
ekfNavVelGainScaler
;
uint32_t
ekfYawReset_ms
;
// system time in milliseconds of last recorded yaw reset from ekf
uint32_t
ekfYawReset_ms
=
0
;
// GCS selection
AP_SerialManager
serial_manager
;
...
...
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