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

222 Commits

Author SHA1 Message Date
Corvus Corax
17f187468c Merge remote-tracking branch 'origin/next' into corvuscorax/OP-1516_acro+ 2014-10-03 12:34:35 +02:00
Alessio Morale
e553014596 Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next 2014-10-03 00:37:55 +02:00
Alessio Morale
9cfd55d006 Merge branch 'amorale/OP-1507_gps_module_cpu_optimization' into next 2014-10-03 00:37:39 +02:00
Corvus Corax
2586dafa8c OP-1511 added comment to filter code for better readability 2014-10-02 21:18:52 +02:00
Fredrik Larson
efde46cf7a Merge branch 'next' into fw_wiz 2014-09-30 15:41:19 +10:00
Alessio Morale
9e0596c2c5 Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
Conflicts:
	Makefile
	flight/targets/boards/discoveryf4bare/firmware/Makefile
	flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Alessio Morale
be747138e1 OP-1275 - Optimize fifo for single char operations 2014-09-25 20:26:35 +02:00
m_thread
19aa3ed5a3 Merge remote-tracking branch 'origin/next' into thread/OP-1222_FW_Wizard 2014-09-22 23:05:21 +02:00
Alessio Morale
cedb4f127d OP-1477 - typos and other fixes from review 2014-09-20 20:58:40 +02:00
m_thread
3b1e67d185 Merge remote-tracking branch 'origin/next' into thread/OP-1474_PID_Scaling_Banks
Conflicts:
	ground/openpilotgcs/src/plugins/config/stabilization.ui
2014-09-19 09:01:02 +02:00
Stefan Karlsson
31c5f1c519 OP-1474 Make it possible to select the combination of P, I, and D to scale 2014-09-19 01:16:49 +02:00
Alessio Morale
46ef59f186 OP-1379 - Rebuild and simplify the queuing mechanism 2014-09-17 01:24:01 +02:00
Alessio Morale
7e73c59e90 OP-1476 - Fixes for Bootloader
- Allocate 10KBytes for bootloader;
- Replace pios_com_msg with pios_com for ssp support
- Change Speed to 9600 for higher reliability
2014-09-16 22:40:53 +02:00
Alessio Morale
c44dac2447 OP-1476 - fix bootloader for serial support 2014-09-16 22:40:53 +02:00
Alessio Morale
14862c687d OP-1477 - Add ubx handling libraries 2014-09-16 22:40:52 +02:00
Laurent Lalanne
bc9e6b24f9 Merge remote-tracking branch 'origin/laurent/OP-1491_HQuad_mixing_values' into laurent/OP-1222_FW_Wizard
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg

Conflicts resolved in artwork, same style as FW branch
2014-09-16 18:55:43 +02:00
Alessio Morale
ffac550601 OP-1275 - Optimize fifo for single char operations 2014-09-16 00:42:51 +02:00
Alessio Morale
c49497f2e0 Merge branch 'amorale/OP-1434_GPSV9_fc_support' into next 2014-09-15 23:49:54 +02:00
Laurent Lalanne
48ce38370c OP-1491 HQuad_mixing_values First commit : add QuadH artwork, config tab 2014-09-15 22:25:07 +02:00
Alessio Morale
76b9b1c40f OP-1406 - Create a support library to share common calibration and sample publishing logic 2014-09-13 16:14:34 +02:00
Stefan Karlsson
662b29ac05 OP-1474 Include I in the scaling and let the TPS factor piggyback on the speedScaleFactor 2014-09-10 22:49:49 +02:00
Stefan Karlsson
344172e879 OP-1474 Add missing stdint.h include to mathmisc.h 2014-09-10 01:03:49 +02:00
Stefan Karlsson
0e2af9c654 OP-1474 Extract line and curve functions out to mathmisc.h, nan check and unit tests 2014-09-10 00:34:06 +02:00
Stefan Karlsson
c0152b7e19 OP-1474 Thrust PID scaling 2014-09-08 00:14:49 +02:00
Alessio Morale
233dec6d8d OP-1379 - Various fixes and additions
- Support blocks of led for notification (that is a certain number of leds between a min and a max index);
- Fix an issue with bogus colours on fast updates at LED N°0.
- Add NOTIFY_SEQUENCE_NULL to skip handling a specific alarm status;
- Adjust sequences and add Config and Receiver Alarms;
- fix issue with Alarm trigger/repetition;
- Enables Notify module only if a WS281x output is enabled.
- Add some documentation for sequence/alarm definitions (sequences.h)
- Make sequences more coherent. All GPS related info are now shown in green.
- Revert to original blinking rate for onboard led
- add Notify on DiscoveryF4Bare target
2014-09-06 12:11:53 +02:00
Corvus Corax
b64326208e Merge branch 'next' into corvuscorax/OP-1456_struct_to_array_improvement 2014-08-31 18:43:48 +02:00
Alessio Morale
10f5d7c531 Merge remote-tracking branch 'origin/skarlsso/OP-922_fix_fw_DEBUG_compile_errors' into next 2014-08-26 01:05:32 +02:00
Corvus Corax
6faf1a73ac OP-1456 get rid of cast_struct_to_array because it is error prone! 2014-08-24 00:16:34 +02:00
Alessio Morale
e511190ad3 OP-1406 - Improve handling of external magnetometer, add additional settings 2014-08-21 19:34:35 +02:00
Corvus Corax
779eb8d772 OP-1156 placed Werners positionhold speed offset back in place 2014-08-19 23:14:46 +02:00
Stefan Karlsson
4ba9208727 OP-922 Comment out the unused DEBUG variable in rscode 2014-08-16 16:58:16 +02:00
Stefan Karlsson
232d9c10b2 OP-922 Make it explict that matrix_mult_3x3f should be static inline 2014-08-16 16:58:16 +02:00
Corvus Corax
8daa5dfa12 Merge branch 'next' into corvuscorax/OP-1156_pathfollower-unification 2014-08-16 13:58:40 +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
Alessio Morale
f556a5e335 OP-1379 - Split simple notification and external lednotifications libraries 2014-08-13 15:14:55 +02:00
Alessio Morale
fd92fdfadf OP-1379 - initial version of external led sequencer implemented in notification lib.
Alert overlay not working yet.
2014-08-12 22:18:36 +02:00
Alessio Morale
1f74977472 OP-1379 add base types for colour, Initial ext rgb led api definition 2014-08-12 09:44:44 +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
Corvus Corax
c5fae5ee84 Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation 2014-08-09 10:43:48 +02:00
Werner Backes
f29f7fa680 Missing argument for path_endpoint added. 2014-07-31 16:31:16 +02:00
Werner Backes
446415457d Don't limit the path to strictly be between start and endpoint. 2014-07-31 10:56:25 +02:00
Werner Backes
70e34f44cf Revert to the original behaviour of calling "fly_endpoint" if we have a
zero-length path.
2014-07-31 10:52:06 +02:00
Werner Backes
9ab6299247 We don't want zero-length path_direction vector. 2014-07-31 10:18:39 +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
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
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
Andres
9589167914 OP-1317 added Butterworth filter code files flight/libraries/math/butterworth.* 2014-07-22 20:05:09 +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
52a909185b OP-1374 - Add sanitycheck API to detect frame type 2014-06-29 17:22:41 +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
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
b40a114a0a OP-1371 treat hitl as nav capable fusion algorithm if positionstate is set by sim 2014-06-18 21:29:55 +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
Corvus Corax
f89557c045 OP-1287 improved deadband implementation to be jump-free 2014-06-10 09:59:37 +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
e8a3706351 OP-1365 Flight code instrumentation API: Fix wrapper not publishing last counter 2014-06-07 17:33:37 +02:00
Corvus Corax
c3d20e72b9 OP-1287 made velocity calculation implicit in pathfollower based on distance only 2014-06-07 16:30:39 +02:00
Corvus Corax
8f9b5b2282 OP-1287 fix to lower speed limit in autocruise do not allow absolute zero speed to not loose direction 2014-06-07 16:16:55 +02:00
Corvus Corax
090db92e8a OP-1287 removed waypoint start position from positionvario logic in favor of static variable 2014-06-07 16:07:20 +02:00
Alessio Morale
08e4ec7fd3 OP-1365 Flight code instrumentation API: Fix wrapper documentation/headers 2014-06-07 15:45:27 +02:00
Corvus Corax
ae8c22280b OP-1287 fixed handling of pitch and throttle channels from manualcontrolcommand 2014-06-07 15:31:38 +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
070672e0f0 OP-1287 changed deadband behaviour to be more consistent 2014-06-04 23:22:04 +02:00
Corvus Corax
89472196d1 OP-1287 implemented new flightmodes in plan.c 2014-06-04 16:52:39 +02:00
Corvus Corax
de7e0d0781 OP-1287 added handler definitions for new flightmodes 2014-06-04 10:29:45 +02:00
Corvus Corax
2260f5dacc OP-1287 added autocruise mode, too 2014-06-04 10:23:37 +02:00
Corvus Corax
86441169de OP-1287 added new flightmodes to sanity checks 2014-06-04 10:02:19 +02:00
Corvus Corax
f0c4b8f9c7 OP-1287 renamed VELOCITYCONTROL back to AltitudeVario for consistency 2014-06-03 18:42:54 +02:00
Corvus Corax
aa6c5f9d15 OP-1363 cleanups to sanitychecks 2014-06-01 20:28:38 +02:00
Corvus Corax
63b08ec129 OP-1363 check for navigation enabled (outdoor) fusion algorithm if any flightmode is configured to use a path follower 2014-06-01 12:17:42 +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
Alessio Morale
3d67b7567e OP-1355 Fix Mag scaling being calculated after applying board rotation. 2014-05-25 11:28:43 +02:00
Andres
f273abf6c8 OP-1317 Merged with next 2014-05-22 17:01:38 +02:00
Alessio Morale
b2ecf23a07 OP-1350 simposix build fixes :( fix altitude calculation for RTB 2014-05-19 22:21:32 +02:00
Alessio Morale
3db6c3c86b OP-1350 fix build for revoproto and discoveryf4 2014-05-19 21:15:17 +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
Andres
c5372dd0b4 OP-1317 Added better comments on the function of the partial calculation of the rotation matrix. And added a remark on the debuging variable in the airspeed object definition 2014-05-13 17:30:50 +02:00
Alessio Morale
3c5a41049b Merge branch 'amorale/OP-1302_updated_led_behaviour' into next 2014-05-11 12:01:53 +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
Bertrand Oresve
743cf4e4b5 OP-1308 Merge with next (conflict with stabilization) 2014-05-08 22:33:45 +02:00
Alessio Morale
94beebc3d0 OP-1302 Fixes for current next. Show flightmode everytime it changes when disarmed 2014-05-08 22:27:55 +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
Corvus Corax
3a2b5d6332 OP-1332 fix problem in alarm handling where alarms are unable to reset on their own 2014-05-07 23:50:39 +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
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
80468fda0b OP-1309 Updated sanitycheck to reflect new modes for flight side config validation 2014-05-04 11:19:58 +02:00
Corvus Corax
0ea1ccf5c3 OP-1316 fix gravity constants 2014-05-01 15:50:02 +02:00
Bertrand Oresve
6d3ade4947 OP-1308 Set the same logic for alarms 2014-04-29 22:25:49 +02:00
Corvus Corax
66f2f8e840 OP-1309 more performant implementation of boundf() 2014-04-29 19:55:34 +02:00
Corvus Corax
2f572995ac OP-1309 turned boundf() static inline as requested 2014-04-29 18:36:53 +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