Corvus Corax
623c25aa99
new design of altitude hold - warning not tested yet!
2013-12-07 23:16:22 +01:00
Corvus Corax
ff5927bc43
some changes to altitudehold, hope i get that done today...
2013-12-07 17:28:01 +01:00
Corvus Corax
3e1b0fd114
Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale
2013-12-07 16:33:57 +01: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
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
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
6b27ff1e27
OP-1022 add position lowpass, rework setting uavo, cleanup
2013-07-19 11:28:48 +00:00
Alessio Morale
e2a7c6cb25
OP-1022 Reset altitude and velocity when stick goes to deadband
2013-07-19 07:57:24 +00: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
Alessio Morale
8c70e64544
OP-1022 reset velocity when changing flight mode
2013-07-17 08:37:56 +00:00
Werner Backes
7708aab313
Added vertical velocity as a control loop input to improve dynamics during
...
commanded ascend/decent.
Conflicts:
flight/modules/AltitudeHold/altitudehold.c
flight/modules/ManualControl/manualcontrol.c
shared/uavobjectdefinition/altitudeholdsettings.xml
2013-07-16 21:17:32 +00:00
Alessio Morale
ed233efde2
OP-1022 Uncrustify
2013-07-16 20:02:03 +00:00
Alessio Morale
0203e2c6e2
OP-1022 Adding a proportional term on the square of the altitude error.
2013-07-16 20:01:16 +00:00
Alessio Morale
e975e4d9b7
OP-1022: replace old KF in alitude hold with status from filters
2013-07-16 12:25:57 +00:00
Alessio Morale
a57f8913ba
OP-1022: replace old KF in alitude hold with status from filters
2013-07-16 12:25:57 +00:00
Alessio Morale
133ad414f8
OP-1022: Added a velocity loop in AH module, used when throttle is not in central position.
2013-07-16 12:25:57 +00:00
Werner Backes
73aa4df431
Missing "
2013-07-16 12:25:57 +00:00
Werner Backes
723f308ac7
Removed obsolete (unused) code
2013-07-16 12:25:57 +00:00
Werner Backes
45ed66414f
Changed AH to work with absolute instead of relative altitude
2013-07-16 12:25:56 +00:00
Werner Backes
aecc8543a5
Corrected throttle stick exponentional function in AH mode
2013-07-16 12:25:56 +00:00
Corvus Corax
81e691f2d6
fixed stack size for manualcontrol, fixed acking behaviour for waypoints
2013-07-16 10:12:16 +02:00
Corvus Corax
8b6510da4f
Made AltitudeOffset for ReturnToHome configurable, Made Failsafe-FlightMode configurable.
2013-07-15 09:14:09 +02:00
Corvus Corax
4d28052dd8
update configuration check prior to arming control, just in case. Allthough the configuration didn't change, other parameters like the list of running tasks can, which alters the alarms.
2013-07-14 06:20:22 +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
Alessio Morale
d2893fd32b
OP-1019 fix sanitychecks and other uavo definition sanity checks for the newly defined altitudevario mode
2013-06-20 19:39:19 +02:00
Alessio Morale
5318c20de6
OP-1019 add a simple altitude hold
2013-06-20 11:27:45 +02:00
Corvus Corax
1d17d08cca
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
2013-06-12 18:32:01 +02:00
Alessio Morale
3c39b049d6
Fixed wrong deadband range for AH
2013-06-11 21:17:17 +02:00
Alessio Morale
c1a1c04ad8
OP-999 trigger a failsafe condition in AH module when throttle is below 0 for more than 200ms
...
+review OPReview
2013-06-10 23:48:08 +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
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)
031ea3e069
Merge branch 'next' into brian/code_cleanup_130514
2013-05-17 05:49:38 +09:30
Richard Flay (Hyper)
ae14c13195
Merge branch 'next' into hyper/OP-951_add--Wshadow-to-flight-CFLAGS
...
Conflicts:
flight/modules/ManualControl/manualcontrol.c
2013-05-16 06:28:56 +09:30
Richard Flay (Hyper)
9572a156ce
Merge branch 'next' into corvuscorax/o3fixes
2013-05-16 05:56:45 +09:30
Brian Webb
1608d11416
Cleans up some compiler warnings/erros and adds missing ifdefs around some e.g. WDG calls.
2013-05-14 20:22:54 -07: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
Alessio Morale
ff16dd03e7
Merge branch 'amorale/OP-938_ah_improvements' into next
...
Conflicts:
flight/modules/AltitudeHold/altitudehold.c
flight/modules/ManualControl/manualcontrol.c
2013-05-13 23:30:46 +02:00
Corvus Corax
336a50f7e4
dynamic is better than static
2013-05-11 02:02:04 +02:00
Corvus Corax
0a3b59ddea
ManualControl: Initialize scaledChannel to 0, - required to not fail compilation with -O3 (GCC claims about potentially uninitialized use)
2013-05-10 20:23:16 +02:00
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