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

1036 Commits

Author SHA1 Message Date
Alessio Morale
002c35163a OP-1370 - Add support for mon-ver ack-ack and ack-nak messages for gps hw version detection 2014-08-21 19:34:36 +02:00
Alessio Morale
0198129a1c OP-1434 - Add 230400 to GPS port speed list 2014-08-21 19:34:36 +02:00
Alessio Morale
55557ecd60 OP-1434 - Add gps extended status 2014-08-21 19:34:35 +02:00
Alessio Morale
e511190ad3 OP-1406 - Improve handling of external magnetometer, add additional settings 2014-08-21 19:34:35 +02:00
Alessio Morale
cced294760 OP-1406 - Add support for aux mag calibration settings.
todo:
- GCS handling for extenal mag calibration
2014-08-21 19:34:35 +02:00
Alessio Morale
9d7a493c26 OP-1406 - Allows filtermag to switch between onboard and aux mag 2014-08-21 19:34:35 +02:00
Alessio Morale
52ad63be33 OP-1406 - Add support for Aux magnetometer on flight controllers 2014-08-21 19:34:35 +02:00
Alessio Morale
bb085ddab9 OP-1452 - Auto enable COMBridge module if a port is configured as ComBridge 2014-08-21 11:43:36 +02:00
Corvus Corax
8daa5dfa12 Merge branch 'next' into corvuscorax/OP-1156_pathfollower-unification 2014-08-16 13:58:40 +02:00
Corvus Corax
915c24c8b6 OP-1156 changed PID control loops to use generic pid library, readded unnecessary integral and derivative terms to vtolpathfollower 2014-08-15 21:00:48 +02:00
Corvus Corax
b562fcb02e OP-1156 fix path logic to not deviate from correct altitude too much 2014-08-15 17:56:57 +02:00
Stefan Karlsson
53fd76911e OP-1433 Group the PID options by Roll, Pitch, Roll+Pitch, and Yaw. 2014-08-14 07:23:25 +02:00
Alessio Morale
5dbbda3adc Merge remote-tracking branch 'origin/amorale/OP-1404_ublox_pvt_support' into next 2014-08-13 15:27:10 +02:00
Corvus Corax
09e8b38407 OP-1156 fixed EmergencyFlyaway detection algorithm 2014-08-12 19:12:05 +02:00
Corvus Corax
4fc071978c OP-1156 commit changed xml file 2014-08-12 18:23:45 +02:00
Corvus Corax
8944419b0f OP-1156 refactored pathfollower - new unified module as delayed callback - compiles but untested 2014-08-10 19:41:40 +02:00
Corvus Corax
a3d18bb578 Merge remote-tracking branch 'origin/D-Lite/PathFollowerImprovements' into corvuscorax/OP-1156_pathfollower-unification 2014-08-10 13:53:52 +02:00
Corvus Corax
ca1923f76f OP-1156: Added new (stub template) pathFollower Module as well as builkd environment changes to compile it instead of old pathfollowers 2014-08-10 12:50:38 +02:00
Stefan Karlsson
454d491e48 Merge branch 'next' into skarlsso/OP-1397_add_responsiveness_to_txpid
Conflicts:
	ground/openpilotgcs/src/plugins/config/configtxpidwidget.cpp
	ground/openpilotgcs/src/plugins/config/configtxpidwidget.h
