1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

537 Commits

Author SHA1 Message Date
Alessio Morale
f9aa020de4 Merge remote-tracking branch 'origin/andrecillo/OP-1299_Autodetect_nbcells_battery' into next 2014-04-15 21:44:06 +02:00
Alessio Morale
5763ed3d8d OP-1235 make Initialization Acceldrift KI configurable 2014-04-14 10:58:46 +02:00
Andres
adcd606e16 OP-1299 uncrustify. 2014-04-13 14:08:34 +02:00
Andres
944e39db07 OP-1299 Small changes proposed in review process. 2014-04-13 14:07:16 +02:00
Bertrand Oresve
80d7363dfa OP-1056 Fix the TIMEUTC valid flags (with Werner suggestion) 2014-04-12 11:48:18 +02:00
Bertrand Oresve
d70d8df272 OP-1056 Fix the TIMEUTC valid flags in GPS UBX protocol 2014-04-12 09:24:08 +02:00
Corvus Corax
661bea2372 OP-1296 - some explicit const declarations in stateestimation 2014-04-10 20:17:01 +02:00
Andres
598a48a2d9 OP-1299 Added autodetect battery cell number before arming. Tested for LiPo from 2S to 6S. Over 6S counting is not possible for LiPo. Should work for LiCo too. LiFePo works only for 1S or 2S. I was not able to find values for LiFeSO4. FlightBatteryState has now two new fields: NbCells and NbCellsAutodetected, which register the autodetection. FlightBatteryState.NbCells should be used instead of FlightBatterySettings.NbCells now, when the number of cells in needed. FlightBatterySettings.NbCells is used by the user to prescribe a cell number or if equal to zero to ask for autodetection. 2014-04-10 17:28:48 +02:00
Alessio Morale
4764186a5f OP-1235 cleanup "magic numbers" 2014-04-08 20:51:16 +02:00
Corvus Corax
cb16cf04e1 Merge branch next into 'corvuscorax/OP-1296_barometer-initialization-fix' 2014-04-08 19:26:43 +02:00
Corvus Corax
011c598793 OP-1296 only use GPS in filterchains when explicitly requested
disallow arming when GPS is needed for initialization until lock is acquired
2014-04-08 18:31:11 +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
Alessio Morale
492275bf0e OP-1294 Fix undeclared STACK_SIZE_BYTES for revo 2014-04-06 19:26:48 +02:00
Alessio Morale
eed5c098ab OP-1294 Allow to specify different stack sizes for rx and tx telemetry task. 2014-04-06 19:19:44 +02:00
Corvus Corax
9a52f506ef drive-by bugfix in Fixedwingpathfollower 2014-04-06 15:38:22 +02:00
Corvus Corax
5b6d397f76 OP-1290 uncommented accidentally commented lines 2014-04-05 13:00:21 +02:00
Corvus Corax
bb91039f51 OP-1290 fixes in telemetry (and pios_board initialization) 2014-04-05 12:53:31 +02:00
Bertrand Oresve
654d842c22 OP-1288 Remove PositionSource from VtolPathFollowerSettings 2014-04-05 12:12:48 +02:00
Alessio Morale
8bb1d0148c Uncrustify 2014-04-01 22:58:23 +02:00
Alessio Morale
6540c69698 Merge remote-tracking branch 'origin/andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into next 2014-04-01 22:05:12 +02:00
Alessio Morale
3ebc17e7d7 Merge remote-tracking branch 'origin/sparkie79/OP-1266_negative-thermal-compensation-coeff' into next 2014-04-01 21:58:06 +02:00
Alessio Morale
fe985d2326 Merge remote-tracking branch 'origin/laurent/OP-1241_TxPID_Bank3' into next 2014-04-01 21:34:18 +02:00
Alessio Morale
18be34db05 Merge remote-tracking branch 'origin/filnet/OP-1246_RadioComBridge_bugs' into next 2014-04-01 21:31:32 +02:00
Andres
fd5d1e42a3 OP-1273 OP-1282 OP-1283 corrected compilation error for fw_revoproto 2014-04-01 07:46:50 +02:00
Andres
5ed417323e OP-1273 OP-1282 OP-1283 bug fixes on I2C library: check for intialization and hot-plug robustness 2014-03-31 22:16:29 +02:00
Andres
a08b7ad21c OP-1273 OP-1282 OP-1283 uncrustify 2014-03-28 17:11:55 +01:00
Andres
7067f4f8ff Merge branch 'andrecillo/OP-1283_SystemHealthGadgetWidget_updateAlarms_coordinate_calculation_correction' into andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements
Merged correction on coordinate calculation in SystemHealth gadget for correct display of Airspeed-Alarm
2014-03-28 17:01:44 +01:00
Andres
e014a61fcc OP-1273 OP-1282 OP-1283 diverse improvements in airspeed sensor handling including implementation of PixHaw sensor, airspeedalarm in Systemhealth and in all airspeed sensors; file added 2014-03-28 17:00:42 +01:00
Andres
9a207fbb80 OP-1273 OP-1282 OP-1283 diverse improvements in airspeed sensor handling including implementation of PixHaw sensor, airspeedalarm in Systemhealth and in all airspeed sensors; file changes 2014-03-28 16:59:52 +01:00
Andres
ef78320112 Merge branch 'andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into andrecillo/OP-1282_Eagletree_airspeed_sensor_I2C_alarms
Merged because both senosors should use the Airpeed alarm and andrecillo/OP-1282_Eagletree_airspeed_sensor_I2C_alarms is based on functionality implemented in andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO
2014-03-28 14:54:27 +01:00
Andres
7ec855af5f OP-1273 added and implemented Airpeed alarm for the PixHawk sensor 2014-03-28 14:18:14 +01:00
Corvus Corax
fe04cf7d29 uncrustification 2014-03-27 21:19:03 +01:00
Corvus Corax
7bd7c20fd9 Merge remote-tracking branch 'origin/Bertrand/OP-1267_Update_HomeLocation_In_LLA_Filter' into next 2014-03-27 21:17:42 +01:00
Andres
4188b492fc OP-1273 added I2C warning alarm during calibration of zero point, and uncrustify 2014-03-27 16:59:48 +01:00
Andres
af86a3eb37 OP-1282 Added I2C alarm in baro_airspeedGetETASV3 and did uncrustify 2014-03-27 16:49:57 +01:00
Andres
c5dc556a43 OP-1273 Uncrustify 2014-03-27 16:19:22 +01:00
Andres
8e26338f24 OP-1273 I2C Alarm reset to default when AirspeedSensorType is changed. Small cosmetic corrections 2014-03-27 09:32:17 +01:00
Cliff Geerdes
48345f0194 OP-1259 First tested version 2014-03-27 01:37:56 -04:00
Cliff Geerdes
45fa3220a5 Merge branch 'next' into theothercliff/OP-1259_Cruise_Control_Tweaks 2014-03-26 13:49:17 -04:00
Cliff Geerdes
81f31e64a9 OP-1259 WIP to merge next in locally 2014-03-26 13:48:24 -04:00
Cliff Geerdes
d38360b665 OP-1259 small code beautification 2014-03-26 13:35:04 -04:00
Cliff Geerdes
eaa58fd1dc Merge branch 'theothercliff/OP-1260_Rattitude_Tweaks' into next 2014-03-26 12:22:17 -04:00
Andres
9d30673d18 OP-1273 attitude estimation uses airspeedSensor.TrueAirspeed when available (e.g. from MS4525DO; available when TrueAirspeed >=0 ) instead of using an altitude correction IAS2TAS(alt). When not available it falls back to IAS2TAS(alt) 2014-03-26 09:15:56 +01:00
Bertrand Oresve
199193aa3f OP-1267 Fix UAV position after a HomeLocation Update (adding #define to be clearer) 2014-03-25 21:00:10 +01:00
Andrés Chavarría Krauser
4dff86dc9c OP-1273 New files for the MS4525DO PixHawk speed sensor: PIOS files and module files 2014-03-25 10:37:10 +01:00
Andrés Chavarría Krauser
f8f53d8801 OP-1273 Adaptations to include MS4525DO PixHawk speed sensor 2014-03-25 09:18:25 +01:00
Cliff Geerdes
d36cfe28ed OP-1260 finish renaming RattitudeModeTransition I don't know how it built before. 2014-03-23 19:04:17 -04:00
Cosimo Corrado
fc30ababf0 use fabsf instead abs 2014-03-23 22:07:09 +01:00
Cliff Geerdes
5ecea4bf33 OP-1260 fix misspelling of RattitudeModeTransition 2014-03-23 13:00:00 -04:00
Alessio Morale
abd7da20df Merge branch 'amorale/OP-1026_cpu_idle' into next 2014-03-23 15:32:19 +01:00
Bertrand Oresve
10dec58a10 OP-1267 Fix UAV position after a HomeLocation Update 2014-03-23 12:56:01 +01:00
Cliff Geerdes
6d7d10caba OP-1259 PowerDelayComp addtl inverted modes 2014-03-22 01:18:06 -04:00
Cliff Geerdes
820e8dfa3e OP-1260 use predefined macro for size of Flight Mode Switch 2014-03-21 22:34:03 -04:00
Cosimo Corrado
739aefd53b OP-1266 Fix checking for temperature compensation coeffs 2014-03-20 22:36:09 +01:00
Cliff Geerdes
945b60cf99 OP-1260 Fixed typo in a fairly important comment 2014-03-20 12:41:48 -04:00
Cliff Geerdes
1cb9d9548f OP-1160 limit values in flight code (not just GCS) to avoid DZ. Set GCS tab index back to 0. 2014-03-17 22:40:19 -04:00
Cliff Geerdes
390533f2e3 OP-1160 Oops, forgot to remove #if 0's after testing 2014-03-14 02:14:02 -04:00
Cliff Geerdes
297b0d01cb OP-1260 remove anti-windup, 2 PIDs, mode transition 2014-03-14 01:47:37 -04:00
Alessio Morale
8218becdac uncrustify 2014-03-09 16:43:31 +01:00
Alessio Morale
0f2d65a8e4 Merge branch 'amorale/OP-974_make_bl_info_available_to_fw' into next 2014-03-09 16:17:34 +01:00
Alessio Morale
f9abb1d8c1 Merge branch 'amorale/OP-1232_eventsys_warn_on_high_telem_update_rate' into next 2014-03-09 16:14:03 +01:00
Alessio Morale
e407eb8126 Merge branch 'next' of git://git.openpilot.org/OpenPilot into next 2014-03-09 14:38:17 +01:00
Alessio Morale
0b30b79c98 Merge remote-tracking branch 'origin/amorale/OP-1149_gyro_accel_thermal_calibration' into next
Conflicts:
	ground/openpilotgcs/src/libs/eigen/Eigen/src/Core/util/Memory.h
	ground/openpilotgcs/src/plugins/config/revosensors.ui
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2014-03-09 14:38:08 +01:00
Corvus Corax
0ece1a1fb3 OP-1216 removed "reverseThrottle" systemsetting and have reversethrottle implicitly allowed for REVERSABLEMOTOR type outputs 2014-03-09 10:00:58 +01:00
Corvus Corax
148b453aad OP-1216 added new mixer output type "reversable motor" to have engines which can can backwards go to a safe level when disarmed 2014-03-09 01:37:22 +01:00
Laurent Lalanne
aa7a8f62c7 OP-1241 TxPID Does not work for Bank 3 PID settings (Typo) 2014-03-07 22:04:14 +01:00
Philippe Renon
7ab38eacb6 OP-1246 removed now uneeded FIXME tag in RadioComBridge 2014-03-04 10:02:43 +01:00
Philippe Renon
067cb6f098 OP-1246 made updating of RadioComBridgeStats thread safe 2014-03-04 09:56:42 +01:00
Philippe Renon
29198e17cf OP-1246 fixed wrong logic for telemtryTxRetries and radioTxRetries : was wrongly accumulated 2014-03-04 09:51:45 +01:00
Philippe Renon
1e3e8a29a9 OP-1246 fixed clumsy error handling of UAVTalkSendObject calls from RadioComBridge 2014-03-04 09:49:34 +01: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
564a991222 adjusted Stabilization stack size to get rid of stack alarm 2014-03-02 19:11:49 +01:00
Corvus Corax
2f57ea2ab3 added missing initializations to allow boot without manualcontrol module 2014-03-02 19:00:37 +01:00
Corvus Corax
f61231f610 OP-1216 moved safety zeroing for channels from Stabilization to Actuators (so it also affects manual mode) 2014-03-02 15:35:39 +01:00
Corvus Corax
3ea9042279 Merge branch 'next' into corvuscorax/OP-1216_flight-control-refurbishment 2014-03-02 14:54:01 +01:00
Corvus Corax
cdca8d835c OP-1216 manualcontrol refactoring 2014-03-02 14:45:17 +01:00
Alessio Morale
7f6175d817 OP-1235 allows AccelBiasValue to quickly reach the target value at initialization 2014-02-23 13:05:20 +01:00
Alessio Morale
a2386f548b OP-1235 allow for live update of altitude estimation settings 2014-02-23 13:05:20 +01:00
Alessio Morale
bc3636bbd6 OP-1235 gives better names to state variables
Conflicts:
	flight/modules/StateEstimation/filteraltitude.c
2014-02-23 13:05:20 +01:00
Alessio Morale
2bcbf7dc86 OP-1026 remove legacy idle time calculation in OPLink code 2014-02-22 00:31:06 +01:00
Alessio Morale
3fc3b5b01b OP-1026 replace idle time calculation with task monitor API 2014-02-22 00:30:03 +01:00
Alessio Morale
3cf1662bc8 Merge remote-tracking branch 'origin/amorale/OP-1212_telemetry_prio_queue' into next 2014-02-21 19:16:52 +01:00
Alessio Morale
b879bd8fb4 OP-1232 set lowpriority field on all other UAVObjEvent usage intances 2014-02-18 01:04:43 +01:00
Alessio Morale
26f3422612 OP-1232 add a low priority flag that prevent raising the error counter in eventdispatcher, to be used for telemetry 2014-02-18 01:03:57 +01:00
Corvus Corax
e97ce303b8 Merge branch 'corvuscorax/OP-942_task-diagnostics-for-callbacks' into next 2014-02-18 00:03:07 +01:00
Alessio Morale
3044185019 Merge remote-tracking branch 'origin/amorale/OP-1218_pios_com_thread_safe' into rel-14.01
Conflicts:
	flight/modules/RadioComBridge/RadioComBridge.c
2014-02-17 15:24:50 +01:00
Corvus Corax
0ebc92d9f5 Merge branch 'corvuscorax/OP-942_task-diagnostics-for-callbacks' into corvuscorax/OP-1216_flight-control-refurbishment
Conflicts:
	flight/modules/AltitudeHold/altitudehold.c
2014-02-16 19:08:39 +01: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
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
f066bcb2d9 OP-942 changed enum term from HARMLESS to WARNING as requested 2014-02-16 12:50:40 +01:00
Corvus Corax
37ef381f8d OP-1216 clamping of throttle to -1 in actuators (optional) 2014-02-16 12:27:01 +01:00
Corvus Corax
5f2ce2e0a1 Merge branch 'next' into corvuscorax/OP-1216_flight-control-refurbishment 2014-02-16 12:26:45 +01:00
Alessio Morale
8cd5cfe2eb OP-1218 format/consmetic/comments fixes 2014-02-15 22:05:56 +01:00
Alessio Morale
21b0049a68 OP-1218 fix missing "ret =" 2014-02-11 16:51:56 +01:00
Alessio Morale
15200eafd8 OP-974 add bootloader revision info in FirmwareIAP 2014-02-11 12:38:55 +01:00
Alessio Morale
1ba5dbaca8 uncrustify 2014-02-10 22:57:24 +01:00