mathieu
fb1f58c94b
Merge branch 'next' into Mathieu/OP-1079_Update_to_FreeRTOS_v7_5_2
2013-09-11 18:57:37 -07:00
Alessio Morale
c0cfd3dffe
Merge branch 'amorale/OP-1058_uavo_named_accessors' into next
2013-09-10 21:20:12 +02:00
Alessio Morale
db7ea48675
Merge remote-tracking branch 'origin/cyr/OP-1076' into next
2013-09-10 20:26:53 +02:00
Mathieu Rondonneau
03b243fe31
OP-1079 - Update to FreeRTOS v7.5.2
2013-09-04 20:26:23 -07: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
11b269f898
Merge remote-tracking branch 'origin/next' into amorale/OP-1058_uavo_named_accessors
2013-08-31 16:03:30 +02:00
Mathieu Rondonneau
e973740b8b
OP-1067 run uncrustify
2013-08-28 19:47:44 -07:00
Mathieu Rondonneau
fc6d544476
OP-1067 Force oplonk to report disabled if rfm22b is not initialized.
2013-08-28 19:45:50 -07:00
Erik Gustavsson
e39c3f897e
Use xTaskGetTickCount() to time long intervals rather than PIOS_DELAY_GetRaw(), because of wrap-around issues.
2013-08-26 19:14:47 +02:00
Corvus Corax
0db395b4a2
uncrustify
2013-08-11 15:33:59 +02:00
Corvus Corax
0f31368c64
Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next
2013-08-11 15:13:23 +02:00
Corvus Corax
0724fca32a
refactored pid_apply_scaled back into pid_apply (rename only)
2013-08-11 15:12:17 +02:00
Mathieu Rondonneau
114e353acb
OP-1067 Invalid value for "LinkState"
...
Do not retrieve status from rfm22b if not initialized.
2013-08-09 20:14:13 -07:00
Mathieu Rondonneau
40b0682048
OP-667: This is not an issue since the 2 callers already check for NULL pointer but for consistency, this should be done in the function itself.
2013-08-03 09:39:44 -07:00
Brian Webb
5ac1f33c47
Adds missing pios_gpio_priv.h
2013-08-02 22:01:44 -07:00
Brian Webb
831aa2e213
Merge remote-tracking branch 'origin/next' into brian/GPIO_update
2013-08-02 17:45:06 -07:00
Alessio Morale
8dd3c45ccf
OP-1058 change some missing occurrencies to .field.XXX notation
...
+review OPReview-552
2013-08-01 11:44:12 +02:00
Alessio Morale
01d963affd
OP-1058 uncrustify
2013-08-01 01:28:50 +02:00
Alessio Morale
f226b23c24
OP-1058: fix needed for fw_osd code compilation
2013-08-01 01:19:02 +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
Alessio Morale
9e1acc3165
OP-1058: fix needed for fw_revolution code compilation
2013-07-31 15:24:26 +02:00
Alessio Morale
d99790be71
OP-1058: Implement explicit item accessor for MultiElement fields.
...
This implementation uses a union containing the Array implementing the MultiElement field data and a struct made from element names.
it allow to replace the following sintax:
settings.PitchRatePID[STABILIZATIONSETTINGS_PITCHRATEPID_KP]
with a more concise and less error prone
settings.PitchRatePID.fields.Kp
while allowing the direct array access using the notation
settings.PitchRatePID.data[n]
2013-07-31 15:23:43 +02:00
Oleg Semyonov
77a6db3007
Merge remote-tracking branch 'origin/os/baro-offset-lpf' into next
2013-07-30 23:41:37 +02:00
Alessio Morale
b4d2423680
OP-1048 fix CF stateestimation bug using AccelTau.
...
move *_filtered to stateestimator data struct and initialize them at init.
they were previously used uninitialized thus causing estimation to fail validations, restarting the filter continously
+review OPReview
2013-07-30 23:41:21 +02:00
Brian Webb
e246ecf536
Moves pios_led functionality to pios_gpio and makes pios_led a thin layer over pios_gpio. Supports configuring multiple sets of GPIOs.
2013-07-28 07:01:08 -07:00
Oleg Semyonov
1bfa66c2b6
Change settings for baro altitude offset correction
2013-07-26 21:14:44 +02:00
Corvus Corax
ae1db5058e
uncrustification
2013-07-20 16:59:00 +02:00
Corvus Corax
4f6c3c98e3
some small fixes to airspeed compensation in Stabilization
2013-07-20 14:52:22 +02:00
Corvus Corax
2ecbf4a846
add code to scale stabilization PID coefficients by 1/airspeed^2 if the user wishes to do so
2013-07-20 13:52:45 +02:00
Corvus Corax
b3cbb57a2b
made low pass filter alpha a setting
2013-07-20 10:40:29 +02:00
Corvus Corax
1049f483a5
added low pass filter and a few safety checks to gps airspeed estimation
2013-07-20 09:09:44 +02:00
Corvus Corax
72e33a11e4
uncrustification, changed ekf glitch recognition to warning, since its now benign
2013-07-19 15:40:57 +02:00
Corvus Corax
b9ae8844a1
return error if ekf has not inited to prevent arming without proper state estimation
2013-07-19 15:37:50 +02:00
Corvus Corax
be583dd8bf
fixes to gps airspeed sensor
2013-07-19 15:30:33 +02:00
Corvus Corax
842b4e361b
moved airspeed sensor code to correct location
2013-07-19 15:29:04 +02:00
Oleg Semyonov
aa560653d4
Make baro altitude offset (relative to GPS alt) filter configurable
2013-07-19 09:53:44 +03:00
Corvus Corax
ea8373b0f7
re-enabled wind estimation absed on groundspeed
2013-07-18 20:01:02 +02:00
Corvus Corax
2ab92f09a5
fix for the fix
2013-07-18 14:15:23 +02:00
Corvus Corax
9ba1fbdccc
fixed safety check for throttle low, needed for arming on switch, too, but not for disarming
2013-07-18 14:10:33 +02:00
Corvus Corax
7b5bf53200
fixed channel reversals
2013-07-18 13:46:58 +02:00
Corvus Corax
50561bfb5f
made arming/disarming sequence time configurable - useful for heli pilots that like almost-instant disarm
2013-07-18 13:13:23 +02:00
Corvus Corax
114e25ff5d
cleaned up code for armin/disarming and got rid of a bunch of assumptions
2013-07-18 13:05:37 +02:00
Corvus Corax
658b2fc804
cherry-pick of Sambas Arm-On-A-Switch capability implementation
2013-07-18 10:45:36 +02:00
Corvus Corax
6c88184b32
Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next
2013-07-18 09:46:23 +02:00
Corvus Corax
bffe119214
made safety checks in fixed wing path follower configurable
2013-07-17 14:50:23 +02:00
Alessio Morale
11bc7804d0
Merge branch 'amorale/OP-994_adc_cleanup' into next
2013-07-16 12:23:25 +00:00
Corvus Corax
81e691f2d6
fixed stack size for manualcontrol, fixed acking behaviour for waypoints
2013-07-16 10:12:16 +02:00
Alessio Morale
104bae01e8
OP-994 Exclude alarm for estimated flight time if Capacity setting is 0
...
+review OPReview-506
2013-07-15 20:35:26 +00:00