2014-08-10 10:06:44 +02:00
Corvus Corax
c5fae5ee84 Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation 2014-08-09 10:43:48 +02:00
Gasté Olivier
dfb21482f4 DSM protocol improvement
added item in DSM protocol in GCS
2014-08-08 13:14:39 +02:00
Alessio Morale
a18009e875 OP-1429 Change datatype for elevation and azimuth respectively to int8 and int16. 2014-08-06 12:55:07 +02:00
Alessio Morale
6884e9f378 Merge remote-tracking branch 'origin/amorale/OP-1395_flight_log_enhancements' into next 2014-08-02 20:41:58 +02:00
Stefan Karlsson
a7ee6fa764 OP-1397 Add initial support for rate mode response (deg/s) 2014-07-30 23:49:56 +02:00
Stefan Karlsson
2113e1a2e1 OP-1397 Add initial support for attitude mode response (deg) 2014-07-30 23:48:55 +02:00
Cliff Geerdes
16ca5b67ff OP-1421 Cruise Control fix xml defaultvalue 2014-07-29 13:31:05 -04:00
Werner Backes
065ba1a0c8 Adds a 3D mode to path_vector. This allows vertical path segments without
position changes. PathStatus now also contains correction_direction and
path_direction to make path following behaviour more transparent.
2014-07-29 13:16:47 +02:00
Werner Backes
7da0034775 Improved automatic landing algorithm to better track descend speed.
Desired descend speed is now a FlightModeSetting.
2014-07-29 13:16:43 +02:00
Corvus Corax
5451003a58 Merge branch 'next' into corvuscorax/OP-1317_IMU_wind_estimation
Conflicts:
	flight/modules/Airspeed/airspeed.c
	flight/modules/Airspeed/gps_airspeed.c
2014-07-26 16:16:02 +02:00
Alessio Morale
e5b52d46d9 Merge remote-tracking branch 'origin/amorale/OP-1358_add_separate_rotation_calibration_offset_revo_only' into rel-14.06 2014-07-24 23:47:14 +02:00
Corvus Corax
2740631e06 OP-1412 change systemalarms to update periodic to not loose data 2014-07-22 23:50:39 +02:00
Corvus Corax
eec6c482ea OP-1412 change initial gyro bias uncertainty variance setting
from 1e-4 to 1e-6 to allow more stable filter initialization.
this is now valid thanks to available temp compensation and gyro bias
calibration in GCS
2014-07-22 23:38:50 +02:00
Alessio Morale
9bee143476 OP-1358 Revo:Implement roll/pitch trim settings separated from "nominal" board rotation settings 2014-07-21 11:01:07 +02:00
Alessio Morale
c5a9e1f3e1 OP-1413 - Land flight mode is actually not a finished auto landing system but rather a PH hack, thus it needs to be disabled from gcs until it is will be implemented properly. 2014-07-20 11:02:43 +02:00
Laurent Lalanne
c26e33964a OP-1063 Multi_config_Hexa_fixes Added OctoX, define new mixer table for Octo(p) and OctoX. New motor definition for OctoX (NNE, ENE...) Fixes for svg frames. Defined default settings for OctoP/X in setupwizard (but disabled) 2014-07-13 13:58:18 +02:00
Laurent Lalanne
a46480a99b OP-1063 Multi_config_Hexa_fixes : Added real HexaX, renamed HexaX > HexaH
Added artwork in config and wizard svg. Cleanup on svg connection diagram (layers)
DO NOT USE until mixers are fixed
2014-07-10 06:01:28 +02:00
Alessio Morale
55b325966a OP-1395 - Pack several objects on a single Debug Log "slot", after ten consecutive failures (log full) gives up trying to save to prevent wasting time. Use PIOS_Delay for timestamp 2014-07-08 02:47:09 +02:00
Alessio Morale
8b180dbbb9 Merge remote-tracking branch 'origin/amorale/OP-1378_check_limits' into rel-14.06 2014-06-30 23:16:22 +02:00
Alessio Morale
a3e808032c OP-1378 - Review the flight mode settings limits 2014-06-29 22:10:35 +02:00
Alessio Morale
fdbe58e8e6 OP-1375 Update Mag Ki and Kp default settings 2014-06-29 16:06:54 +02:00
Alessio Morale
1b823b7b92 Merge remote-tracking branch 'origin/Bertrand/OP-1308_Set_Same_Logic_To_Alarms' into next
Conflicts:
	flight/libraries/sanitycheck.c
	flight/modules/StateEstimation/filtermag.c
	flight/modules/System/systemmod.c
2014-06-26 20:31:27 +02:00
Alessio Morale
cbddcf9e5f Change SystemAlarm mode to Throttled to prevent any risk of telemetry flooding 2014-06-22 20:42:18 +02:00
Alessio Morale
c6a773363f Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
Conflicts:
	flight/pios/common/pios_adxl345.c
	make/apps-defs.mk
2014-06-22 19:31:03 +02:00
Alessio Morale
f30dd414ac Merge branch 'amorale/OP-1227_cc_high_cpu_utilization' into next 2014-06-22 16:06:08 +02:00
Corvus Corax
f1b7f339b6 OP-1371 setting to disable sanity checks for debugging and testing - will set config alarm to warning if set 2014-06-18 21:39:16 +02:00
Corvus Corax
7245ea9267 OP-1317 changed type and default for airspeedsettings filter coefficients 2014-06-18 20:36:50 +02:00
Corvus Corax
205edac762 Merge branch 'next' into corvuscorax/OP-1317_IMU_wind_estimation 2014-06-17 18:14:27 +02:00
Alessio Morale
68de1e4d4d OP-943 Raise heapremaining to uint32 2014-06-11 22:15:40 +02:00
Corvus Corax
80280256f9 OP-1287 changed default offsets for better behaviour with vtolpathfollower - needs to be increased to 500 on horizontal and 5 veetical for use with fixedwings 2014-06-11 18:29:43 +02:00
Corvus Corax
78acaf49ad OP-1287 fixed telemetry options for pathdesired , which were set way too aggressive 2014-06-09 23:39:05 +02:00
Corvus Corax
a19ebfec14 OP-1287 separate stick response setting for vertical and horizontal in PositionVario/AutoCruise modes 2014-06-07 23:06:11 +02:00
Alessio Morale
e9364271d1 OP-1365 Flight code instrumentation API: define ID unit as hex for perfcounter uavo 2014-06-06 22:40:22 +02:00
Alessio Morale
2396350f2f OP-1365 Flight code instrumentation API: Implementation of UAVObject wrapper layer 2014-06-06 22:19:27 +02:00
Corvus Corax
b9f9b91c8c OP-1287 added new pos vario flightmodes 2014-06-04 09:57:37 +02:00
Corvus Corax
f0c4b8f9c7 OP-1287 renamed VELOCITYCONTROL back to AltitudeVario for consistency 2014-06-03 18:42:54 +02:00
Corvus Corax
6bdcdba335 OP-1327 hotfix: change systemalarms acked to false 2014-05-27 18:50:16 +02:00
Corvus Corax
c6e168c972 Merge branch 'next' into corvuscorax/OP-1352_Headwind-improvements 2014-05-26 17:17:43 +02:00
Andres
9e80c4da9c OP-1317 Low-pass filter parameters added to airpeedSettings: IMUBasedEstimationLowPassPeriod1 pre-filter period in seconds, IMUBasedEstimationLowPassPeriod2 filter period in seconds. Oscillations with shorter periods than these, are filtered. If airspeed has too much noise increase IMUBasedEstimationLowPassPeriod2, else if it is too smooth descrease it. 2014-05-23 11:55:06 +02:00
Corvus Corax
5544e9c984 OP-1352 redesigned course calculation to take complete wind vector into account 2014-05-17 22:02:04 +02:00
Alessio Morale
80bd04075f OP-1350 Rename ReturnToHomeAltitudeOffset to ReturnToBaseAltitudeOffset 2014-05-16 18:51:04 +02:00
Alessio Morale
86b0829823 OP-1350 Add takeofflocation UAVO 2014-05-16 00:40:19 +02:00
Alessio Morale
58bba31c72 Merge remote-tracking branch 'origin/amorale/OP-1312_pios_ws2811_driver' into next 2014-05-15 20:30:43 +02:00
Alessio Morale
7182fe0194 Merge remote-tracking branch 'origin/amorale/OP-1329_airspeed_fixes' into next 2014-05-15 20:30:10 +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
4cf667123c OP-1161 changed default maximum warning and critical deviations for magnetometer 2014-05-08 00:20:00 +02:00
Alessio Morale
2ceef9ce86 OP-1326 Change default airspeed sensor to "None" 2014-05-07 22:47:50 +02:00
Corvus Corax
a2ae0601bb Merge remote-tracking branch 'origin/amorale/OP-975_calibration_process_changes' into corvuscorax/OP-1161_magnetometer-alarm 2014-05-06 18:51:46 +02:00
Corvus Corax
2bd7609de9 Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
Conflicts:
	ground/openpilotgcs/share/openpilotgcs/diagrams/default/system-health.svg
2014-05-06 17:30:00 +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
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
f7a2e31809 Merge branch 'next' into theothercliff/OP-1259_Cruise_Control_Tweaks
Conflicts:
	flight/pios/stm32f10x/inc/usb_conf.h
2014-05-01 22:58:10 +02:00
Corvus Corax
e47cad8ab8 OP-1309 changed default maximum rate for yaw (was too low, old Stabi ignored that setting) 2014-05-01 19:33:03 +02:00
Corvus Corax
6993570cc9 OP-1309 integrated AltitudeHold into new Stabilization 2014-05-01 11:48:38 +02:00
Corvus Corax
b6b03b767a Merge branch 'next' into corvuscorax/OP-1161_magnetometer-alarm
Conflicts:
	shared/uavobjectdefinition/revosettings.xml
	shared/uavobjectdefinition/systemalarms.xml
2014-05-01 10:26:53 +02:00
Cliff Geerdes
5ee2930181 OP-1259 Removed inverted flight pitch and yaw reverse option 2014-04-29 20:24:49 -04:00
Bertrand Oresve
6d3ade4947 OP-1308 Set the same logic for alarms 2014-04-29 22:25:49 +02:00
Corvus Corax
59bdab697a OP-1309 some CPU and memory optimizations to get it to run on CC 2014-04-29 18:17:29 +02:00
Corvus Corax
1632eeb58f OP-1309 some small fixes to Stabilization as result of simulator testing 2014-04-29 15:51:56 +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
844fcffec7 OP-1309 added cruisecontrol function library and outer loop template 2014-04-27 07:19:59 +02:00
Alessio Morale
001ee66b06 Merge remote-tracking branch 'origin/amorale/OP-1235_fix_altitude_estimation' into next 2014-04-26 23:03:48 +02:00
Corvus Corax
3f7c9e3679 OP-1309 inner stabilization loop in new incarnation - is not used yet until outer loop rewritten as well 2014-04-26 22:37:49 +02:00
Corvus Corax
77f2444fa4 OP-1309 renamed stabilization mode NONE to MANUAL 2014-04-26 20:33:25 +02:00
Alessio Morale
99f19dd809 OP-1312 Make WS2811 driver configurable.
Now output pin may be chosen among all servo outputs and Flexi-io pins 3 and 4 (they are not used for PWM input/output)
2014-04-26 19:48:44 +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
eb1b27b2e4 Merge remote-tracking branch 'origin/Bertrand/OP-1288_Remove_PositionSource_from_VtolPathFollowerSettings' into next 2014-04-15 21:47:37 +02:00
Alessio Morale
82139a6e44 Merge remote-tracking branch 'origin/amorale/OP-1294_fix_stacks_heap_cc' into next 2014-04-15 21:46:26 +02:00
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
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
1fe591d51e OP-975 change BoardRotation data type to float so it can be used for level calibration 2014-04-10 01:47:37 +02:00
Alessio Morale
8eeb3217bf OP-975/OP-1068 replace simple scaling with a calibration matrix for magnetometer correction 2014-04-08 21:22:09 +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
1d1e73717c remove two old stale lines in taskinfo 2014-04-06 19:19:48 +02:00
Corvus Corax
3018e73e91 OP-1290 saved some RAM by removing last alarm update time from UAVObject
(static allocated array instead, and smaller element size)
2014-04-06 12:24:42 +02:00
Bertrand Oresve
ce94ffd35c OP-1288 Remove PositionSource from VtolPathFollowerSettings (with correct default setting) 2014-04-06 10:43:54 +02:00
Corvus Corax
48876620fc OP-1290 fix event system issues caused by alarm flapping 2014-04-05 17:27:52 +02:00
Bertrand Oresve
654d842c22 OP-1288 Remove PositionSource from VtolPathFollowerSettings 2014-04-05 12:12:48 +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
Corvus Corax
96865faebd fixed systemalarms throttling due to prolems over radio telemetry 2014-03-30 16:40:42 +02:00
Andres
7ec855af5f OP-1273 added and implemented Airpeed alarm for the PixHawk sensor 2014-03-28 14:18:14 +01:00
Cliff Geerdes
81f31e64a9 OP-1259 WIP to merge next in locally 2014-03-26 13:48:24 -04: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
5ecea4bf33 OP-1260 fix misspelling of RattitudeModeTransition 2014-03-23 13:00:00 -04:00
Cliff Geerdes
6d7d10caba OP-1259 PowerDelayComp addtl inverted modes 2014-03-22 01:18:06 -04:00
Cliff Geerdes
297b0d01cb OP-1260 remove anti-windup, 2 PIDs, mode transition 2014-03-14 01:47:37 -04: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
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
Corvus Corax
696baff1e2 OP-1216 removed now uneeded TaskInfo entry for ManualControl 2014-03-02 22:49:29 +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
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
3cf1662bc8 Merge remote-tracking branch 'origin/amorale/OP-1212_telemetry_prio_queue' into next 2014-02-21 19:16:52 +01:00
Corvus Corax
b846ba3a1e OP-942 changed taskinfo to be non acked too 2014-02-17 23:32:54 +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
37ef381f8d OP-1216 clamping of throttle to -1 in actuators (optional) 2014-02-16 12:27:01 +01:00
Alessio Morale
15200eafd8 OP-974 add bootloader revision info in FirmwareIAP 2014-02-11 12:38:55 +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
Alessio Morale
a0baa17299 Add a proper description for ObjectPersistence 2014-02-07 18:37:56 +01:00
Alessio Morale
4a29db4983 OP-1212 Remove priority task from taskinfo 2014-02-07 18:29:19 +01:00
Alessio Morale
55fc327e3c OP-1212 prioritize FlightTelemetryStats, GCSTelemetryStats, OplinkStatus. 2014-02-07 18:28:39 +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
Corvus Corax
ebe320b435 OP-942 changed callbackinfo to non acked 2014-02-04 23:16:31 +01:00
Alessio Morale
43c3693248 OP-1212 add priority flag to some uavobjects 2014-02-04 21:04:08 +01:00
Corvus Corax
4ab4e48a98 OP-942 added missing new xml file 2014-02-03 01:05:30 +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
Philippe Renon
b58620c981 OP-1184 removed obsolete plots from the stack scope monitor gadget
did same in TaskInfo uav object
2014-01-24 00:17:47 +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
831817e15d OP-1022: reenable AH/AVario modes from "Flight Mode Switch Settings" GUI 2014-01-18 17:28:43 +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
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
Fredrik Arvidsson
627da4951b OP-984 Changed datatype of field CruiseControlFlightModeSwitchPosEnable to enum (TRUE|FALSE) instead of uint8.
Now the gui works, but the flight side must be checked for problems.
2014-01-17 01:32:29 +01: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
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
Corvus Corax
3b635693a5 OP-1161 changed the way magnetometer-errors are handled - and defaults
* ekf will ignore magnetometer errors for initialization
 (errors might be caused by not yet existing attitude estimation)
