Corvus Corax
7ec21a8f36
OP-942 duplicated exact API of task_monitor to also monitor callbacks
...
This allows cleaner and fine grained handling of STACKOVERFLOW alarms
2014-02-07 22:39:16 +01:00
Alessio Morale
8bdadaaff2
OP-1212 better wait on priority queue than std queue
2014-02-07 20:01:02 +01:00
Alessio Morale
7a39d93952
OP-1212 handle priority queues for setUpdatePeriod and setLoggingPeriod
2014-02-07 18:36:33 +01:00
Corvus Corax
9a6072d58c
Merge branch 'next' into corvuscorax/OP-942_task-diagnostics-for-callbacks
...
Conflicts:
flight/targets/boards/simposix/firmware/Makefile
2014-02-07 00:31:32 +01:00
Corvus Corax
6566a29054
OP-942 reliable and fast free stack test algorithm - will always 'see' overflows
2014-02-06 23:54:30 +01:00
Corvus Corax
c7ada40c2e
Merge branch 'corvuscorax/OP-1211_time_measurement_helper' into rel-14.01
2014-02-06 19:56:47 +01:00
Corvus Corax
216ec095e4
OP-1211 removed unneeded define
2014-02-06 19:34:34 +01:00
Alessio Morale
df2bb8eb84
OP-1149 missing uncrustification
2014-02-06 00:57:57 +01:00
Alessio Morale
5bb5b34447
OP-1149: second order correction for all gyro axis. Add calibrated range contraint for temperature.
...
cleanup replacing all the arrays of floats[] with corresponding AccelGyroSettings* structs.
2014-02-06 00:57:27 +01:00
Alessio Morale
c9f9faafd5
OP-1149: all gyro have second order temp bias polynomials. remove unneeded copies of AccelGyroSettings values
2014-02-06 00:52:44 +01:00
Alessio Morale
13f1f3f23a
OP-1212 Add "priority" attribute to uavojects that grant them higher priority when sent with telemetry
2014-02-04 21:03:42 +01:00
Alessio Morale
01822d7a0c
OP-1212 Fix priority queue handling and use it for setting processing
2014-02-04 20:49:36 +01:00
Corvus Corax
28be9cc8ce
OP-1211 adapted existing code to use new pios functionality instead of separate error prone implementations
2014-02-04 19:48:33 +01:00
Corvus Corax
a3bb523bf3
OP-1211 adjusted alpha value to more sensible default
2014-02-04 19:21:33 +01:00
Corvus Corax
723e22aa1a
OP-1211 time_measurement_helper
2014-02-04 19:05:17 +01:00
Corvus Corax
cc04b780c5
OP-942 one possible but not well working implementation of stack end check
2014-02-04 17:53:51 +01:00
Alessio Morale
eea194d22f
OP-1149: fix type for accel bias.
2014-02-03 20:30:10 +01:00
Corvus Corax
418f7e3d0f
OP-942 task diagnostics for callback scheduler
2014-02-03 01:00:07 +01:00
Corvus Corax
49a1c4c28f
OP-942 refactored callback scheduler to fit into PiOS naming scheme
2014-02-02 22:08:16 +01:00
Corvus Corax
5b9a17f630
OP-942 moved DelayedCallbackScheduler into pios/common
2014-02-02 20:31:37 +01:00
Corvus Corax
b076ba02a1
OP-942 API change to CallbackScheduler - include unique ID for each callback for a taskinfo like UAVObject
2014-02-02 19:54:17 +01:00
Alessio Morale
27c19d7cb1
OP-1149/OP-1150: uncrustify/Cleanup
2014-02-02 18:53:35 +01:00
Alessio Morale
e599b01806
OP-1149: Fix calibraton settings not loaded at startup.
2014-02-02 18:50:53 +01:00
Corvus Corax
8b25ac1894
OP-1195 adapted task priorities for manualcontrol and stabilization
2014-02-02 14:13:25 +01:00
Corvus Corax
597ac4db2a
OP-1195 increase priority for pios radio link driver task
2014-02-02 14:09:50 +01:00
Alessio Morale
68d676db64
OP-1149: limit accel/gyro correction to calibrated temperature range.
2014-01-31 21:01:09 +01:00
Alessio Morale
f1bea0556d
OP-1149: limit baro correction to calibrated temperature range.
2014-01-28 23:08:28 +01:00
Alessio Morale
9c1c556c9c
Merge branch 'amorale/OP-1139_baro_2nd_order_compensation' into amorale/OP-1149_gyro_accel_thermal_calibration
2014-01-26 22:54:57 +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
02c7084196
Merge remote-tracking branch 'origin/next' into amorale/OP-1149_gyro_accel_thermal_calibration
...
Conflicts:
ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro
2014-01-23 01:02:13 +01:00
Alessio Morale
99e9009c14
Merge branch 'amorale/OP-1188_stabilization_stack_optimization' into rel-14.01
2014-01-22 20:27:25 +01:00
Alessio Morale
3ef980aa89
OP-1188 fix stack for coptercontrol
2014-01-22 00:01:58 +01:00
Alessio Morale
c1f810f1ce
OP-1188 fix an issue that is preventing bank initialization at startup
2014-01-22 00:01:38 +01:00
Alessio Morale
f9ac3a3de2
OP-1188 Optimize stack utilization for multipid bank selection in Stabilization module
...
+review OPReview
2014-01-21 22:44:26 +01:00
Corvus Corax
6d855fbaf0
OP-1177 remove cc algorithm from altitude hold code
2014-01-21 20:21:38 +01:00
Alessio Morale
7188394e39
Uncrustification
2014-01-19 12:37:25 +01:00
Alessio Morale
1b0c301c20
OP-1152 Fix stabilization stack size on Revo.
2014-01-18 17:59:56 +01:00
Alessio Morale
745a9e8853
Merge remote-tracking branch 'origin/fnurgel/OP-1148_r7008sb_sbus_protocol_fix' into next
2014-01-18 14:21:57 +01:00
Alessio Morale
1f61676d0a
Merge branch 'amorale/OP-1152_stack_verification' into next
...
Conflicts:
flight/targets/boards/coptercontrol/firmware/inc/pios_config.h
2014-01-18 13:54:06 +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
Cliff Geerdes
bfb5a248a0
OP-1154 enables for individual flight mode switch positions
2014-01-16 16:51:19 -05:00
Corvus Corax
41202a0227
Merge branch 'corvuscorax/OP-1022_AH_improvements_amorale' into next
2014-01-15 22:47:42 +01:00
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
Philippe Renon
694747cd27
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
...
Conflicts:
ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp
2014-01-15 20:12:08 +01:00
Philippe Renon
3f66d656ca
OP-1122 OP-1158 - renamed uavobject FlightPlan to PathPlan
2014-01-15 20:04:54 +01: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
Philippe Renon
d43b220dc0
OP-1122 uncrustified gcs and flight
2014-01-14 22:46:01 +01:00
Fredrik Arvidsson
48984a25fd
OP-984 fixed corrupt file.
2014-01-14 21:23:43 +01:00
Philippe Renon
1fca85784c
OP-1122 OP-1145 added more path plan checks :
...
- empty plan (i.e. no waypoints defined)
- out of range waypoint and path action ids
+review OPReview-609
2014-01-14 21:08:40 +01:00
Philippe Renon
8ccdb252d1
OP-1122 OP-1145 commented out PIOS_DEBUGLOG_Printf calls in pathplanner
...
+review OPReview-609
2014-01-14 21:08:35 +01:00
Philippe Renon
96588ab13e
OP-1122 OP-1145 fixed logging helper as per review
...
+review OPReview-604
2014-01-14 21:05:27 +01:00
Philippe Renon
7f2c24db2b
OP-1122 OP-1158 - renamed uavobject FlightPlan to PathPlan
...
+review OPReview-609
2014-01-14 21:05:16 +01:00
Les Newell
a6a84a9ef1
Merge branch 'next' into LesNewell/OP-984_PID_banks
...
Conflicts:
flight/modules/Stabilization/stabilization.c
2014-01-14 19:08:32 +00: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
76ee48bc44
OP-1122 safer sanity checks and arming prevention in case of invalid flight plan
2014-01-12 21:37:40 +01:00
Corvus Corax
3d5e27f5f2
OP-1122 fixed simposix so it will compile with new objects
2014-01-12 21:06:41 +01:00
Corvus Corax
cb9e76b006
OP-1122 add flightplan safety check to pathplanner - failsafe rth when flightmode is set to pathplan but no valid plan is uploaded
2014-01-12 21:05:54 +01:00
Corvus Corax
b8118f51e7
OP-1156 Made PathPlanner work with delayed callbacks in "navigation" callback task
...
Conflicts:
flight/modules/PathPlanner/pathplanner.c
2014-01-12 20:13:48 +01:00
Corvus Corax
2ce0cb7909
reverted changes to fixedwingpathfollower - wrong module
2014-01-12 20:13:00 +01:00
Philippe Renon
a64720a9f1
OP-1122 OP-1158 added flight plan CRC consistency checks (in GCS and fixedwingpathfollower module)
...
- need to do the same in vtolpathfollower module)
- addressed an issue that could cause unwanted waypoints to be used (path follower was looping over all instanciated wp)
2014-01-12 19:42:12 +01:00
Philippe Renon
ff8a001a51
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
...
Conflicts:
ground/openpilotgcs/src/plugins/config/configpipxtremewidget.cpp
ground/openpilotgcs/src/plugins/uavobjectutil/uavobjectutilmanager.cpp
2014-01-12 16:29:17 +01:00
Philippe Renon
aa24f2193a
OP-1122 OP-1158 renamed FlightPlanInfo uavobject to FlightPlan
2014-01-12 15:23:21 +01:00
Philippe Renon
c8a81f88a4
OP-1122 OP-1158 added facility to update a CRC with uavobject data (flight side)
2014-01-12 15:12:41 +01:00
Philippe Renon
d8d9adb1fd
OP-1122 OP-1158 remove unused flightplan.h (fixes conflict with new FlightPlan uavobject)
2014-01-12 15:10:15 +01:00
Cliff Geerdes
ccc09721cd
OP-1154 Initial version with UAVO's but no GCS GUI
2014-01-11 16:22:20 -05:00
Corvus Corax
77d15b9566
Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale
2014-01-11 10:57:31 +01:00
Corvus Corax
f2bc6508c4
uncrustify --- somone forgot to run uncrustify when merging to next -
...
again!!! ;)
2014-01-11 10:55:50 +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
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
Les Newell
8eb2eefec7
Merge branch 'LesNewell/OP-984_PID_banks' into next
2014-01-10 15:24:28 +00:00
Philippe Renon
bcb59a3dca
OP-1122 OP-1120 Added missing FligthPlanInfo uavobject to revoproto/firmware/UAVObjects.inc
2014-01-09 21:46:50 +01:00
Philippe Renon
8c7792b6e5
OP-1122 OP-1120 Added a new FligthPlanInfo uavobject
...
- FligthPlanInfo contains the number of waypoints and action pathes
- FligthPlanInfo contains a CRC of all waypoints and action pathes
- The CRC is not yet implemented
- These informations will be used to check the consistency of a flight plan
2014-01-09 01:06:00 +01:00
Philippe Renon
03b3dca76c
OP-1122 OP-1145 flight telemetry improvement
...
- create periodic queue events only for periodically updated uavobjects
- made error handling more robust
- added a FIXME concerning FlighTelemetryStats as it is updated peridocally using two separate mechanisms
2014-01-06 21:48:34 +01:00
Philippe Renon
fe4fe46e34
OP-1122 OP-1145 flight uavtalk minor typo fix and minor error handling improvment
2014-01-06 21:45:01 +01:00
Philippe Renon
772c395e67
OP-1122 OP-1145 fixed handling of ground messages done by OPLM
...
- OPLM used to receive and relay all messages
- OPLM will now reveice only specific messages and relay others as required (needs to be reviewed...)
- add RadioComBridgeStats uavobject to collect and report tx/rx statistics
- made error handling more robust
- added a few FIXMEs
2014-01-06 21:35:00 +01:00
Alessio Morale
adde6b2f34
OP-1153 Fix for simposix
2014-01-05 23:32:20 +01:00
Alessio Morale
fff060ed9d
OP-1153 Add a way to monitor SystemMod stack usage without DIAG_TASKS=y
...
SystemStats.SystemModStackRemaining field does contains the relevant information.
2014-01-05 23:28:31 +01:00
Alessio Morale
3aa7a1d352
OP-1152 change stack size to accomodate recent changes in dispatcher, telemetry for former CC (hw rev 1)
...
+review OPReview
2014-01-05 23:13:06 +01:00
Cliff Geerdes
a48b9cc242
OP-1117 reduced CPU for CC/3D coded log2f() / powf()
2014-01-04 04:22:54 -05:00
Mikael Blomqvist
b1d2c1b83e
Adding R7008SB end byte as a possible end of frame check for S.Bus
2014-01-03 18:25:44 +01: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
Alessio Morale
bd1442437f
OP-1139: fix wrong sign for bias and some optimizations
...
+review OPReview-598
2014-01-01 19:13:26 +01:00
Corvus Corax
f5dbe29896
Merge remote-tracking branch 'origin/amorale/OP-1139_baro_2nd_order_compensation' into corvuscorax/OP-1022_AH_improvements_amorale
2013-12-31 16:38:15 +01:00
Philippe Renon
fca840397e
Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
2013-12-30 22:18:52 +01:00
Corvus Corax
1cb402ff22
bugfix to eventdispatcher to fix uavtalk issue on coptercontrol
2013-12-30 01:42:46 +01:00
Corvus Corax
b786cec832
bugfix to eventdispatcher to fix uavtalk issue on coptercontrol
2013-12-30 01:40:27 +01:00
Corvus Corax
cefcb9881a
Altitude Hold - compensation for tilt
2013-12-29 19:09:54 +01:00
Alessio Morale
e04cef2fa4
OP-1149 Uncrustify
2013-12-29 18:45:44 +01:00
Alessio Morale
ac3d7b8d11
OP-1149 Implements thermal accel/gyro bias correction for CC3D
2013-12-29 14:23:46 +01:00
Alessio Morale
260db3446c
OP-1149 changes in CC/CC3D code to use AccelGyroSettings for bias/scale instead of AttitudeSettings.
...
Bias units of measure are now normalized between CC/CC3D/Revo.
2013-12-29 14:08:53 +01:00
Corvus Corax
505d334c4b
simplified altitude hold control loop
2013-12-27 18:37:27 +01:00
Corvus Corax
1cccd152bd
added AltitudeHold to simposix
2013-12-27 16:50:30 +01:00