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

828 Commits

Author SHA1 Message Date
Corvus Corax
09e8b38407 OP-1156 fixed EmergencyFlyaway detection algorithm 2014-08-12 19:12:05 +02:00
Corvus Corax
56e4127bca OP-1156: add path_direction as a source for yaw as suggested by Werner :) 2014-08-12 18:18:07 +02:00
Corvus Corax
ea4e7962a6 OP-1156 fixed wrong callback ID assignment for pathfollower callback diagnostics 2014-08-10 21:17:55 +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
Alessio Morale
1158c70a46 OP-1404 - minor cleanup, removed some duplicated code 2014-08-09 12:49:21 +02:00
Alessio Morale
2932045e3d OP-1404 Fix NMEA data parsing for GSV 2014-08-09 12:04:25 +02:00
Corvus Corax
c5fae5ee84 Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation 2014-08-09 10:43:48 +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
d04d630273 OP-1404 fix include file path 2014-08-05 17:25:28 +02:00
Alessio Morale
23d2368984 OP-1404 Fix nav-pvt.pdop data type 2014-08-05 16:50:38 +02:00
Alessio Morale
ea63def1c8 OP-1404 fix compilation with PIOS_GPS_MINIMAL, fix some copy/pastem madness 2014-08-04 18:17:01 +02:00
Alessio Morale
240eb8e573 OP-1404 - Prevent mixing pvt and other sentence solution data. use PDOP from pvt 2014-08-04 17:56:28 +02:00
Alessio Morale
d3569927a0 OP-1404 fix unit scaling for pvt, use check_msgtracker, 2014-08-04 11:04:35 +02:00
Alessio Morale
6f4b1d5c03 OP-1404 uncrustify 2014-08-03 15:27:30 +02:00
Alessio Morale
c68dd3c00e OP-1404 - PVT will provide SOL+VELNED+POSLLH+Time. DOP will provide all dop values 2014-08-03 15:04:40 +02:00
Alessio Morale
1dd05c24cc OP-1404 - Fix compilation with PIOS_GPS_MINIMAL defined 2014-08-03 12:50:42 +02:00
Alessio Morale
0976fb6e1b OP-1404 - Add support for UBlox PVT sentence 2014-08-03 12:50:21 +02:00
Alessio Morale
016ba6940d OP-1403 - drop attitude/revolution as it has been supersede by StateEstimation module 2014-08-02 20:48:56 +02:00
Alessio Morale
d856bbdb50 OP-1403 - Update targets 2014-08-02 20:48:48 +02:00
Alessio Morale
57a43a5587 OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one 2014-08-02 20:48:34 +02:00
Stefan Karlsson
7f344da977 OP-1397 Round to instead of floor to uint8_t values in txpid.c 2014-08-01 14:51:39 +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
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
3e2961420d Add a 3D mode to path_endpoint. This allows FlyDirect waypoints to do
vertical movements without changing position.
2014-07-29 13:16:39 +02:00
Corvus Corax
5edb2dbae3 Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation 2014-07-26 17:01:03 +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
a199fd1cb0 OP-1412 do not dicard mags after init 2014-07-23 22:40:43 +02:00
Andres
7f8e709e17 OP-1317 uncrustify 2014-07-23 08:04:52 +02:00
Andres
e195befc3a OP-1317 removed comments 2014-07-23 08:03:48 +02:00
Corvus Corax
95799cf11b OP-1412 delay ekf initialization until magnetometers are reporting valid data 2014-07-22 23:49:41 +02:00
Andres
ffabbc577c OP-1317 moved Butterworth filter code into flight/libraries/math/butterworth.* 2014-07-22 20:03:43 +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
Andres
df4d211f8b OP-1317 added a proper initialization of the Butterworth filter values 2014-07-20 16:22:27 +02:00
Andres
d7d20bb10f OP-1317 merge with branch corvuscorax/OP-1317_IMU_wind_estimation 2014-07-20 15:46:35 +02:00
Andres
ddde6d1f5e OP-1317 changed int into int32_t in function Quaternion2PY() 2014-07-20 15:26:05 +02:00
Alessio Morale
62755c4cab unrustify 2014-07-16 20:39:12 +02:00
Alessio Morale
25c54ac16d Merge remote-tracking branch 'origin/laurent/OP-1063_Multi_config_Hexa_fixes' into rel-14.06 2014-07-16 20:07:31 +02:00
Laurent Lalanne
1b447ee644 OP-1063 Multi_config_Hexa_fixes Stupid typo error with OctoX in VtolPathFollower. 2014-07-14 23:29:48 +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
rodneygrainger
3aaf1a3367 OP-1391 - Fix to prevent arming if unsafe due to current Thrust Mode (Altitude Hold/Vario) 2014-07-07 20:47:23 +12:00
Corvus Corax
80d3d7c954 OP-1374 hotfix to filtercf on checking of magnetometer calibration fabsf() 2014-06-29 18:36:46 +02:00
Alessio Morale
30491c7992 OP-1374 - Autostart the relevant PathFollower for known frame types 2014-06-29 17:23:57 +02:00
Alessio Morale
3ae85f6434 OP-1374 - Issue a Boot Alarm (reboot) if frame type is changed 2014-06-29 17:23:15 +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
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
a03ad41bab Merge branch 'amorale/OP-1365_pios_instrumentation' into next
Conflicts:
	flight/modules/Attitude/attitude.c