* defaults changed for filtering
* magnetometer sensor will be available for all filters, alarms need to
  be checked separately
2014-01-14 21:09:14 +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
Corvus Corax
3d1cc31c3b OP-1161 Add alarm for magnetometer plausibility check 2014-01-14 12:22:01 +01: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
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
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
Cliff Geerdes
ccc09721cd OP-1154 Initial version with UAVO's but no GCS GUI 2014-01-11 16:22:20 -05:00
Corvus Corax
879e29b6cd OP-1022 Changed altitude (vario) complementary filter to pay more attention to barometer and apply more filtering to accelerometer (needed to compensate vibration noise and errors on flying quads) 2014-01-11 14:12:02 +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
Fredrik Arvidsson
92c7e96fc8 Merge remote-tracking branch 'origin/LesNewell/OP-984_PID_banks' into thread/OP-984_PID_banks_GUI
Conflicts:
	ground/openpilotgcs/src/plugins/config/stabilization.ui
2014-01-11 09:41:36 +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
Philippe Renon
48aa89d2e7 OP-1122 OP-1120 OPLinkReceiver uavobject had no caterogy defined (is now part of the System category) 2014-01-09 21:48:27 +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
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
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
Cliff Geerdes
a48b9cc242 OP-1117 reduced CPU for CC/3D coded log2f() / powf() 2014-01-04 04:22:54 -05:00
Corvus Corax
a322c14d35 changed defaults for altitude hold control loop coefficients 2014-01-02 17:17:19 +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
Fredrik Arvidsson
955e1f1e08 OP-984 Chnaged field type to enum and added options in uavo definitions. 2013-12-29 17:46:37 +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
Alessio Morale
7ac2f9f87f OP-1149 Move accel/gyro calibration setting to a separate object, to be reused also for CC3D 2013-12-26 16:55:57 +01:00
Alessio Morale
558e2e1437 OP-1149 introduce a first order temperature calibration for gyro and accel.
gyro Z is instead using a 2nd degree polinomial for better accuracy as
its drift is harder to be corrected as with the other twos.
2013-12-25 18:11:53 +01: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
Philippe Renon
02e3970864 OP-1122 OP-1145 ground side uavtalk and telemetry enhancements
- added more stats (bytes, sync errors, crc errors)
- made error handling more robust
2013-12-19 03:19:29 +01:00
Philippe Renon
5f33fadb1b OP-1122 OP-1145 flight side uavtalk and telemetry enhancements
- added more stats (bytes, sync errors, crc errors)
- made error handling more robust
- added some optional PIOS_DEBUGLOG calls
- fixed a timestamp handling bug
2013-12-19 00:17:08 +01: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
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
5833e2a7cc OP-984 Added one UAVObject per PID bank 2013-12-11 17:08:51 +00:00
Les Newell
fc1a4ce3bb OP-984 cleaned up stabilization bank object 2013-12-11 17:08:14 +00:00
Les Newell
ec713be3ea OP-984 Added data UAV object for current stabilization bank 2013-12-11 17:08:10 +00:00
Alessio Morale
634ba79dcb OP-1141: allow to input a barometer bias model.
It uses a 3rd degree polynomial to model pressure bias as a function of temperature.
2013-12-10 01:46:28 +01:00
Philippe Renon
617924e64d Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
Conflicts:
	flight/uavobjects/uavobjectmanager.c
	ground/openpilotgcs/src/plugins/uavtalk/telemetrymanager.cpp
	ground/openpilotgcs/src/plugins/uavtalk/uavtalk.pro
	shared/uavobjectdefinition/pathaction.xml
	shared/uavobjectdefinition/waypoint.xml
