Commit 4488d440 authored by Eddy Scott's avatar Eddy Scott

Added stock variances from nominal flight

parent 5b79aa21
...@@ -147,19 +147,21 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(), ...@@ -147,19 +147,21 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
receivedMode(false), receivedMode(false),
// Initialize HIL sensor noise variances to 0. If user wants corrupted sensor values they will need to set them // Initialize HIL sensor noise variances to 0. If user wants corrupted sensor values they will need to set them
xacc_var(0.0), // Note variances calculated from flight case from this log: http://dash.oznet.ch/view/MRjW8NUNYQSuSZkbn8dEjY
yacc_var(0.0), // TODO: calibrate stand-still pixhawk variances
zacc_var(0.0), xacc_var(1.2914),
rollspeed_var(0.0), yacc_var(0.7048),
pitchspeed_var(0.0), zacc_var(1.9577),
yawspeed_var(0.0), rollspeed_var(0.8126),
xmag_var(0.0), pitchspeed_var(0.6145),
ymag_var(0.0), yawspeed_var(0.5852),
zmag_var(0.0), xmag_var(0.4786),
abs_pressure_var(0.0), ymag_var(0.4566),
diff_pressure_var(0.0), zmag_var(0.3333),
pressure_alt_var(0.0), abs_pressure_var(1.1604),
temperature_var(0.0), diff_pressure_var(1.1604),
pressure_alt_var(1.1604),
temperature_var(1.4290),
#ifndef __mobile__ #ifndef __mobile__
simulation(0), simulation(0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment