Alessio Morale
92bf876654
OP-1350 refactor into a plans library all functions dealing with initialization and execution of PathFollower/pathplanner commands for manualcontrol
2014-05-19 18:35:18 +02:00
Alessio Morale
d88d73e7fe
OP-1350 Make RTB safer pick the lowest between PositionState.Down and TakeOffLocation.Down.
2014-05-18 14:41:45 +02:00
Corvus Corax
2357ee1774
hotfix: allow arming in Stabilized 4,5,6
2014-05-16 23:39:36 +02:00
Alessio Morale
2048440053
OP-1350 fix a review defect(a set intead of TakeOffLocationStatusGetget). Check if status is valid beside locationSet
2014-05-16 23:32:11 +02:00
Alessio Morale
f3df459278
OP-1350 remove checks for valid TakeOffLocation. It is already handled in takeoffLocationHandler
2014-05-16 21:56:44 +02:00
Alessio Morale
ffa5e66d8b
OP-1350 fix a bug that overwrite TakeOffLocation when changing mode to preset after an arming sequence. cleanup and get rid of "pending" status
2014-05-16 21:53:05 +02:00
Alessio Morale
80bd04075f
OP-1350 Rename ReturnToHomeAltitudeOffset to ReturnToBaseAltitudeOffset
2014-05-16 18:51:04 +02:00
Alessio Morale
edba1bc71d
OP-1350 split Init function out of Handler, added missing UAVO initalize, cleanup code
2014-05-16 18:31:49 +02:00
Alessio Morale
8dcee11cb8
OP-1350 change destination for ReturnToBase to takeoffLocation
2014-05-16 12:38:18 +02:00
Alessio Morale
063ae8afe0
OP-1350 add a TakeOffLocation Handler to manualcontrol
2014-05-16 02:28:12 +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
4d9de8f56b
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 12:18:47 +02:00
Corvus Corax
d3bf817434
OP-1309 fix typo in stabilizedhandler (manualcontrol) for stabi flightmode 4-6
2014-05-04 12:17:34 +02:00
Corvus Corax
aee6a3b85b
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 12:04:43 +02:00
Corvus Corax
fb41258e57
OP-1309 fixed missing assignment in manualcontrol FM switch
2014-05-04 12:03:56 +02:00
Corvus Corax
6b25c06a03
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-04 11:39:34 +02:00
Corvus Corax
942b53a66b
OP-1309 removed unnecessary NUMELEM run time check from sanitychecks and put it into manualcontrol.h as a compile time static assert
2014-05-04 11:38:10 +02:00
Corvus Corax
8ec8c4e235
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-03 18:40:10 +02:00
Corvus Corax
0509595137
OP-1309 present for Laurent: 3 more Stabilized modes (and a bit of cleanup)
2014-05-03 18:38:45 +02:00
Corvus Corax
e6a69c2f78
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
2014-05-03 15:59:03 +02:00
Corvus Corax
e95b25dca8
OP-1309 fixed missing thrust mode assignment in manualcontrol
2014-05-03 15:57:00 +02:00
Corvus Corax
c63540b2ec
Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
shared/uavobjectdefinition/stabilizationsettings.xml
2014-05-02 18:25:57 +02:00
Corvus Corax
3ada1da71a
uncrustify
2014-04-30 22:20:07 +02:00
Bertrand Oresve
70ba6850d0
OP-1308 Uncrustify operation
2014-04-30 08:49:50 +02:00
Bertrand Oresve
6d3ade4947
OP-1308 Set the same logic for alarms
2014-04-29 22:25:49 +02:00
Corvus Corax
93f82652b7
OP-1309 outer loop fully implemented - some cleanups and changes in control flow to accomodate new logic
2014-04-27 15:15:59 +02:00
Corvus Corax
77f2444fa4
OP-1309 renamed stabilization mode NONE to MANUAL
2014-04-26 20:33:25 +02:00
Corvus Corax
599661ba18
OP-1309 UAVObject changes, GCS changes and Makefile changes needed for Stabi refactoring
2014-04-26 15:14:40 +02:00
Alessio Morale
6d1fabdd5f
OP-1294 declare controlHandler as const, add a new PIOS_EXCLUDE_ADVANCED_FEATURES that disables all nav features
2014-04-08 00:30:10 +02:00
Corvus Corax
dbbb8d5e0d
OP-1216 fixes as suggested in OPReview-645
2014-03-03 18:58:09 +01:00
Corvus Corax
2c99b008c6
OP-1216 some fixes to flightmode and arm state management, update GCS control widget to be able to test and debug new control infrastructure
2014-03-02 22:20:18 +01:00
Corvus Corax
12eed41e58
OP-1216 modified alarms for manualcontrol/receiver to reflect new architecture
2014-03-02 20:12:19 +01:00
Corvus Corax
cdca8d835c
OP-1216 manualcontrol refactoring
2014-03-02 14:45:17 +01:00
Corvus Corax
d6ede78fd7
dummy commit - renamed file back
2014-02-16 13:52:04 +01:00
Corvus Corax
227aab80b9
OP-1217 moved manualcontrol to receiver
2014-02-16 13:49:51 +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
Corvus Corax
8b25ac1894
OP-1195 adapted task priorities for manualcontrol and stabilization
2014-02-02 14:13:25 +01:00
Corvus Corax
ee452c8d4d
OP-1192 Do not allow craft to be armed if input is incorrectly calibrated (and throttle cant go < 0 )
2014-01-23 21:36:45 +01:00
Alessio Morale
7188394e39
Uncrustification
2014-01-19 12:37:25 +01:00
Cliff Geerdes
02dfac7e6e
OP-1167 set default for FSM switch to first position
2014-01-17 23:52:16 -05:00
Corvus Corax
91d5a865da
uncrustification
2014-01-18 00:32:50 +01:00
m_thread
234626444e
Merge remote-tracking branch 'origin/next' into thread/OP-1154_Cruise_Control_automatically_increase_copter_throttle_per
2014-01-17 13:16:15 +01:00
Les Newell
f096d01e3c
Merge branch 'next' into LesNewell/OP-984_PID_banks_flightmode
2014-01-15 19:17:06 +00:00
Cliff Geerdes
e6490c0cea
OP-1154 Add FlightModeSwitchPosition to ManualControlCommand
2014-01-15 13:53:14 -05:00
Corvus Corax
9997f14d68
Merge remote-tracking branch 'origin/next' into corvuscorax/OP-1022_AH_improvements_amorale
2014-01-15 18:45:09 +01:00
Corvus Corax
92beb54e2d
OP-1022 some small cosmetic fixes for AltitudeHold as suggested by Alessio
2014-01-15 18:43:47 +01:00
Les Newell
3b0525c4ab
OP-984 Uncrustified
2014-01-14 19:03:42 +00:00
Corvus Corax
07d5c8e4d2
OP-1022 fixed the config plugin widget to represent new simpler settings layout
2014-01-14 00:26:27 +01:00
Corvus Corax
ca607ad924
OP-1022 overhaul of altitudehold and manualcontrol - cleanup,
...
reimplemented safe throttle cutoff and altitudevario features
2014-01-11 10:51:47 +01:00
Corvus Corax
4c078f3dd8
Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale
2014-01-11 09:40:34 +01:00
Les Newell
49cf33ee59
Merge branch 'next' into LesNewell/OP-984_PID_banks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
2014-01-10 19:32:44 +00:00
Cliff Geerdes
56b4d8647f
OP-1117 Rename Horizon to Rattitude, Anti Windup and dT additions
2013-12-18 05:01:16 -05:00
Cliff Geerdes
150dbebc63
OP-1117 MultiWiiHorizon flight mode only (not cliffs H1 or H2)
2013-12-15 22:02:06 -05:00
Les Newell
641cf474eb
OP-984 Fixed missing include in manualcontrol.c
2013-12-11 17:09:04 +00:00
Les Newell
084e3ccd5d
OP-984 Modified manualcontrol to handle pid bank
2013-12-11 17:08:47 +00:00
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