Alessio Morale
016ba6940d
OP-1403 - drop attitude/revolution as it has been supersede by StateEstimation module
2014-08-02 20:48:56 +02:00
Alessio Morale
57a43a5587
OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one
2014-08-02 20:48:34 +02:00
Alessio Morale
a03ad41bab
Merge branch 'amorale/OP-1365_pios_instrumentation' into next
...
Conflicts:
flight/modules/Attitude/attitude.c
2014-06-22 19:13:46 +02:00
Alessio Morale
263fd64ab5
Merge branch 'amorale/OP-1274_freertos_v8.0.0' into next
2014-06-22 16:06:21 +02:00
Alessio Morale
eb5deb3eca
OP-1274 Remove unneeded cast from task name in xTaskCreate call
2014-06-18 01:47:43 +02:00
Alessio Morale
16cb081f5c
OP-1365 Flight code instrumentation API: Sample use of instrumentation in Atittude module.
...
When instrumentation is enabled at board level (pios_board.h, enable PIOS_INCLUDE_INSTRUMENTATION) PIOS_INSTRUMENT_MODULE setups the module to be instrumented.
2014-06-10 21:38:12 +02:00
Alessio Morale
52c1d69c19
OP-1227 Fix high CPU usage: Change gyro oversampling to 46 (400Hz update rate) to lessen the cpu load and jitter due accel rate mismatch
2014-06-08 22:14:06 +02:00
Alessio Morale
843987484b
OP-1227 Fix high CPU usage: Avoid several float division in Attitude module, change optimization for attitude estimation function
2014-06-08 21:48:35 +02:00
Alessio Morale
d51b7ce2d4
OP-1227 Fix high CPU usage: Changes to attitude module:
...
- changed Expected rate to 500 (it was erroneously defined as 666Hz)
- use the optimized api to fetch accel samples
2014-06-08 21:47:00 +02:00
Alessio Morale
3ec8c18fad
OP-1274 fixes for RevoProto
2014-05-18 22:56:54 +02:00
Alessio Morale
be5cc66bd3
OP-1274 fixes for Coptercontrol firmware
2014-05-18 22:56:29 +02:00
Alessio Morale
3c5a41049b
Merge branch 'amorale/OP-1302_updated_led_behaviour' into next
2014-05-11 12:01:53 +02:00
Alessio Morale
7a85c0939c
Merge branch 'amorale/OP-975_calibration_process_changes' into next
2014-05-08 22:56:16 +02:00
Alessio Morale
e5d6726bb6
Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour
2014-05-08 22:27:08 +02:00
Alessio Morale
f01cf66095
Merge remote-tracking branch 'origin/andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements' into next
...
Conflicts:
ground/openpilotgcs/src/plugins/systemhealth/systemhealthgadgetwidget.cpp
2014-04-15 21:52:34 +02:00
Alessio Morale
20508314f2
OP-1302 use pios_notify api to alert user of ongoing CF gyro calibration
2014-04-13 17:56:20 +02:00
Alessio Morale
1fe591d51e
OP-975 change BoardRotation data type to float so it can be used for level calibration
2014-04-10 01:47:37 +02:00
Corvus Corax
cb16cf04e1
Merge branch next into 'corvuscorax/OP-1296_barometer-initialization-fix'
2014-04-08 19:26:43 +02:00
Corvus Corax
011c598793
OP-1296 only use GPS in filterchains when explicitly requested
...
disallow arming when GPS is needed for initialization until lock is acquired
2014-04-08 18:31:11 +02:00
Andres
fd5d1e42a3
OP-1273 OP-1282 OP-1283 corrected compilation error for fw_revoproto
2014-04-01 07:46:50 +02:00
Andres
c5dc556a43
OP-1273 Uncrustify
2014-03-27 16:19:22 +01:00
Andres
9d30673d18
OP-1273 attitude estimation uses airspeedSensor.TrueAirspeed when available (e.g. from MS4525DO; available when TrueAirspeed >=0 ) instead of using an altitude correction IAS2TAS(alt). When not available it falls back to IAS2TAS(alt)
2014-03-26 09:15:56 +01:00
Alessio Morale
0b30b79c98
Merge remote-tracking branch 'origin/amorale/OP-1149_gyro_accel_thermal_calibration' into next
...
Conflicts:
ground/openpilotgcs/src/libs/eigen/Eigen/src/Core/util/Memory.h
ground/openpilotgcs/src/plugins/config/revosensors.ui
ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2014-03-09 14:38:08 +01:00
Alessio Morale
5bb5b34447
OP-1149: second order correction for all gyro axis. Add calibrated range contraint for temperature.
...
cleanup replacing all the arrays of floats[] with corresponding AccelGyroSettings* structs.
2014-02-06 00:57:27 +01:00
Corvus Corax
28be9cc8ce
OP-1211 adapted existing code to use new pios functionality instead of separate error prone implementations
2014-02-04 19:48:33 +01:00
Alessio Morale
eea194d22f
OP-1149: fix type for accel bias.
2014-02-03 20:30:10 +01:00
Alessio Morale
e04cef2fa4
OP-1149 Uncrustify
2013-12-29 18:45:44 +01:00
Alessio Morale
ac3d7b8d11
OP-1149 Implements thermal accel/gyro bias correction for CC3D
2013-12-29 14:23:46 +01:00
Alessio Morale
260db3446c
OP-1149 changes in CC/CC3D code to use AccelGyroSettings for bias/scale instead of AttitudeSettings.
...
Bias units of measure are now normalized between CC/CC3D/Revo.
2013-12-29 14:08:53 +01:00
Alessio Morale
0db9a9bf8d
OP-1058 Add xxxGet and xxxSet functions to handle multielement fields as struct
...
for example:
EKFStateVariancePSet(EKFStateVariancePData *NewP);
EKFStateVariancePGet(EKFStateVariancePData *NewP);
Also in this case array accessors are renamed as xxxArrayGet/Set:
EKFStateVariancePArraySet(float *NewP);
EKFStateVariancePArrayGet(float *NewP);
Nothing changes for anonymous items as default functions continues to deal with arrays
+review OPReview-552
2013-09-01 13:23:20 +02:00
Alessio Morale
e91bc28667
OP-1058 Get rid of Unions.
...
They caused stack usage increase with -fstrict-aliasing as stack slots are not reused when dealing with unions.
It has now been added the cast_struct_to_array macro in pios_struct_helper.h to handle such case where it is useful to access those homogeneous structs as arrays
+review OPReview-552
2013-09-01 12:10:55 +02:00
Alessio Morale
8351e97faa
OP-1058: fix needed for fw_revoproto code compilation
2013-08-01 01:18:53 +02:00
Alessio Morale
df90a13558
OP-1058: fix needed for fw_coptercontrol code compilation
2013-08-01 01:18:26 +02:00
Corvus Corax
3392622d2b
backporting change on next to modified Attitude module
2013-06-22 23:07:53 +02:00
Corvus Corax
6163c5f53a
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
...
Conflicts:
flight/modules/AltitudeHold/altitudehold.c
ground/openpilotgcs/share/openpilotgcs/pfd/default/AltitudeScale.qml
ground/openpilotgcs/share/openpilotgcs/pfd/default/PfdIndicators.qml
ground/openpilotgcs/share/openpilotgcs/pfd/default/SpeedScale.qml
ground/openpilotgcs/src/plugins/pfd/pfdgadgetwidget.cpp
2013-06-22 18:44:03 +02:00
Werner Backes
e5b68382e0
Keep TODO comment.
2013-06-20 14:35:40 +02:00
Werner Backes
0f5e354f99
Removed first occurance of accel_err scaling. We don't want to do this
...
twice.
2013-06-20 12:42:22 +02:00
Alessio Morale
b012d55f26
OP-1009 fix comments and fixes review
...
+review OPReview-516
2013-06-17 21:01:24 +02:00
Alessio Morale
d5a77fb525
OP-1009 prevent gyro zeroing from raise an alarm when arming
2013-06-15 17:28:30 +02:00
Alessio Morale
49da1aca86
OP-1009 Redo gyro zero in Complementary after calibration parameters changes
2013-06-15 16:22:24 +02:00
Corvus Corax
022f1a1ac0
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
...
Conflicts:
flight/modules/Attitude/revolution/attitude.c
2013-06-09 13:49:52 +02:00
Alessio Morale
6d71d92860
Merge remote-tracking branch 'origin/amorale/OP-990_revo_bias_with_shaken_startup' into next
2013-06-09 09:10:33 +02:00
Alessio Morale
59eaf01089
OP-990 Change initial delay before calibration to 4 seconds to allow to put the craft on the ground after battery connection
...
+review OPReview-505
2013-06-09 08:59:35 +02:00
Alessio Morale
7a6b5c5681
OP-990 Fixed the main cause of wrong bias calculation:
...
The initial bias calculation done between 1 and 7 seconds
since power on was completely skipped due to a wrong condition.
2013-06-08 13:10:23 +02:00
Alessio Morale
3ad123718e
Revert "OP-990 zeroed the rollpitch bias rate at startup and incremented at arming."
...
This reverts commit c0b926a2d5
.
2013-06-08 13:10:23 +02:00
Corvus Corax
6fdf554d4a
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
...
Conflicts:
flight/modules/Attitude/revolution/attitude.c
ground/openpilotgcs/src/plugins/opmap/opmapgadgetwidget.cpp
shared/uavobjectdefinition/attitudesettings.xml
2013-06-06 19:25:54 +02:00
Alessio Morale
c0b926a2d5
OP-990 zeroed the rollpitch bias rate at startup and incremented at arming.
2013-06-05 22:19:20 +02:00
Mathieu Rondonneau
23b2907d08
OP-976: Add the ';' back
...
This compile successfuly with make all_flight
2013-06-03 20:37:40 -07:00
Corvus Corax
6435604182
some fixes and corrections as suggested in review
2013-05-29 22:18:08 +02:00
Alessio Morale
a286a20cb0
OP-925 Changed dT to comply with revo sensor rate
...
+review OPReview-484
2013-05-27 21:05:39 +02:00