2014-06-22 19:13:46 +02:00
Alessio Morale
263fd64ab5 Merge branch 'amorale/OP-1274_freertos_v8.0.0' into next 2014-06-22 16:06:21 +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
3f11f4f6b2 OP-1371 fix for hitl: turn of receiver alarm if in gcs control mode (but set warning) 2014-06-18 22:46:44 +02:00
Corvus Corax
7898d507ca drive-by bugfix in #ifdefed code affecting simposix 2014-06-18 20:41:58 +02:00
Corvus Corax
7933f2154c OP-1317 - project 3d airspeed vector unto fuselage vector to get scalar airspeed estimate 2014-06-18 12:44:10 +02:00
Alessio Morale
eb5deb3eca OP-1274 Remove unneeded cast from task name in xTaskCreate call 2014-06-18 01:47:43 +02:00
Corvus Corax
3d9f1ca93a OP-1317 changed imu wind estimation to actually estimate wind (and lowpass filter it) 2014-06-17 18:51:26 +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
6226aec2a7 OP-943 uses pios_mem API for heap allocation 2014-06-11 22:15:40 +02:00
Alessio Morale
16cb081f5c OP-1365 Flight code instrumentation API: Sample use of instrumentation in Atittude module.
When instrumentation is enabled at board level (pios_board.h, enable PIOS_INCLUDE_INSTRUMENTATION) PIOS_INSTRUMENT_MODULE setups the module to be instrumented.
2014-06-10 21:38:12 +02:00
Alessio Morale
8710ff4070 OP-1227 Fix high CPU usage: Some minor to Actuator module. 2014-06-08 22:39:16 +02:00
Alessio Morale
52c1d69c19 OP-1227 Fix high CPU usage: Change gyro oversampling to 46 (400Hz update rate) to lessen the cpu load and jitter due accel rate mismatch 2014-06-08 22:14:06 +02:00
Alessio Morale
843987484b OP-1227 Fix high CPU usage: Avoid several float division in Attitude module, change optimization for attitude estimation function 2014-06-08 21:48:35 +02:00
Alessio Morale
d51b7ce2d4 OP-1227 Fix high CPU usage: Changes to attitude module:
- changed Expected rate to 500 (it was erroneously defined as 666Hz)
- use the optimized api to fetch accel samples
2014-06-08 21:47:00 +02:00
Alessio Morale
11d0bbf5f8 OP-1365 Flight code instrumentation API: Use systemMod to publish counters 2014-06-07 17:43:36 +02:00
Corvus Corax
de7e0d0781 OP-1287 added handler definitions for new flightmodes 2014-06-04 10:29:45 +02:00
Corvus Corax
07667027ee OP-1287 added autocruise mode too to manualcontrol 2014-06-04 10:23:59 +02:00
Corvus Corax
ec5052bdba OP-1287 added new flightmodes to manualcontrol.c 2014-06-04 10:04:40 +02:00
Corvus Corax
f0c4b8f9c7 OP-1287 renamed VELOCITYCONTROL back to AltitudeVario for consistency 2014-06-03 18:42:54 +02:00
Corvus Corax
5bfb57e081 Merge branch 'next' into amorale/OP-1355_fix_mag_board_rotation_issue 2014-05-26 17:19:56 +02:00
Corvus Corax
c6e168c972 Merge branch 'next' into corvuscorax/OP-1352_Headwind-improvements 2014-05-26 17:17:43 +02:00
Corvus Corax
bf16738fd3 Merge branch 'next' into amorale/OP-1350_takeoff_location_handling 2014-05-26 17:16:47 +02:00
Corvus Corax
76f83fc131 OP-1352 some cosmetic cleanups, explicitly marked float constants as type float 2014-05-25 13:27:38 +02:00
Alessio Morale
3d67b7567e OP-1355 Fix Mag scaling being calculated after applying board rotation. 2014-05-25 11:28:43 +02:00
Andres
642f740be3 OP-1317 Bettered jump treatment in yaw calculation and some cosmetics 2014-05-24 10:04:39 +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
Andres
822b067d98 OP-1317 Corrected error in calculation of low pass filter cut-off frequencies 2014-05-23 07:37:57 +02:00
Andres
f273abf6c8 OP-1317 Merged with next 2014-05-22 17:01:38 +02:00
Andres
a83379425c OP-1317 Small optimizations of code, delete of debug variables in airspeed object and uncrustify 2014-05-22 10:00:50 +02:00
Andres
423645392b OP-1317 Changed filtering method of IMU airspeed calculation into a Butterworth second order filter 2014-05-21 19:32:02 +02:00
Andres
41dd85b741 OP-1317 Changed filtering method of IMU airspeed calculation into a Butterworth second order filter 2014-05-21 19:25:27 +02:00
Alessio Morale
92bf876654 OP-1350 refactor into a plans library all functions dealing with initialization and execution of PathFollower/pathplanner commands for manualcontrol 2014-05-19 18:35:18 +02:00
Alessio Morale
3ec8c18fad OP-1274 fixes for RevoProto 2014-05-18 22:56:54 +02:00
Alessio Morale
99540d5db5 OP-1274 fixes for OSD 2014-05-18 22:56:51 +02:00
Alessio Morale
36e304f579 OP-1274 fixes for revolution 2014-05-18 22:56:48 +02:00
Alessio Morale
e9fff2b6fa OP-1274 fixes for OPLink 2014-05-18 22:56:44 +02:00
Alessio Morale
be5cc66bd3 OP-1274 fixes for Coptercontrol firmware 2014-05-18 22:56:29 +02:00
Alessio Morale
d88d73e7fe OP-1350 Make RTB safer pick the lowest between PositionState.Down and TakeOffLocation.Down. 2014-05-18 14:41:45 +02:00
Corvus Corax
5153806289 OP-1352 cleaned up some code comments 2014-05-17 23:27:30 +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
Corvus Corax
2357ee1774 hotfix: allow arming in Stabilized 4,5,6 2014-05-16 23:39:36 +02:00
Alessio Morale
2048440053 OP-1350 fix a review defect(a set intead of TakeOffLocationStatusGetget). Check if status is valid beside locationSet 2014-05-16 23:32:11 +02:00
Alessio Morale
f3df459278 OP-1350 remove checks for valid TakeOffLocation. It is already handled in takeoffLocationHandler 2014-05-16 21:56:44 +02:00
Alessio Morale
ffa5e66d8b OP-1350 fix a bug that overwrite TakeOffLocation when changing mode to preset after an arming sequence. cleanup and get rid of "pending" status 2014-05-16 21:53:05 +02:00
Corvus Corax
9306cbc7c5 OP-1352 Headwind-improvements for FixedWingPathFollower 2014-05-16 20:20:40 +02:00
Alessio Morale
80bd04075f OP-1350 Rename ReturnToHomeAltitudeOffset to ReturnToBaseAltitudeOffset 2014-05-16 18:51:04 +02:00
Alessio Morale
edba1bc71d OP-1350 split Init function out of Handler, added missing UAVO initalize, cleanup code 2014-05-16 18:31:49 +02:00
Alessio Morale
8dcee11cb8 OP-1350 change destination for ReturnToBase to takeoffLocation 2014-05-16 12:38:18 +02:00
Alessio Morale
063ae8afe0 OP-1350 add a TakeOffLocation Handler to manualcontrol 2014-05-16 02:28:12 +02:00
Alessio Morale
e082fbc04e Merge remote-tracking branch 'origin/amorale/OP-1330_cannot_set_homelocation.set_false' into next 2014-05-15 20:30:32 +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
Corvus Corax
065a632123 Merge branch 'corvuscorax/OP-1325_Event-System-Error-Alarm' into next 2014-05-15 00:13:20 +02:00
Alessio Morale
47976312c2 OP-1330 reset Home Set delay timer if Set==true 2014-05-12 22:56:28 +02:00
Alessio Morale
953b7cc2a7 OP-1330 Fix a compilation issue with CC/CC3D 2014-05-11 12:37:20 +02:00
Alessio Morale
3c5a41049b Merge branch 'amorale/OP-1302_updated_led_behaviour' into next 2014-05-11 12:01:53 +02:00
Alessio Morale
45efaffcf1 OP-1330 fix namings/uncrustify 2014-05-11 11:38:08 +02:00
Alessio Morale
7155805b79 OP-1329 Move gps airspeed initialization checks under "sensor changed" test 2014-05-11 11:33:11 +02:00
Andres
530c0aa967 OP-1317 Added two file (actually renames) 2014-05-10 14:51:22 +02:00
Andres
02e62f91ed OP-1317 Apadted airspeed calculation from ground speed and orientattion changes: applied extended IMU wind estimation, filtering takes place now with Holt-Winters double exponential smoothing on orientation vector and speed vector, matrix calculation replaced by a direct calculation of the fuselage vector, renamed gps_airspeed into imu_airspeed because estimation relies on imu results and a n estimate of ground speed and not directly a GPS signal 2014-05-10 14:50:24 +02:00
Corvus Corax
47a891e594 OP-1325 fix event system warnings to be errors 2014-05-08 23:05:55 +02:00
Bertrand Oresve
743cf4e4b5 OP-1308 Merge with next (conflict with stabilization) 2014-05-08 22:33:45 +02:00
Alessio Morale
e5d6726bb6 Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour 2014-05-08 22:27:08 +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
Alessio Morale
3a451c9737 OP-1329 Trigger a SensorType change the first time Task runs to set AirspeedSensor UAVO when sensor is None 2014-05-08 19:58:42 +02:00
Alessio Morale
08dcdefc1f OP-1329 set SensorConnected to false when sensorType is changed to none. 2014-05-08 19:48:30 +02:00
Corvus Corax
1add404d80 OP-1161 reimplemented magnetometer plausibikity check using vector
length only
2014-05-07 23:47:14 +02:00
Alessio Morale
516f359645 OP-1329 fix a cherry-pick issue 2014-05-07 23:23:51 +02:00
Corvus Corax
2da1f2aa09 Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1161_magnetometer-alarm 2014-05-07 22:26:20 +02:00
Corvus Corax
153d2fb786 OP-1309 Fixed bug in Quaternion Stabilization Error Calculation in regards to independent axis 2014-05-07 22:12:01 +02:00
Alessio Morale
8462adb579 OP-1330 Delay SetHomeLocation call from GPS module to be able to save HomeLocation.Set=false 2014-05-07 20:43:34 +02:00
Alessio Morale
7645209809 OP-1329 Various fixes to airspeed:
- Prevent Airspeed module with Sensor=none from constantly running and updating AirspeedSensor
- Do not call gps_airspeedInitialize if not needed
2014-05-07 20:38:24 +02:00
Corvus Corax
5528d79a05 OP-1309 bugfix update - correct initial loading of StabBank 2014-05-07 18:23:56 +02:00
Corvus Corax
56b5747b4e uncrustify 2014-05-06 18:53:57 +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
14652440a2 OP-1161 skip magnetometer entirelly if complementary (no mag) mode, thus not triggering magnetometer alarms 2014-05-06 18:46:58 +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
e6875a7e13 Merge branch 'corvuscorax/OP-1259_Cruise_Control_Tweaks' into next 2014-05-06 16:32:27 +02:00
Bertrand Oresve
b2ebb1faf8 OP-1308 merging filterlaltitude with OP-1235 2014-05-05 21:33:57 +02:00
Corvus Corax
08a627db6f Merge remote-tracking branch 'origin/Bertrand/OP-1314_Fix_Airspeed_Stack_Size' into next 2014-05-04 12:34:07 +02:00
Corvus Corax
4d9de8f56b Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-04 12:18:47 +02:00
Corvus Corax
d3bf817434 OP-1309 fix typo in stabilizedhandler (manualcontrol) for stabi flightmode 4-6 2014-05-04 12:17:34 +02:00
Corvus Corax
2b00cb31a4 Merge branch 'next' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-04 12:12:51 +02:00
Corvus Corax
64d18c1a31 Merge branch 'corvuscorax/OP-1316_fix-gravity-constants' into next 2014-05-04 12:07:22 +02:00
Corvus Corax
aee6a3b85b Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-04 12:04:43 +02:00
Corvus Corax
fb41258e57 OP-1309 fixed missing assignment in manualcontrol FM switch 2014-05-04 12:03:56 +02:00
Corvus Corax
6b25c06a03 Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-04 11:39:34 +02:00
Corvus Corax
942b53a66b OP-1309 removed unnecessary NUMELEM run time check from sanitychecks and put it into manualcontrol.h as a compile time static assert 2014-05-04 11:38:10 +02:00
Corvus Corax
23654cf565 Merge branch 'next' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-04 11:21:52 +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
0d070a5857 Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-03 17:27:17 +02:00
Corvus Corax
69b5f41e58 OP-1309 correctly set StabilizationMode.Thrust in all other modules that set StabilizationDesired (Autotune,Pathfollowers) 2014-05-03 17:25:53 +02:00
Corvus Corax
e6a69c2f78 Merge branch 'corvuscorax/OP-1309_Stabilization-Refactoring' into corvuscorax/OP-1259_Cruise_Control_Tweaks 2014-05-03 15:59:03 +02:00
Corvus Corax
e95b25dca8 OP-1309 fixed missing thrust mode assignment in manualcontrol 2014-05-03 15:57:00 +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
2247fd69ec OP-1309 fixed bug in outerloop 2014-05-01 18:52:39 +02:00
Corvus Corax
944f3f5d2f OP-1309 provide faster GyroState updates for more prompt response and less stabilization lag 2014-05-01 17:46:13 +02:00
Corvus Corax
936a52112a OP-1309 changed behaviour of Rattitude again to mimick old one 2014-05-01 17:08:43 +02:00
Corvus Corax
7275d9a807 OP-1309 correctly limit the maximum attitude-loop-rate in rattitude mode 2014-05-01 16:37:22 +02:00
Corvus Corax
0ea1ccf5c3 OP-1316 fix gravity constants 2014-05-01 15:50:02 +02:00
Corvus Corax
09a5578f5a OP-1309 put altitude calls into #ifdef so it compiles on coptercontrol 2014-05-01 12:54:56 +02:00
Corvus Corax
6993570cc9 OP-1309 integrated AltitudeHold into new Stabilization 2014-05-01 11:48:38 +02:00
Andres
0973f1037f OP-1315 (re)added IS_REAL check for CalibratedAirspeed and for new calculated airspeed 2014-05-01 10:40:33 +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
Corvus Corax
3ada1da71a uncrustify 2014-04-30 22:20:07 +02:00
Andres
49870ce7dc OP-1315 uncrustify 2014-04-30 18:45:04 +02:00
Andres
0d6e8c8efb OP-1315 changed error alarm in gps_airspeedGet for |v|<1 into a warning to allow arming. cos(5deg) exchanged by a constant expression. pow (x,2.0f) exchanged by a inline function based on multiplication. Deleted arispeedalarm.h and airspeedalarm.c and exchanged AirspeedAlarm() by a direct call to AlarmsSet(). 2014-04-30 18:39:35 +02:00
Bertrand Oresve
70ba6850d0 OP-1308 Uncrustify operation 2014-04-30 08:49:50 +02:00
Cliff Geerdes
b7a2931f21 OP-1259 Change a constant from a testing value to release value 2014-04-29 20:46:57 -04: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
a9a2c6f769 OP-1309 Reimplemented alarm handling and stabilization watchdog - Stabilization refactoring nearly done. needs testing and AltitudeHold reimplementations 2014-04-29 01:06:51 +02:00
Corvus Corax
82d2c5a308 OP-1309 Implemented control of new stabilization framework (replaces old stabilization module) 2014-04-29 00:29:15 +02:00
Bertrand Oresve
333ccc7e42 OP-1314 Fix the Airspeed stack size 2014-04-27 22:42:54 +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
Alessio Morale
d42debba50 OP-1302 Remove the special case for Telemetry in Alarm.c and shut up the telemetry warning in telemetry.c when disconnected 2014-04-26 20:48:30 +02:00
Corvus Corax
77f2444fa4 OP-1309 renamed stabilization mode NONE to MANUAL 2014-04-26 20:33:25 +02:00
Corvus Corax
e9d1a2af4b OP-1309 get rid of this horrible bound() function code duplication throughout entire flight code and put it into libraries/math 2014-04-26 17:48:54 +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
f01cf66095 Merge remote-tracking branch 'origin/andrecillo/OP-1273_OP-1282_OP-1283_Diverse_Airspeedsensor_improvements' into next
Conflicts:
	ground/openpilotgcs/src/plugins/systemhealth/systemhealthgadgetwidget.cpp
