1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
Commit Graph

9351 Commits

Author SHA1 Message Date
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
Philippe Renon
6dfd7c1c88 Merge branch 'filnet/OP-996_add_option_to_remember_last_selected_workspace' into next 2013-09-07 15:23:17 +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
Mathieu Rondonneau
151d44b8e7 OP-1070 GrountTruth object sent to FC.
this should not be the case so remove it from periodic list.
2013-08-14 17:01:54 -07: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
Fredrik Arvidsson
50f82b3768 Fixed a .html file that was missing a leading < character. 2013-07-30 14:54:23 +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
c8044206a4 adjusted default for max pid after test flight 2013-07-20 16:27:49 +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
2a0533e5e3 Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next 2013-07-20 12:57:33 +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
02f11eeb5b Merge branch 'next' into corvuscorax/OP-1036_fixed-wing-improvements 2013-07-20 08:52:56 +02:00
Alessio Morale
19a92ddc7e OP-1044 Uncrustify 2013-07-19 14:23:41 +00:00
Alessio Morale
ab9f9cacec OP-1044 fix slow tiles loading preventig to ask for version at each request 2013-07-19 14:14:24 +00: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
Andrew Finegan
6d00239e13 Updated urlfactory file, google maps now require ssl then recieving tiles, also updated the google map version parser to ssl 2013-07-19 01:34:09 -04:00
Corvus Corax
ea8373b0f7 re-enabled wind estimation absed on groundspeed 2013-07-18 20:01:02 +02:00
Sambas
c10cbc1e90 Better defaults for VtolPathFollower, tested successfully with couple different frames. 2013-07-18 20:56:15 +03:00
Corvus Corax
b195ffda2f Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next 2013-07-18 15:05:51 +02:00