2013-12-08 14:58:01 +01:00
Corvus Corax
3cea14a809 added missing object, added more debug output 2013-12-08 13:06:28 +01:00
Corvus Corax
4ad0e730da added status uavobject for easier debugging 2013-12-08 12:23:16 +01:00
Corvus Corax
623c25aa99 new design of altitude hold - warning not tested yet! 2013-12-07 23:16:22 +01:00
Corvus Corax
a4d53c18ac got rid of altholdsmoothed uavobject 2013-12-07 20:14:02 +01:00
Corvus Corax
3e1b0fd114 Merge branch 'next' into corvuscorax/OP-1022_AH_improvements_amorale 2013-12-07 16:33:57 +01:00
Philippe Renon
398a3ab0e6 OP-112 OP-1120 waypoint editor now sends and requests Waypoints and PathActions in a transacted and asynchronous manner. Board does not send Waypoints and PathActions periodically anymore. 2013-12-01 19:38:23 +01:00
Corvus Corax
77b7ba3089 Added new setting 'OnlyWhenArmed' to debuglogsettings 2013-11-19 19:29:24 +01:00
Corvus Corax
3bfe74e73c added some in uavobject definition comments 2013-11-19 18:55:38 +01:00
Corvus Corax
3f1ea5ed09 set all uavobjects logging mode to manual
enable only at users discretion as needed to preserve log space
2013-11-17 20:45:04 +01:00
Corvus Corax
fcc479f5cb more intelligent log interfacing, including flash formatting option 2013-11-17 20:14:50 +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
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
151d44b8e7 OP-1070 GrountTruth object sent to FC.
this should not be the case so remove it from periodic list.
2013-08-14 17:01:54 -07:00
Corvus Corax
0f31368c64 Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next 2013-08-11 15:13:23 +02:00
Alessio Morale
9e1acc3165 OP-1058: fix needed for fw_revolution code compilation 2013-07-31 15:24:26 +02:00
Oleg Semyonov
77a6db3007 Merge remote-tracking branch 'origin/os/baro-offset-lpf' into next 2013-07-30 23:41:37 +02:00
Oleg Semyonov
1bfa66c2b6 Change settings for baro altitude offset correction 2013-07-26 21:14:44 +02:00
Corvus Corax
c8044206a4 adjusted default for max pid after test flight 2013-07-20 16:27:49 +02:00
Corvus Corax
2ecbf4a846 add code to scale stabilization PID coefficients by 1/airspeed^2 if the user wishes to do so 2013-07-20 13:52:45 +02:00
Corvus Corax
b3cbb57a2b made low pass filter alpha a setting 2013-07-20 10:40:29 +02:00
Corvus Corax
02f11eeb5b Merge branch 'next' into corvuscorax/OP-1036_fixed-wing-improvements 2013-07-20 08:52:56 +02:00
Alessio Morale
6b27ff1e27 OP-1022 add position lowpass, rework setting uavo, cleanup 2013-07-19 11:28:48 +00:00
Oleg Semyonov
aa560653d4 Make baro altitude offset (relative to GPS alt) filter configurable 2013-07-19 09:53:44 +03:00
Corvus Corax
ea8373b0f7 re-enabled wind estimation absed on groundspeed 2013-07-18 20:01:02 +02:00
Sambas
c10cbc1e90 Better defaults for VtolPathFollower, tested successfully with couple different frames. 2013-07-18 20:56:15 +03: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
Corvus Corax
6c88184b32 Merge branch 'corvuscorax/OP-1036_fixed-wing-improvements' into next 2013-07-18 09:46:23 +02:00
Corvus Corax
276c0bb312 fixed default settings on fixed wing path follower safety margins 2013-07-18 09:33:36 +02:00
Corvus Corax
bffe119214 made safety checks in fixed wing path follower configurable 2013-07-17 14:50:23 +02:00
Alessio Morale
005a68826d OP-1022 Converted to a plain Altitude PID + Velocity PI implementation 2013-07-17 08:38:44 +00:00
Werner Backes
7138faf167 Adjusted default settings for altitude hold.
Conflicts:
	shared/uavobjectdefinition/altitudeholdsettings.xml