2014-04-15 21:52:34 +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
cbbb9ea9f7 Merge remote-tracking branch 'origin/Bertrand/OP-1056_Fix_TIMEUTC_valid_flags' into next 2014-04-15 21:45:07 +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
Alessio Morale
20508314f2 OP-1302 use pios_notify api to alert user of ongoing CF gyro calibration 2014-04-13 17:56:20 +02:00
Alessio Morale
299f388245 OP-1302 Add a stub pios_notify API for user interaction/notifications
right now all notifications produces the same output, the DRAW_ATTENTION sequence
2014-04-13 17:42:57 +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
Alessio Morale
5d637fab87 OP-1302 move stuffs away from systemmod 2014-04-13 11:54:25 +02:00
Alessio Morale
82c81fef6e OP-1302 make leds more "readable"
Show alarm and arming/flightmode in sequence
Alarm:
Warning = rP
Error = rrP
Critical = R

Heartbeat/flightmode:
disarmed = B
armed/Stabilization1 = bbP
armed/Stabilization2 = bbbP
armed/Stabilization3 = bbbbP
armed/AH/AVario/Velocitycontrol = bvP
armed/PH/Pathplanner/POI = bbvP
armed/Land/RTB = bbvvP

note:
r/b/v = short red/blue/both blink
R/B/V = long red/blue/both blink
p/P = short/long pause
2014-04-12 22:00:02 +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
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
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