Alessio Morale
30491c7992
OP-1374 - Autostart the relevant PathFollower for known frame types
2014-06-29 17:23:57 +02:00
Alessio Morale
1b823b7b92
Merge remote-tracking branch 'origin/Bertrand/OP-1308_Set_Same_Logic_To_Alarms' into next
...
Conflicts:
flight/libraries/sanitycheck.c
flight/modules/StateEstimation/filtermag.c
flight/modules/System/systemmod.c
2014-06-26 20:31:27 +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
Corvus Corax
76f83fc131
OP-1352 some cosmetic cleanups, explicitly marked float constants as type float
2014-05-25 13:27:38 +02:00
Alessio Morale
36e304f579
OP-1274 fixes for revolution
2014-05-18 22:56:48 +02:00
Corvus Corax
5153806289
OP-1352 cleaned up some code comments
2014-05-17 23:27:30 +02:00
Corvus Corax
5544e9c984
OP-1352 redesigned course calculation to take complete wind vector into account
2014-05-17 22:02:04 +02:00
Corvus Corax
9306cbc7c5
OP-1352 Headwind-improvements for FixedWingPathFollower
2014-05-16 20:20:40 +02:00
Bertrand Oresve
fd1b786868
Merge branch 'next'
...
Conflicts:
flight/libraries/sanitycheck.c
flight/modules/Stabilization/stabilization.c
2014-05-08 21:36:54 +02:00
Corvus Corax
69b5f41e58
OP-1309 correctly set StabilizationMode.Thrust in all other modules that set StabilizationDesired (Autotune,Pathfollowers)
2014-05-03 17:25:53 +02:00
Bertrand Oresve
6d3ade4947
OP-1308 Set the same logic for alarms
2014-04-29 22:25:49 +02:00
Corvus Corax
77f2444fa4
OP-1309 renamed stabilization mode NONE to MANUAL
2014-04-26 20:33:25 +02:00
Corvus Corax
e9d1a2af4b
OP-1309 get rid of this horrible bound() function code duplication throughout entire flight code and put it into libraries/math
2014-04-26 17:48:54 +02:00
Corvus Corax
9a52f506ef
drive-by bugfix in Fixedwingpathfollower
2014-04-06 15:38:22 +02:00
Corvus Corax
7dd911efdb
OP-1217 change the way modules are enabled/disabled based on flightstatus
2014-02-16 19:07:31 +01:00
Corvus Corax
1898d0ad35
OP-1217 create new receiver module
...
This module includes all the receiver IO and parsing/failsafe
functionality of ManualControl, but does none of the interpretations in
regards to flight mode / actuator control or arming that was included in
the old ManualControl
In a second step the old ManualControl module needs to be adapted to do
only these ommitted things in a modular way - as a delayed callback
2014-02-16 15:09:08 +01:00
Corvus Corax
b5a27d05e7
OP-1197 configurable failsafes OP-1219 thrust control OP-1217 separate manualcontrolsettings apart
2014-02-09 19:37:22 +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
01d963affd
OP-1058 uncrustify
2013-08-01 01:28:50 +02:00
Alessio Morale
9e1acc3165
OP-1058: fix needed for fw_revolution code compilation
2013-07-31 15:24:26 +02:00
Corvus Corax
bffe119214
made safety checks in fixed wing path follower configurable
2013-07-17 14:50:23 +02:00
Corvus Corax
f3a96e5620
Bugfixed in fixed wing path follower, high wind situation now succesfully detected
2013-07-11 16:22:24 +02:00
Corvus Corax
c1f32e9beb
OP-1036: rename some settings and move them in the right place
...
tags: de-kenzification
2013-07-10 15:55:12 +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
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
9b95af2006
refaktored GPS Sensor UAVObjects
2013-05-22 22:36:23 +02:00
Sexy Pony
900f643bbd
Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES
2013-05-19 17:37:30 +03:00
Corvus Corax
5284195c29
Refaktored sensor and state UAVObjects consistently into XXYSensor and XXYState
2013-05-18 19:36:45 +02:00
Corvus Corax
80caceb984
make uncrustify_all;make uncrustify_all;
2013-05-18 14:17:26 +02:00
Richard Flay (Hyper)
ed68fbe68d
OP-951: Adds -Wshadow to flight CFLAGS and fixes resulting compilation breakage.
...
+review OPReview
2013-05-14 07:01:45 +09:30
Richard Flay (Hyper)
fbc8bc698f
OP-936: Merges branch 'next' into hyper/OP-936_task-monitor-rework, fixes damage/conflicts,
...
and brings the callback scheduler into the fold.
+review OPReview-461
2013-05-06 19:11:14 +09:30
Richard Flay (Hyper)
a2d8544931
OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required
...
to make the flight code compile again. Needs careful review, particularly all the fixes for the
signed vs unsigned comparisons.
+review OPReview-459
2013-05-05 16:32:24 +09:30
Richard Flay (Hyper)
5b61466259
OP-931: Adds -Wdouble-promotion compiler option and fixes problems that the compiler then identifies.
...
+review OPReview-459
2013-05-04 19:24:01 +09:30
Richard Flay (Hyper)
84e1a81f8b
OP-936: Moves the task monitor code out of the flight library and into PiOS.
...
This move and rework also breaks the dependency of the task monitor on the UAVO subsystem,
and pushes the responsibility for updating the TaskInfo UAVO into the System module.
+review OPReview
2013-05-03 07:01:14 +09:30
Richard Flay (Hyper)
7937ae6296
OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled.
...
Also fixes warnings (and bugs) in F4 STM32_USB_OTG_Driver code, allowing -Werror to be enabled for all flight code.
Fixes all other compiler warnings that would otherwise cause the flight code to not compile with -Werror enabled.
Along the way, this also adds some uses of isnan() to various places rather than questionable tests for x != x and
x == x to check for NaNs.
+review OPReview
2013-04-30 20:36:42 +09:30
Oleg Semyonov
66db978244
Rename Libraries->libraries, Modules->modules
2013-04-25 13:13:36 +03:00