2013-07-16 21:25:34 +00:00
Werner Backes
45cebda628 Add a configurable lowpass filter to smooth throttle commands in
AltitudeHold mode.

Conflicts:
	flight/modules/AltitudeHold/altitudehold.c
	shared/uavobjectdefinition/altitudeholdsettings.xml
2013-07-16 21:21:21 +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
0203e2c6e2 OP-1022 Adding a proportional term on the square of the altitude error. 2013-07-16 20:01:16 +00:00
Alessio Morale
5b4d46819e OP-1022 Fix problem with EventSystem due to too high update rate 2013-07-16 12:25:58 +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
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
Alessio Morale
11bc7804d0 Merge branch 'amorale/OP-994_adc_cleanup' into next 2013-07-16 12:23:25 +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
95079db030 changed fixedwingpathfollowe powerPi default 2013-07-15 22:51:13 +02:00
Corvus Corax
47adbb98a1 updated EKF configuraton defaults, mags less sensitive to engine noise 2013-07-15 22:46:27 +02:00
Corvus Corax
f831343c73 making pathactions and waypoints acked uavobjects for more robust update over telemetry 2013-07-15 22:21:13 +02:00
Corvus Corax
8b6510da4f Made AltitudeOffset for ReturnToHome configurable, Made Failsafe-FlightMode configurable. 2013-07-15 09:14:09 +02:00
Alessio Morale
402c84c003 OP-994 Added zero calibration settings
+review OPReview-506
2013-07-14 20:26:07 +00:00
Corvus Corax
65f890982e adjusted default fixed wing pathfollower settings to be more reasonable
tags: dekenzification
2013-07-11 14:02:05 +02:00
Corvus Corax
c1f32e9beb OP-1036: rename some settings and move them in the right place
tags: de-kenzification
2013-07-10 15:55:12 +02:00
Corvus Corax
27eadc200b Merge branch 'corvuscorax/lla2nedfilter' into next
Conflicts:
	flight/modules/StateEstimation/stateestimation.c
