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

814 Commits

Author SHA1 Message Date
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