1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
Commit Graph

280 Commits

Author SHA1 Message Date
Les Newell
2b32c5ebc3 Merged theothercliff/OP-1154_Cruise_Control_automatically_increase_copter_throttle_per_1/cos(bank_angle)
Changed pid banks to use flight mode switch position instead of FlightStatus.FlightMode
2014-01-15 19:37:13 +00: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
Les Newell
3b0525c4ab OP-984 Uncrustified 2014-01-14 19:03:42 +00:00
Cliff Geerdes
ccc09721cd OP-1154 Initial version with UAVO's but no GCS GUI 2014-01-11 16:22:20 -05:00
Les Newell
2e030419ca OP-984 Fixed bad merge of stabilization.c 2014-01-10 22:16:50 +00: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
a48b9cc242 OP-1117 reduced CPU for CC/3D coded log2f() / powf() 2014-01-04 04:22:54 -05:00
Cliff Geerdes
54ac7da2e8 OP-1117 bugfix for refactoring, would keep Ki from working at full stick 2014-01-02 00:56:55 -05:00
Cliff Geerdes
14aa1f83de OP-1117 make anti windup insensitive to Ki changes, include dT in calcs, linearize config spinner 2013-12-19 03:21:30 -05: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
35f6caa360 OP-1117 create a second set of rate PIDs so MWH can run rate and attitude separately 2013-12-16 13:42:24 -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
faa1b61bf6 OP-984 txpid not using the selected pid bank 2013-12-12 12:11:00 +00:00
Les Newell
0afe6afd11 OP-984 Fixed insufficient stack for stabilization 2013-12-11 19:24:13 +00:00
Les Newell
024d74c0df OP-984 stabilization.c - commented out code that mirrors change to the current bank data object back to the selected bank. This is left in just in case later modules want to be able to modify the currently selected bank. 2013-12-11 17:09:17 +00:00
Les Newell
63ecf6ad73 OP-984 txpid can now select which bank it operates on, rather than using the flight mode selected bank. 2013-12-11 17:09:12 +00:00
Les Newell
68b8586c6b OP-984 Changed stabilization.c to handle multiple pid bank objects 2013-12-11 17:09:08 +00: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
Les Newell
d625242a45 OP-984 Updated vtolpathfollower to handle PID banks 2013-12-11 17:08:39 +00:00
Les Newell
b550e67056 OP-984 Updated txpid to handle pid banks 2013-12-11 17:08:31 +00:00
Les Newell
f523ba949d OP-984 Modified manualcontrol to use PID bank data object 2013-12-11 17:08:27 +00:00
Les Newell
fddf61377e OP-984 More changes to stabilization.c for bank switching 2013-12-11 17:08:22 +00:00
Les Newell
114c0ac561 OP-984 Added multiple banks code to stabilization.c 2013-12-11 17:08:18 +00:00
Les Newell
ec713be3ea OP-984 Added data UAV object for current stabilization bank 2013-12-11 17:08:10 +00:00
Corvus Corax
9c6abef89b fixed enabled and disabled messages for logging in all cases 2013-12-01 00:03:24 +01:00
Corvus Corax
be9faabe92 Merge branch 'next' into corvuscorax/onboardlogging 2013-11-26 00:34:01 +01:00
Corvus Corax
1c83d3ee28 BUGFIX to OpLinkMini: oplinkmod needs to initialize the Callback Scheduler
OPLMini does not use Systemmod but its own system module called
oplinkmod - which did not initialize the callback scheduler. Making the
event dispatcher a callback caused it to no longer run due to the
missing callback scheduler initialization
2013-11-24 21:24:55 +01:00
Corvus Corax
77b7ba3089 Added new setting 'OnlyWhenArmed' to debuglogsettings 2013-11-19 19:29:24 +01:00
Corvus Corax
d235a24e23 Merge branch 'next' into corvuscorax/onboardlogging 2013-11-19 18:49:58 +01:00
Corvus Corax
7a6c0b61e8 Merge branch 'next' into corvuscorax/callbackeventdispatcher2 2013-11-19 18:36:20 +01:00
Corvus Corax
951c7bfea0 removed redundant code from Telemetry 2013-11-17 22:20:19 +01:00
Corvus Corax
0e502d3734 Modified queue creation for telemetry and logging
event queues are now created for all uavobjects for both telemetry and
logging, so later modifications from manual to periodic are possible
2013-11-17 22:10:03 +01:00
Corvus Corax
fcc479f5cb more intelligent log interfacing, including flash formatting option 2013-11-17 20:14:50 +01:00
Corvus Corax
243e261411 UAVObject logging through telemetry module and uavobjectmanager 2013-11-17 17:15:23 +01:00
Corvus Corax
a0746d87fa Logging facility: logs debug data to logfs and exports it through container UAVObject 2013-11-17 02:54:26 +01:00
Corvus Corax
b3ebb91ceb uncrustification 2013-10-19 21:59:07 +02: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
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