2013-07-10 14:38:12 +02:00
Corvus Corax
551780c74b Merge branch 'corvuscorax/complementary_altitude_filter' into next
Conflicts:
	flight/targets/boards/revolution/firmware/UAVObjects.inc
2013-07-10 14:27:25 +02:00
Brian Webb
c2df59498b Merge remote-tracking branch 'origin/master' into next 2013-07-06 07:08:30 -07:00
Brian Webb
d0d8a0aadd OP-932 Adds PWM outputs to OPLinkMini. Both gpio pins on the main and/or flexi port can be configured to output PWM for a total of up to 4 PWM outputs. 2013-07-03 18:58:34 -07:00
Corvus Corax
0107432e45 Added a low pass filter for accels to the altitude filter 2013-07-02 23:17:08 +02:00
Corvus Corax
a259e6d62c removed now unneeded line from systemsettings (moved to gpssettings) 2013-06-30 20:06:42 +02:00
Corvus Corax
b3aa81d983 added missing file 2013-06-30 20:04:32 +02:00
Corvus Corax
51a4b16af5 New Filter to calculate NED from LLA as part of StateEstimation 2013-06-30 18:49:29 +02:00
Corvus Corax
7745f93935 changed default coefficients and exposed them to a settings uavobject as they should be 2013-06-29 01:16:02 +02:00
Brian Webb
2aea2342ab OP-932 Adds a direct PPM channel on each Tx packet when in PPM mode, and adds a PPM only mode that uses a 9600 bps air datarate. Also updates the OPLink configuration tab and moves all OPLink configuration to the OPLink configuration tab on the Revo, and customizes the OPLink configuration tab for the Revo. 2013-06-26 18:01:54 -07:00
Brian Webb
f8d60e6dee OP-932 Adds additional thread and UAVTalk connection to the telemetry module that reads from the uart/radio link on the Revo. This allows the Revo to read OAVObjects over both the uart/radio link and the USB link at the same time. Unfortunately, there's no way to know which link to send UAVObjects out on, so all UAVObjects go to the USB port if USB is connected. This allows UAVObjects to be received from the OPLink radio, even when USB is connected. 2013-06-26 17:58:02 -07:00
Brian Webb
774a74884a OP-932 Replaces the RFM22B PPM/receiver code with an OPLinkReceiver UAVObject. This object is generated on a coordinator OPLink, and is used by both the OPLink to generate PPM output, and the OPLinkReceiver on the Revo. 2013-06-26 17:57:11 -07:00
Brian Webb
8c370df319 OP-932 A significant re-work of the OPLink and configuration of the OPLink. Auto-configuration is removed, and remote modems are bound the coordinator, rather than the other way around. Timing of the radio link is also significantly changed. The rfm22b code is also simplified so that it only sends packet, and has no notion about what those packets are, so the rfm22b is converteded to simply a com type device. 2013-06-26 17:56:56 -07:00
Brian Webb
08efc8d152 OP-932: Adds an oplink receiver device, which is based on the gcs receiver device, but uses the OPLinkReceiver UAVObject. The OPLinkReceiver packets are generated on the OPLink modem. 2013-06-26 17:56:20 -07:00
Corvus Corax
0c43346292 Merge branch 'corvuscorax/OP-947_stateestimator-module' into next
Thanks everyone for helping getting this together, especially Alessio
and DLite :-)
2013-06-25 23:48:12 +02:00
Corvus Corax
e2fca0fcdd bugfix in uavobject definition 2013-06-25 19:32:50 +02:00
Corvus Corax
f2abe1f5c7 StateEstimation: removed (not yet implemented) 16 state EKF support for now 2013-06-25 19:30:21 +02:00